xylib

xylib is a portable library for reading files that contain x-y data from powder diffraction, spectroscopy and other experimental methods.

It comes with two programs that can convert supported formats to plain text: command-line xyconv and graphical xyconvert.

Supported formats:

Examples of supported files are collected in sample-urls.

LIBRARY

The library is written in C++ and has C bindings. It can be used directly through FFI in several other languages, for example in Python.

API is documented in the xylib/xylib.h file. Adding new formats -- in README.dev.

Licence: LGPL

xylib is used by:

xyconv

Converts a file from one of the supported formats to plain text:

xyconv myfile.bin plain.txt

It has a few options, see xyconv -h for details.

xyConvert

web/xyconvert-linux.png

The GUI is designed for quick converting of many files at once.

DOWNLOAD

Binary packages:

Source:

To compile the source code you need:

Two build systems are provided: either use CMake or, on Unix, ./configure && make. To skip building the GUI use option -D GUI=OFF for CMake or --without-gui for configure. If you are using git, autoreconf -i is needed before ./configure.

AUTHORS

CONTACT

Feel free to send e-mail to the authors, or to the fityk-dev mailing list.

CREDITS

HISTORY