Skip to content

Resolve "Convert ID16b fluoXAS spec to HDF5"

Wout De Nolf requested to merge 16-convert-id16b-fluoxas-spec-to-hdf5 into main

Closes #16 (closed)

A normal SPEC scan with XRF data has this information to locate the XRF data (saved in EDF files):

#S 1411  zapimage  sampy 13 33 20 50 sampz 23 43 20 0
...
#C DIRECTORY        : /data/id16b/inhouse2/Madeleine/20221026/sample_13_fluoXAS/area_fluoXAS_0355
#C RADIX            : area_fluoXAS_0355
#C ZAP SCAN NUMBER  : 357
#C ZAP IMAGE NUMBER : 0

A fluoXAS SPEC scan with XRF data has this information to locate the XRF data (saved in EDF files):

#S 1414  fXAS_scan 13.4 13.8
...
#C DIRECTORY        : /data/id16b/inhouse2/Madeleine/20221026/sample_13_fluoXAS/area_fluoXAS_0355

This single fluoXAS scan (single SPEC scan) actually has 165 zapimage scans with XRF data saved in subdirectories area_fluoXAS_0190 to area_fluoXAS_0354 (on for each map).

In this MR we support fluoXAS scans. Since SPEC already has scans and subscans, I introduced the subsubscan. Since each zapimage gets a single NXentry in HDF5, the name if {scan}.{subsubscan} and the SPEC subscan is ignored (always 1 for fluoXAS).

Edited by Wout De Nolf

Merge request reports

Loading