xylib

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

Supported formats:

For API description, see xylib/xylib.h file.

Licence: LGPL

INSTALLATION

You can download source tarball or use Subversion repository.

To build xylib you need:

Linux, FreeBSD, etc: the library can be compiled in a standard ./configure && make way. If you downloaded the source from svn, you need to run autoreconf -i before.

MISC NOTES

Filetype samples are not distributed with the library, but there is a script samples/get_samples.sh that tries to download them.

The library includes a tiny program xyconv, which converts files supported by xylib to TSV.

xylib is used by:

HOW TO ADD A NEW FORMAT

We will be glad to include support for (almost) any format. You may contact us before you start working.

Each .cpp/.h file pair in xylib/ (excluding xylib.* and util.*) corresponds to one supported filetype.

Each of these .cpp files contains basic info about the format in constructor of struct FormatInfo. Each header files includes a note what the implementation is based on (i.e. what documentation was available to developers). In some cases the format is described in .cpp file.

To add a new filetype:

AUTHORS

CONTACT

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

CREDITS

HISTORY