ewoksid13.scripts.resources.models#

Pydantic models validating the ID13 YAML templates.

Functions

suggest_pyfai_option(name[, cutoff])

Return the closest allowed pyFAI option to name, or None.

Classes

AverageOptions(**data)

Options of the average block (azimuthal average + reference peaks).

BackgroundModel(**data)

Full validated content of a standalone background-removal YAML template.

BackgroundOptions(**data)

Options of the background block (automatic background removal).

BackgroundScriptOptions(**data)

Options of the background block of the standalone background script.

CNMFOptions(**data)

Options of the cnmf block (constrained NMF phase decomposition).

CnmfModel(**data)

Full validated content of a standalone CNMF YAML template.

CnmfScriptOptions(**data)

Options of the cnmf block of the standalone CNMF script.

DiffMapOptions(**data)

Options of the diffmap block (DiffractionMap/kmap reconstruction).

EDFOptions(**data)

Options of the edf block (EDF stack export for XRDUA).

InferenceModel(**data)

Full validated content of a standalone phase-inference YAML template.

InferenceOptions(**data)

Options of the inference block (neural-network phase inference).

InferenceScriptOptions(**data)

Options of the inference block of the standalone inference script.

IntegrateOptions(**data)

Options of the integrate block.

PyFAIConfiguration(**data)

A single pyFAI configuration entry of an ID13 template.

PyFAIIntegrationModel(**data)

Full validated content of a pyFAI integration YAML template.

RecalibModel(**data)

Full validated content of a pyFAI recalibration YAML template.

ReprocessModel(**data)

Full validated content of a reprocess YAML template.

SlurmJobParameters(**data)

SLURM job parameters forwarded to the ewoksjob SLURM backend.

SubmitParameters(**data)

Job submission parameters of an ID13 template.