pynxxas.io.xas_beamlines#
Classes for handling XAFS data in plaintext column files for various beamlines.
- Basically, a class for XAFS Beamline data. This defines
how to name the arrays for columns in the data file
which column is most likely to hold the energy (or energy-definig) array
what the energy units are most likely to be.
Specific beamline data should define a class that derives from GenericBeamlineData and has the following attributes/methods:
energy_column : int index for default energy column
energy_units : str (‘eV’, ‘keV’, ‘deg’) for default expected energy units
- beamline_matches(): method to decide whether data may be from the beamline
should give more false positives than false negatives.
get_array_labels(): method to guess array labels.
The XXX__BeamlineData class will be given only the headerlines (a list of lines) from the text file.
By default, that header will defined all the text before the data table.
Functions
|
guess beamline data class used to parse headers from header lines |
Classes
|
APS sector 12BM data |
|
GSECARS EpicsScan data, APS 13ID, some NSLS-II XFM 4BM data |
|
APS sector 10ID or 10BM data |
|
APS sector 20ID, 20BM, 9BM |
|
CLS HXMA beamline data |
|
Generic beamline data file - use as last resort |
|
KEK-PF (Photon Factory Data), as from BL12C |
|
NSLS (I) XDAC collected data |
|
SSRL EXAFS Data Collect beamline data |