Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wojdyr/xylib
library for reading files with x-y data from powder diffraction, spectroscopy, or other experimental methods
https://github.com/wojdyr/xylib
powder-diffraction spectroscopy
Last synced: 22 days ago
JSON representation
library for reading files with x-y data from powder diffraction, spectroscopy, or other experimental methods
- Host: GitHub
- URL: https://github.com/wojdyr/xylib
- Owner: wojdyr
- License: lgpl-2.1
- Created: 2013-04-22T20:14:49.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-12-20T16:17:46.000Z (about 2 years ago)
- Last Synced: 2024-12-09T16:04:11.041Z (about 1 month ago)
- Topics: powder-diffraction, spectroscopy
- Language: C++
- Homepage:
- Size: 2.45 MB
- Stars: 60
- Watchers: 14
- Forks: 19
- Open Issues: 9
-
Metadata Files:
- Readme: README.dev
- License: COPYING
Awesome Lists containing this project
README
HOW TO ADD A NEW FORMAT
=======================Each .cpp/.h file pair in xylib/ (excluding xylib.*, cache.* and util.*)
corresponds to one supported filetype.To add new filetype foo:
- go to xylib/ subdirectory
- write foo.cpp and foo.h files (or copy and modify existing files)
- in foo.h write what your implementation is based on,
i.e., what documentation is available to you.
- #include foo.h in xylib.cpp
- add an entry to formats[] array in xylib.cpp (but not after TextDataSet)
- add foo.cpp and foo.h files to xylib/Makefile.am
- add xylib/foo.cpp to CMakeLists.txtDo not worry too much about metadata, especially if the file is human-readable.
Currently programs that use xylib mostly ignore metadata.You may contact us before you start, to avoid duplication of work.
METADATA CONVENTIONS
====================Naming conventions are introduced and documented here when programs using
this library start relying on it."source energy" (block) - energy of photons used in XPS