pynxxas.io.xas_beamlines.GenericBeamlineData#
- class pynxxas.io.xas_beamlines.GenericBeamlineData(headerlines=None)[source]#
Bases:
objectGeneric beamline data file - use as last resort
This parses the last header line for labels: First, it remove any leading ‘#’, ‘#C’, ‘#L’, and ‘C’ as if collected by Spec or many other collection systems.
Next, it removes bad characters ‘,#@%&’ and quotes. Then, it splits on whitespace and fixes names to make sure they are valid variable names
- energy_column = 1#
- energy_units = 'eV'#
- mono_dspace = -1#
- name = 'generic'#