Custom Diffraction tasks#

How to use

These tasks come from ewoksid11 ewoksid22 ewoksid31. It can be installed with

pip install ewoksid11 ewoksid22 ewoksid31

ℹ️ These tasks are used at the following ESRF beamlines: ID11, ID22, ID31

FlatFieldFromEnergy#

Interpolate an energy-stack of flat-field images.

The resulting flat-field image can be used as follows
to correct diffraction patterns for flat field:

.. code::

    Icor = I / flatfield
Identifier:

ewoksid31.tasks.flatfield.FlatFieldFromEnergy

Task type:

class

Required inputs:

newflat, energy, oldflat

Optional inputs:

Outputs:

flatfield

ID22H5ToSpec#

Identifier:

ewoksid22.convert.ID22H5ToSpec

Task type:

class

Required inputs:

filename

Optional inputs:

retry_timeout, entries, outprefix, rebin_filename, primary_outdir, ascii_extension, outdirs

Outputs:

entries, outfile

ID22TopasExtract#

Identifier:

ewoksid22.extract.ID22TopasExtract

Task type:

class

Required inputs:

filename, inp_file

Optional inputs:

entries, inp_step, tth_min, outprefix, startp, tth_max, full_tth, primary_outdir, outdirs

Outputs:

ID22Sum#

Identifier:

ewoksid22.sum.ID22Sum

Task type:

class

Required inputs:

filename, binsize

Optional inputs:

sum_single, entries, lowtth, raw_filename, outprefix, ascii_extension, scaling, advanced, sum_all, resfile, primary_outdir, outdirs

Outputs:

outfile

WaitScansFinished#

Identifier:

ewoksid22.wait.WaitScansFinished

Task type:

class

Required inputs:

filename

Optional inputs:

retry_timeout, entries

Outputs:

filename, entries