ewoksxrpd.tasks.utils.pyfai_utils#

Functions

add_axes_to_nxdata(nxdata, intensity_dim, ...)

compile_integration_info(parameters, **extra)

Compile information on a pyFAI integration process.

create_integration_results_nxdata(nxprocess, ...)

create_nxprocess(parent, link_parent, ...)

Create NXprocess group in the external parent with link in the parent when these are different groups.

extract_darkcurrent(integration_options)

Integration options related to the dark-current:

extract_flatfield(integration_options)

Integration options related to the flatfield:

extract_mask(integration_options)

Integration options related to the mask:

integration_info_as_nxdict(integration_info)

Convert to a Nexus dictionary.

integration_info_as_text(integration_info, ...)

Convert to a flat list of strings with the format {key} = {value}.

normalize_parameters(parameters[, ...])

parse_pyfai_units(pyfai_unit)

Parse PyFAI result units into a tuple containing the radial axis info and the azimuthal axis info.

parse_string_units(unit)

read_config(filename[, replace_patterns])

Classes

AxisInfo(name, units)

PyFaiEncoder(*[, skipkeys, ensure_ascii, ...])