est.io.concatenated.read_concatenated_xas#

est.io.concatenated.read_concatenated_xas(information: InputInformation, timeout: float = 1.0) Tuple[ndarray, Quantity, Dict[str, Any]][source]#

Method to read spectra acquired with the energy ramping up and down, with any number of repetitions.

When the scan is uni-directional, the ramp is always up. When the scan is bi-directional the ramp is alternating up and down.

The spectra are then interpolated to produce a 3D data aray (nb_energy_pts, nb_of_ramps, 1).

Limitations: the original spectra and energy datasets must be 1D.