ewoksxrpd.tasks.utils.pyfai_utils.extract_flatfield#
- ewoksxrpd.tasks.utils.pyfai_utils.extract_flatfield(integration_options)[source]#
Integration options related to the flatfield:
flat_field: URL(s) (list of strings or comma separate string) or None
do_flat: use flat_field or not
flatfield: URL(s) (list of strings or comma separate string), array or None (overwrites flat_field and do_flat when not None)
When a numpy array is returned, the flat field is removed from the integration options.
- Parameters:
integration_options (
dict
)- Return type:
Optional
[ndarray
]