ewoksxrpd.tasks.utils.pyfai_utils.extract_darkcurrent#

ewoksxrpd.tasks.utils.pyfai_utils.extract_darkcurrent(integration_options)[source]#

Integration options related to the dark-current:

  • dark_current: URL(s) (list of strings or comma separate string) or None

  • do_dark: use flat_field or not

  • darkcurrent: URL(s) (list of strings or comma separate string), array or None (overwrites dark_current and do_dark when not None)

When a numpy array is returned, the dark current is removed from the integration options.

Parameters:

integration_options (dict)

Return type:

Optional[ndarray]