Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    xylib 1.1

    Download button

    No screenshots available
    Downloads: 535  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.2/5)
    13 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Peng ZHANG and Marcin Wojdyr | More programs
    LGPL / FREE
    November 6th, 2012, 18:10 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    xylib description

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

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

    Supported formats:

    · plain text (CSV or TSV or space-separated-values)
    · Crystallographic Information File for Powder Diffraction (pdCIF)
    · Siemens/Bruker UXD
    · Siemens/Bruker RAW v1/2/3
    · Philips UDF
    · Philips RD (raw scan) V3
    · Rigaku DAT
    · Sietronics Sieray CPI
    · DBWS/DMPLOT data file
    · Canberra MCA (only one of Canberra MCA formats?)
    · XFIT/Koalariet XDD
    · RIET7/LHPM/CSRIET/ILL_D1A5/PSI_DMC DAT
    · Vamas ISO14976 (only experiment modes: SEM or MAPSV or MAPSVDP are supported; only REGULAR scan_mode is supported)
    · Princeton Instruments WinSpec SPE (only 1-D data is supported)

    Installation

    To build xylib you need:

    · any modern C++ compiler
    · Boost libraries (only at compile time).

    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.

    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:

    · go to xylib/ subdirectory
    · write new_format.cpp and .h files
    · #include new_format.h in xylib.cpp
    · add an entry to formats[] array in xylib.cpp
    · add new_format.cpp and .h files to Makefile.am

    Product's homepage

    What's New in This Release: [ read full changelog ]

    · Added XPS format from Ron Unwin's Spectra program (Matthias Richter)
    · Fixed bug in reading energy calibration from Canberra formats

      


    TAGS:

    C++ library | powder diffraction | Rigaku DAT | C++ | library | spectroscopy

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM