Ewoks Tasks#
ReadXasHdf5#
Read one XAS scan with XDI structured metadata.
- Identifier:
ewoksbm08.tasks.read_xas.ReadXasHdf5- Task type:
- class
- Inputs:
- filename* :
str Bliss HDF5 file name.
- entry_name* :
str NeXus entry name.
Examples:- '1.1'
- '5.2'
- mono_counter* :
str Counter of the energy or theta value of the monochromator.
- crystal_motor* :
str Motor that selects the monochromator crystal.
- optional_counters :
list[str | None]= None Counters other than the energy to be added to the XDI data.
- optional_mca_counters :
list[str | None]= None MCA counters (ROI’s) other than the energy to be added to the XDI data.
- livetime_normalization :
float | None= None Live-time normalization in seconds for ‘optional_mca_counters’ (None: no normalization, <=0 the median of the elapsed time).
- skip_mca :
dict[str, list[int | None]]= None Skip detectors from MCA controllers.
Examples:- {'d08xmap': [1, 3]}
- retry_timeout :
float | None= 0.0 Timeout when trying to read data from HDF5.
- mono_edge_theoretical :
float | None= None The theoretical edge position in ‘mono_counter’ units.
- mono_edge_experimental :
float | None= None The experimental edge position in ‘mono_counter’ units.
- filename* :
- Outputs:
- xdi_data
SaveXasXdi#
Save one XAS scan as an XDI file.
- Identifier:
ewoksbm08.tasks.save_xas.SaveXasXdi- Task type:
- class
- Inputs:
- filename* :
str XDI file name.
- xdi_data* :
ewoksbm08.io.types.XdiData XDI data to be saved.
- filename* :
- Outputs:
- output_filename