Miscellaneous tasks#
How to use
These tasks come from ewoksdrac ewoksid13 ewoksmx ewoksxes. It can be installed with
pip install ewoksdrac ewoksid13 ewoksmx ewoksxes
IntegrationDecisionResult#
Expose only the completed decision as workflow outputs.
- Identifier:
ewoksmx.tasks.characterisation.compare_integration_results.IntegrationDecisionResult- Task type:
- class
- Inputs:
- elapsed_time*
- integration_result*
- is_success*
- reason*
- result*
- Outputs:
- integration_result
- is_success
- reason
- result
BestMetricDecision#
- Identifier:
ewoksmx.tasks.examples.decision.BestMetricDecision- Task type:
- class
- Inputs:
- start_timer :
bool | ewokscore.missing_data.MissingData= <MISSING_DATA> - self_trigger :
bool | ewokscore.missing_data.MissingData= <MISSING_DATA> - threshold* :
float - timeout* :
float - metric_a :
float | ewokscore.missing_data.MissingData= <MISSING_DATA> - metric_b :
float | ewokscore.missing_data.MissingData= <MISSING_DATA>
- start_timer :
- Outputs:
- self_trigger :
bool | ewokscore.missing_data.MissingData - accepted :
bool | ewokscore.missing_data.MissingData - selected_metric :
str | ewokscore.missing_data.MissingData - reason :
str | ewokscore.missing_data.MissingData
- self_trigger :
Start#
- Identifier:
ewoksmx.tasks.examples.decision_support.Start- Task type:
- class
- Outputs:
- start
DelayedMetric#
- Identifier:
ewoksmx.tasks.examples.decision_support.DelayedMetric- Task type:
- class
- Inputs:
- score*
- delay
- Outputs:
- score
ProcessDecision#
- Identifier:
ewoksmx.tasks.examples.decision_support.ProcessDecision- Task type:
- class
- Inputs:
- accepted*
- reason*
- selected_metric*
- Outputs:
- accepted
- reason
- selected_metric
CataloguedDatasetTask#
Interface for a task that is within a metadata catalog. This class does not enforce a specific implementation of the catalog
- Identifier:
ewoksmx.tasks.mx_ccp4.catalogued_dataset_task.CataloguedDatasetTask- Task type:
- class
- Inputs:
- raw_data_path* :
list Filename of ID31 P3 detector flatfield
Examples:'/data/visitor/ihls3721/...ssF/run_01_01_automesh'
- datasets_path* :
list Filename of ID31 P3 detector ‘old’ flatfield
Examples:'/data/visitor/ihls3721/...ssF/run_01_01_automesh'
- datasets* :
list X-ray energy in KeV or URL of hdf5 dataset storing its value
Examples:("{'id': 2186942730, 'name... 1, 'currentPage': " '1}}}')
- raw_data_path* :
DracDatasetTask#
It is a task conceived to be run on a single RAW dataset. It manages the output destination and the initialization
- Identifier:
ewoksmx.tasks.mx_ccp4.drac_dataset_task.DracDatasetTask- Task type:
- class
- Inputs:
- raw_data_path* :
list Filename of ID31 P3 detector flatfield
Examples:'/data/visitor/ihls3721/...ssF/run_01_01_automesh'
- datasets_path* :
list Filename of ID31 P3 detector ‘old’ flatfield
Examples:'/data/visitor/ihls3721/...ssF/run_01_01_automesh'
- datasets* :
list X-ray energy in KeV or URL of hdf5 dataset storing its value
Examples:("{'id': 2186942730, 'name... 1, 'currentPage': " '1}}}')
- sessionId* :
str A unique identifier for the ICAT session. It is used as a token to identify the user
Examples:'xfthscs-234234sdfsd-fsfsd21'- callback* :
str A web endpoint to be called upon task completion or status updates. Usually a call to icat+
Examples:'https://icatplus.esrf.fr/callback'
- raw_data_path* :
MXCCP4CloudUploader#
- Identifier:
ewoksmx.tasks.mx_ccp4.mx_ccp4_cloud_uploader.MXCCP4CloudUploader- Task type:
- class
- Inputs:
- raw_data_path* :
list Filename of ID31 P3 detector flatfield
Examples:'/data/visitor/ihls3721/...ssF/run_01_01_automesh'
- datasets_path* :
list Filename of ID31 P3 detector ‘old’ flatfield
Examples:'/data/visitor/ihls3721/...ssF/run_01_01_automesh'
- datasets* :
list X-ray energy in KeV or URL of hdf5 dataset storing its value
Examples:("{'id': 2186942730, 'name... 1, 'currentPage': " '1}}}')
- sessionId* :
str A unique identifier for the ICAT session. It is used as a token to identify the user
Examples:'xfthscs-234234sdfsd-fsfsd21'- callback* :
str A web endpoint to be called upon task completion or status updates. Usually a call to icat+
Examples:'https://icatplus.esrf.fr/callback'- user :
str= CCP4 cloud username
Examples:'alex.demaria'- cloudrun_id* :
str CCP4 cloud API token
Examples:'iov5-voef-ysfd-dxuq'
- raw_data_path* :
AutoPROC_pipeline#
Prepare the AutoPROC pipeline.
https://www.globalphasing.com/autoproc/
- Identifier:
ewoksmx.tasks.mx_pipelines.autoproc_pipeline.AutoPROC_pipeline- Task type:
- class
- Inputs:
- autoPROC*
- metadata*
- Outputs:
- pipeline_name
- slurm_params
EDNA_proc_pipeline#
Prepare the EDNA_proc pipeline.
https://www.esrf.fr/UsersAndScience/Experiments/MX/How_to_use_our_beamlines/Run_Your_Experiment/edna-autoprocessing
- Identifier:
ewoksmx.tasks.mx_pipelines.edna_proc_pipeline.EDNA_proc_pipeline- Task type:
- class
- Inputs:
- EDNA_proc*
- metadata*
- Outputs:
- pipeline_name
- slurm_params
Grenades_fastproc_pipeline#
Prepare the Grenades pipeline.
https://www.esrf.fr/home/UsersAndScience/Experiments/MX/How_to_use_our_beamlines/Run_Your_Experiment/grenades.html
- Identifier:
ewoksmx.tasks.mx_pipelines.grenades_fastproc_pipeline.Grenades_fastproc_pipeline- Task type:
- class
- Inputs:
- grenades_fastproc*
- metadata*
- Outputs:
- pipeline_name
- slurm_params
Grenades_parallelproc_pipeline#
- Identifier:
ewoksmx.tasks.mx_pipelines.grenades_parallelproc_pipeline.Grenades_parallelproc_pipeline- Task type:
- class
- Inputs:
- grenades_parallelproc*
- metadata*
- Outputs:
- slurm_params
MXPipelineInput#
- Identifier:
ewoksmx.tasks.mx_pipelines.mx_pipeline_input.MXPipelineInput- Task type:
- class
- Inputs:
- raw_data_path*
- anomalous
- beamline
- callback
- end_image
- exclude_range
- forced_cell
- forced_spacegroup
- high_res_limit
- icat_metadata
- low_res_limit
- mx_pipeline_name
- proposal
- start_image
- Outputs:
- EDNA_proc
- XIA2_DIALS
- autoPROC
- grenades_fastproc
- grenades_parallelproc
- metadata
MXPipelineSynchronize#
- Identifier:
ewoksmx.tasks.mx_pipelines.mx_pipeline_synchronize.MXPipelineSynchronize- Task type:
- class
- Inputs:
- slurm_params*
- Outputs:
- slurm_params
RunAutoPROC#
Run the autoPROC pipeline.
- Identifier:
ewoksmx.tasks.mx_pipelines.run_autoproc.RunAutoPROC- Task type:
- class
- Inputs:
- master_h5_paths* :
list[esrf_pathlib.core.ESRFPath] List of paths to master H5 files
Examples:['/data/visitor/blc15921/id23eh1/20250121/RAW_DATA/LYS_2/LYS_2-Protk2_master.h5', '/data/visitor/blc15921/id23eh1/20250121/RAW_DATA/LYS_2/LYS_2-Protk3_master.h5']
- execution_context* :
ewoksmx.models.execution_context_model.ExecutionContextModel - data_collection :
ewoksmx.models.data_collection_model.DataCollectionModel | None= None - processing_plan :
ewoksmx.models.processing_plan_model.ProcessingPlanModel | None= None
- master_h5_paths* :
- Outputs:
- data_portal_upload_autoproc :
ewoksmx.models.data_portal_upload_model.DataPortalUploadModel - data_portal_upload_autoproc_staraniso :
ewoksmx.models.data_portal_upload_model.DataPortalUploadModel
- data_portal_upload_autoproc :
SlurmSubmit#
Submit job to Slurm.
- Identifier:
ewoksmx.tasks.mx_pipelines.slurm_submit.SlurmSubmit- Task type:
- class
- Inputs:
- pipeline_name*
- slurm_params*
- Outputs:
- slurm_params
WaitForFinished#
- Identifier:
ewoksmx.tasks.mx_pipelines.wait_for_finished.WaitForFinished- Task type:
- class
- Inputs:
- slurm_params*
- Outputs:
- slurm_params
WaitForStarted#
- Identifier:
ewoksmx.tasks.mx_pipelines.wait_for_started.WaitForStarted- Task type:
- class
- Inputs:
- slurm_params*
- Outputs:
- slurm_params
XIA2_DIALS_pipeline#
Prepare the XIA2 DIALS pipeline.
https://xia2.github.io/installation.html
- Identifier:
ewoksmx.tasks.mx_pipelines.xia2_dials_pipeline.XIA2_DIALS_pipeline- Task type:
- class
- Inputs:
- XIA2_DIALS*
- metadata*
- Outputs:
- pipeline_name
- slurm_params
Additional models#
WedgeSpec#
- Fields:
- wedges* :
list[ewoksmx.models.characterisation_models.Wedge]
- wedges* :
Wedge#
- Fields:
- frames* :
list[ewoksmx.models.characterisation_models.Hdf5FrameReference] - omega_start_deg* :
float - omega_range_deg* :
float
- frames* :
Hdf5FrameReference#
- Fields:
- file_path* :
esrf_pathlib.core.ESRFPath - dataset_path* :
str - frame_index* :
int
- file_path* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
XDSIntegrationResultModel#
- Fields:
- is_success* :
bool - xds_ascii_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - correct_lp :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - bkgpix_cbf :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - gxparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the GXPARM.XDS file refined by CORRECT
- xparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the XPARM.XDS file used by INTEGRATE
- integrate_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the INTEGRATE.HKL file written by INTEGRATE
- integration_quality_score :
float | None= None
- is_success* :
BestResultModel#
- Fields:
- is_success* :
bool True if BEST proposed a data collection strategy
- collection_plans :
list[ewoksmx.models.best_model.BestCollectionPlanModel] Collection plans of the proposed strategy, all to be collected
- best_xml :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the BEST XML output file
Examples:'/data/visitor/mx1234/id30a1/20261009/PROCESSED_DATA/best.xml'
- best_log :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the BEST log file
Examples:'/data/visitor/mx1234/id30a1/20261009/PROCESSED_DATA/best.log'
- plot_mtv :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the BEST plotmtv file
Examples:'/data/visitor/mx1234/id30a1/20261009/PROCESSED_DATA/plot.mtv'
- error_message :
str | None= None Error message if BEST failed
Examples:'BEST not run: integration was not successful'
- is_success* :
BestCollectionPlanModel#
- Fields:
- index* :
int Index of the plan in the BEST XML output, starting at 1
Examples:1- summary* :
ewoksmx.models.best_model.BestStrategySummaryModel Summary of the plan
- collection_runs* :
list[ewoksmx.models.best_model.BestCollectionRunModel] Data collection wedges of the plan
- index* :
BestStrategySummaryModel#
- Fields:
- resolution* :
float Predicted high resolution limit of the strategy in Angstroms
Examples:3.5- resolution_reasoning :
str | None= None Explanation by BEST of what limits the resolution
Examples:('Resolution limit is set by the initial image ' 'resolution')
- detector_distance* :
float Crystal to detector distance in mm
Examples:391.92- i_over_sigma* :
float Predicted I/sigma in the highest resolution shell
Examples:2.9- completeness* :
float Predicted completeness in %
Examples:100.0- redundancy* :
float Predicted redundancy (multiplicity)
Examples:5.36- transmission :
float | None= None Beam transmission in %
Examples:4.9007- total_exposure_time* :
float Total exposure time of all collection runs in seconds
Examples:0.35- total_data_collection_time* :
float Total data collection time of all collection runs in seconds
Examples:2.87
- resolution* :
BestCollectionRunModel#
- Fields:
- phi_start* :
float Rotation start angle in degrees
Examples:18.0- number_of_images* :
int Number of images to collect
Examples:630- phi_width* :
float Rotation angle per image in degrees
Examples:0.2- exposure_time* :
float Exposure time per image in seconds
Examples:0.001- overlaps :
bool | None= None True if BEST reports overlapping reflections for this run
Examples:False
- phi_start* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
XDSIntegrationResultModel#
- Fields:
- is_success* :
bool - xds_ascii_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - correct_lp :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - bkgpix_cbf :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - gxparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the GXPARM.XDS file refined by CORRECT
- xparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the XPARM.XDS file used by INTEGRATE
- integrate_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the INTEGRATE.HKL file written by INTEGRATE
- integration_quality_score :
float | None= None
- is_success* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
WedgeSpec#
- Fields:
- wedges* :
list[ewoksmx.models.characterisation_models.Wedge]
- wedges* :
Wedge#
- Fields:
- frames* :
list[ewoksmx.models.characterisation_models.Hdf5FrameReference] - omega_start_deg* :
float - omega_range_deg* :
float
- frames* :
Hdf5FrameReference#
- Fields:
- file_path* :
esrf_pathlib.core.ESRFPath - dataset_path* :
str - frame_index* :
int
- file_path* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
WedgeSpec#
- Fields:
- wedges* :
list[ewoksmx.models.characterisation_models.Wedge]
- wedges* :
Wedge#
- Fields:
- frames* :
list[ewoksmx.models.characterisation_models.Hdf5FrameReference] - omega_start_deg* :
float - omega_range_deg* :
float
- frames* :
Hdf5FrameReference#
- Fields:
- file_path* :
esrf_pathlib.core.ESRFPath - dataset_path* :
str - frame_index* :
int
- file_path* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
WedgeSpec#
- Fields:
- wedges* :
list[ewoksmx.models.characterisation_models.Wedge]
- wedges* :
Wedge#
- Fields:
- frames* :
list[ewoksmx.models.characterisation_models.Hdf5FrameReference] - omega_start_deg* :
float - omega_range_deg* :
float
- frames* :
Hdf5FrameReference#
- Fields:
- file_path* :
esrf_pathlib.core.ESRFPath - dataset_path* :
str - frame_index* :
int
- file_path* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
FbestResultModel#
- Fields:
- is_success* :
bool - exposure_time_per_image :
float | None= None Exposure time per image in s
- transmission :
float | None= None Transmission in %
- number_of_images :
int | None= None - rotation_width :
float | None= None Rotation width per image in degrees
- resolution :
float | None= None Resolution in Å
- total_dose :
float | None= None Total dose in MGy
- total_exposure_time :
float | None= None Total exposure time in s
- dose_rate :
float | None= None Dose rate at 100 % transmission in MGy/s
- sensitivity :
float | None= None Radiation sensitivity, 1 for cryo
- min_exposure_time :
float | None= None Minimum exposure time per image in s
- fbest_log :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - error_message :
str | None= None
- is_success* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
XDSIntegrationResultModel#
- Fields:
- is_success* :
bool - xds_ascii_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - correct_lp :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - bkgpix_cbf :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - gxparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the GXPARM.XDS file refined by CORRECT
- xparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the XPARM.XDS file used by INTEGRATE
- integrate_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the INTEGRATE.HKL file written by INTEGRATE
- integration_quality_score :
float | None= None
- is_success* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
MosflmIndexingResultModel#
- Fields:
- is_success* :
bool - newmat* :
ewoksmx.models.mosflm_model.MosflmNewmatModel | None - dna_tables* :
ewoksmx.models.mosflm_model.MosflmDnaTablesModel | None - indexing_directory* :
esrf_pathlib.core.ESRFPath
- is_success* :
MosflmNewmatModel#
- Fields:
- matrix_a :
list[list[float]] - missetting_angles :
list[float] - matrix_u :
list[list[float]] - cell* :
ewoksmx.models.mosflm_model.MosflmCellModel
- matrix_a :
MosflmCellModel#
- Fields:
- a* :
float - b* :
float - c* :
float - alpha* :
float - beta* :
float - gamma* :
float
- a* :
MosflmDnaTablesModel#
- Fields:
- mosaicity_estimation* :
float - deviation_positional :
float | None= None - deviation_angular :
float | None= None - refined_distance* :
float - spots_used :
int | None= None - spots_total :
int | None= None - selected_solution_number* :
int - selected_solution_space_group* :
str - selected_solution_space_group_number* :
int - indexing_solution :
list[ewoksmx.models.mosflm_model.MosflmIndexingSolutionModel] - refined_beam* :
ewoksmx.models.mosflm_model.MosflmBeamPositionModel - beam_shift :
ewoksmx.models.mosflm_model.MosflmBeamPositionModel | None= None
- mosaicity_estimation* :
MosflmIndexingSolutionModel#
- Fields:
- index* :
int - penalty* :
float - lattice* :
str - a* :
float - b* :
float - c* :
float - alpha* :
float - beta* :
float - gamma* :
float
- index* :
MosflmBeamPositionModel#
- Fields:
- x* :
float - y* :
float
- x* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
MosflmIndexingResultModel#
- Fields:
- is_success* :
bool - newmat* :
ewoksmx.models.mosflm_model.MosflmNewmatModel | None - dna_tables* :
ewoksmx.models.mosflm_model.MosflmDnaTablesModel | None - indexing_directory* :
esrf_pathlib.core.ESRFPath
- is_success* :
MosflmNewmatModel#
- Fields:
- matrix_a :
list[list[float]] - missetting_angles :
list[float] - matrix_u :
list[list[float]] - cell* :
ewoksmx.models.mosflm_model.MosflmCellModel
- matrix_a :
MosflmCellModel#
- Fields:
- a* :
float - b* :
float - c* :
float - alpha* :
float - beta* :
float - gamma* :
float
- a* :
MosflmDnaTablesModel#
- Fields:
- mosaicity_estimation* :
float - deviation_positional :
float | None= None - deviation_angular :
float | None= None - refined_distance* :
float - spots_used :
int | None= None - spots_total :
int | None= None - selected_solution_number* :
int - selected_solution_space_group* :
str - selected_solution_space_group_number* :
int - indexing_solution :
list[ewoksmx.models.mosflm_model.MosflmIndexingSolutionModel] - refined_beam* :
ewoksmx.models.mosflm_model.MosflmBeamPositionModel - beam_shift :
ewoksmx.models.mosflm_model.MosflmBeamPositionModel | None= None
- mosaicity_estimation* :
MosflmIndexingSolutionModel#
- Fields:
- index* :
int - penalty* :
float - lattice* :
str - a* :
float - b* :
float - c* :
float - alpha* :
float - beta* :
float - gamma* :
float
- index* :
MosflmBeamPositionModel#
- Fields:
- x* :
float - y* :
float
- x* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
MosflmIndexingResultModel#
- Fields:
- is_success* :
bool - newmat* :
ewoksmx.models.mosflm_model.MosflmNewmatModel | None - dna_tables* :
ewoksmx.models.mosflm_model.MosflmDnaTablesModel | None - indexing_directory* :
esrf_pathlib.core.ESRFPath
- is_success* :
MosflmNewmatModel#
- Fields:
- matrix_a :
list[list[float]] - missetting_angles :
list[float] - matrix_u :
list[list[float]] - cell* :
ewoksmx.models.mosflm_model.MosflmCellModel
- matrix_a :
MosflmCellModel#
- Fields:
- a* :
float - b* :
float - c* :
float - alpha* :
float - beta* :
float - gamma* :
float
- a* :
MosflmDnaTablesModel#
- Fields:
- mosaicity_estimation* :
float - deviation_positional :
float | None= None - deviation_angular :
float | None= None - refined_distance* :
float - spots_used :
int | None= None - spots_total :
int | None= None - selected_solution_number* :
int - selected_solution_space_group* :
str - selected_solution_space_group_number* :
int - indexing_solution :
list[ewoksmx.models.mosflm_model.MosflmIndexingSolutionModel] - refined_beam* :
ewoksmx.models.mosflm_model.MosflmBeamPositionModel - beam_shift :
ewoksmx.models.mosflm_model.MosflmBeamPositionModel | None= None
- mosaicity_estimation* :
MosflmIndexingSolutionModel#
- Fields:
- index* :
int - penalty* :
float - lattice* :
str - a* :
float - b* :
float - c* :
float - alpha* :
float - beta* :
float - gamma* :
float
- index* :
MosflmBeamPositionModel#
- Fields:
- x* :
float - y* :
float
- x* :
XDSIndexingResultModel#
- Fields:
- is_success* :
bool - idxref* :
ewoksmx.models.xds_model.IdxrefModel | None - xparm* :
ewoksmx.models.xds_model.XparmModel | None - indexing_directory* :
esrf_pathlib.core.ESRFPath
- is_success* :
IdxrefModel#
- Fields:
- mosaicity :
float | None= None - x_beam :
float | None= None - y_beam :
float | None= None - distance :
float | None= None - lattice_character :
int | None= None - space_group_number :
int | None= None - quality_of_fit :
float | None= None - a :
float | None= None - b :
float | None= None - c :
float | None= None - alpha :
float | None= None - beta :
float | None= None - gamma :
float | None= None
- mosaicity :
XparmModel#
- Fields:
- rot :
list[float] - beam :
list[float] - distance :
float | None= None - origin_xds :
list[float] - vector_a :
list[float] - vector_b :
list[float] - vector_c :
list[float] - cell :
list[float] - pixel_size :
list[float] - pixel_numb :
list[float] - symmetry :
int | None= None - num_init :
float | None= None - phi_init :
float | None= None - delta_phi :
float | None= None - detector_x :
list[float] - detector_y :
list[float]
- rot :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
XDSIntegrationResultModel#
- Fields:
- is_success* :
bool - xds_ascii_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - correct_lp :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - bkgpix_cbf :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - gxparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the GXPARM.XDS file refined by CORRECT
- xparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the XPARM.XDS file used by INTEGRATE
- integrate_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the INTEGRATE.HKL file written by INTEGRATE
- integration_quality_score :
float | None= None
- is_success* :
RaddoseResultModel#
- Fields:
- is_success* :
bool True if RADDOSE estimated the absorbed dose
- absorbed_dose :
float | None= None Absorbed dose of the characterisation images in Gy
Examples:44600.0- absorbed_dose_rate :
float | None= None Absorbed dose rate in Gy/s
Examples:223000.0- time_to_reach_dose_limit :
float | None= None Exposure time in s to reach the configured dose limit (raddose.dose_limit, by default the Henderson limit of 20 MGy)
Examples:89.7- solvent_content :
float | None= None Solvent content in % estimated by RADDOSE
Examples:47.0- raddose_log :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the RADDOSE log file
Examples:'/data/visitor/mx1234/id30a1/20261009/PROCESSED_DATA/raddose.log'
- error_message :
str | None= None Error message if RADDOSE failed or was not run
Examples:('RADDOSE not run: the data collection flux is ' 'missing')
- is_success* :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
XDSIndexingResultModel#
- Fields:
- is_success* :
bool - idxref* :
ewoksmx.models.xds_model.IdxrefModel | None - xparm* :
ewoksmx.models.xds_model.XparmModel | None - indexing_directory* :
esrf_pathlib.core.ESRFPath
- is_success* :
IdxrefModel#
- Fields:
- mosaicity :
float | None= None - x_beam :
float | None= None - y_beam :
float | None= None - distance :
float | None= None - lattice_character :
int | None= None - space_group_number :
int | None= None - quality_of_fit :
float | None= None - a :
float | None= None - b :
float | None= None - c :
float | None= None - alpha :
float | None= None - beta :
float | None= None - gamma :
float | None= None
- mosaicity :
XparmModel#
- Fields:
- rot :
list[float] - beam :
list[float] - distance :
float | None= None - origin_xds :
list[float] - vector_a :
list[float] - vector_b :
list[float] - vector_c :
list[float] - cell :
list[float] - pixel_size :
list[float] - pixel_numb :
list[float] - symmetry :
int | None= None - num_init :
float | None= None - phi_init :
float | None= None - delta_phi :
float | None= None - detector_x :
list[float] - detector_y :
list[float]
- rot :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
XDSIndexingResultModel#
- Fields:
- is_success* :
bool - idxref* :
ewoksmx.models.xds_model.IdxrefModel | None - xparm* :
ewoksmx.models.xds_model.XparmModel | None - indexing_directory* :
esrf_pathlib.core.ESRFPath
- is_success* :
IdxrefModel#
- Fields:
- mosaicity :
float | None= None - x_beam :
float | None= None - y_beam :
float | None= None - distance :
float | None= None - lattice_character :
int | None= None - space_group_number :
int | None= None - quality_of_fit :
float | None= None - a :
float | None= None - b :
float | None= None - c :
float | None= None - alpha :
float | None= None - beta :
float | None= None - gamma :
float | None= None
- mosaicity :
XparmModel#
- Fields:
- rot :
list[float] - beam :
list[float] - distance :
float | None= None - origin_xds :
list[float] - vector_a :
list[float] - vector_b :
list[float] - vector_c :
list[float] - cell :
list[float] - pixel_size :
list[float] - pixel_numb :
list[float] - symmetry :
int | None= None - num_init :
float | None= None - phi_init :
float | None= None - delta_phi :
float | None= None - detector_x :
list[float] - detector_y :
list[float]
- rot :
XDSIntegrationResultModel#
- Fields:
- is_success* :
bool - xds_ascii_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - correct_lp :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - bkgpix_cbf :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None - gxparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the GXPARM.XDS file refined by CORRECT
- xparm_xds :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the XPARM.XDS file used by INTEGRATE
- integrate_hkl :
Annotated[esrf_pathlib.core.ESRFPath, pydantic.functional_validators.BeforeValidator(func=ewoksmx.models.path_types._restore_path, json_schema_input_type=PydanticUndefined), pydantic.functional_serializers.PlainSerializer(func=str, return_type=str, when_used=json)] | None= None Path to the INTEGRATE.HKL file written by INTEGRATE
- integration_quality_score :
float | None= None
- is_success* :
ExecutionContextModel#
- Fields:
- working_directory :
esrf_pathlib.core.ESRFPath= None Workflow working directory
- working_directory :
DataCollectionModel#
- Fields:
- beamline* :
str Name of beamline where data were collected
- characterisation_scan_type :
Literal['fast', 'fine_sliced', 'standard'] | None= None Type of characterisation scan
- image_template* :
str Raw data image template used to resolve master files
Examples:'ref-Sample-1-3-05_2_1_%04d.h5'- detector_model* :
str Model of the detector used, data portal specific
Examples:'Pilatus4 4M'- detector_distance* :
float Crystal to detector distance in mm
- wavelength* :
float Wavelength in Angstroms
- beam_position_x* :
float x coordinate of beam center in pixels
- beam_position_y* :
float y coordinate of beam center in pixels
- num_wedges :
int= 1 Number of data collection wedges
- rotation_angle_between_wedges :
float= 0.0 Rotation angle between each data collection wedge
- oscillation_width* :
float Rotation angle for one image
Examples:0.0;0.1;0.2;0.5- oscillation_start* :
float Rotation start angle for the first image
Examples:0.0;150.0- num_images_per_wedge* :
int Number of images per data collection wedge
Examples:10- exposure_time* :
float Exposure time per image in seconds
Examples:0.015- flux :
float | None= None Photon flux at the sample position in photons/s
Examples:220000000000.0- beam_size_x :
float | None= None Horizontal beam size at the sample position in mm
Examples:0.05- beam_size_y :
float | None= None Vertical beam size at the sample position in mm
Examples:0.05- transmission :
float | None= None Beam transmission in %
Examples:100.0- resolution :
float | None= None Current MXCuBE resolution at the detector edge in Å
Examples:2.0- high_resolution_limit :
float | None= None Highest resolution in Å reachable at the minimum detector distance, as calculated by MXCuBE for the current wavelength
Examples:0.99- low_resolution_limit :
float | None= None Lowest resolution in Å reachable at the maximum detector distance, as calculated by MXCuBE for the current wavelength
Examples:3.64- dozor_visible_resolution_horizontal :
float | None= None Dozor visible resolution in the horizontal direction in Å
Examples:1.8- dozor_visible_resolution_vertical :
float | None= None Dozor visible resolution in the vertical direction in Å
Examples:1.9- crystal_size :
ewoksmx.models.data_collection_model.CrystalSizeModel | None= None Crystal size in mm, used by RADDOSE and BEST
Examples:{'x': 0.06, 'y': 0.02, 'z': 0.045}
- beamline* :
CrystalSizeModel#
- Fields:
- x* :
float Crystal size along the beam in mm
- y* :
float Crystal size perpendicular to the beam in mm
- z* :
float Crystal size perpendicular to the beam in mm
- x* :
ProcessingPlanModel#
- Fields:
- strategy_type :
Literal['full', 'fast']= full Data collection strategy
Examples:'full';'fast'- forced_space_group :
str | None= None Forced space group
Examples:'P1';'P212121'- forced_cell :
tuple[float, float, float, float, float, float] | None= None Forced unit cell in format [a, b, c, alpha, beta, gamma]
Examples:[37, 54, 67, 90, 90, 90]- aimed_resolution :
float | None= None Aimed data collection resolution in Angstroms
Examples:2.0- aimed_multiplicity :
float | None= None Aimed data collection multiplicity
Examples:4.0- aimed_completeness :
float | None= None Aimed data collection completeness in %
Examples:90.0- aimed_i_over_sigma :
float | None= None Aimed I/sigma at the highest resolution
Examples:1.0- anomalous_data :
bool= False Anomalous data collection strategy
Examples:True;False- detector_distance_min :
float | None= None Minimum detector distance in mm, overrides the beamline best configuration
Examples:139.3- detector_distance_max :
float | None= None Maximum detector distance in mm, overrides the beamline best configuration
Examples:828.0- goniostat_max_oscillation_speed :
float | None= None Maximum goniostat oscillation speed in degrees/s, overrides the beamline best configuration
Examples:750.0- goniostat_min_oscillation_width :
float | None= None Minimum goniostat oscillation width in degrees, overrides the beamline best configuration
Examples:0.01- min_exposure_time_per_image :
float | None= None Minimum exposure time per image in seconds, overrides the beamline best configuration
Examples:0.005- min_transmission :
float | None= None Minimum transmission in %, overrides the beamline best configuration
Examples:5.0- max_exposure_time_per_data_collection :
float | None= None Maximum total exposure time per data collection in seconds
Examples:10000.0- crystal_shape :
float | None= None BEST crystal shape factor, the ratio of crystal to beam size, calculated from the crystal and beam size if not given
Examples:1.0- strategy_option :
str | None= None Extra options appended to the BEST command line, e.g. to override options set by the workflow
Examples:'-low never'- user_defined_rotation_start :
float | None= None Start of the rotation range in degrees, given together with user_defined_rotation_range
Examples:0.0- user_defined_rotation_range :
float | None= None Rotation range in degrees
Examples:360.0
- strategy_type :
DataPortalUploadModel#
- Fields:
- gallery_paths :
list[str] - online_paths :
list[str] - data_portal_metadata :
dict
- gallery_paths :
SendEmail#
Send an email, optionally with attachments, to users of the ICAT session
- Identifier:
ewoksdrac.tasks.mail.send.SendEmail- Task type:
- class
- Inputs:
- session_id* :
str A unique identifier for the ICAT session. It is used as a token to identify the user
Examples:'xfthscs-234234sdfsd-fsfsd21'- callback :
pydantic.networks.HttpUrl | None= None A web endpoint to be called upon task completion or status updates. Usually a call to icat+
Examples:'https://icatplus.esrf.fr/callback'- subject* :
str Subject of the email, a Jinja2 template rendered with the context
Examples:('MX report of investigation {{ investigation_id ' '}}')
- template* :
str Name of the packaged Jinja2 template of the HTML body, without the ‘.html.j2’ extension
Examples:'mx_report'- context :
dict[str, Any] Variables available to the subject and body templates, usually the context output of the previous task
Examples:{'generated_at': '2026-10-14 10:00:00', 'investigation_id': 12345}
- attachments :
list[pathlib.Path] Paths of the files to attach to the email. A single path is also accepted
Examples:['/data/visitor/mx1234/reports/mx_report_12345.csv']
'/data/visitor/mx1234/reports/mx_report_12345.csv'
- delete_attachments :
bool= False Delete the attachments, and their directory when it is left empty, once the email is sent or failed. For temporary files such as generated reports
Examples:True
- session_id* :
MXReport#
Generate the MX report for an experiment session and output its file path
- Identifier:
ewoksdrac.tasks.report.mx.MXReport- Task type:
- class
- Inputs:
- session_id* :
str A unique identifier for the ICAT session. It is used as a token to identify the user
Examples:'xfthscs-234234sdfsd-fsfsd21'- callback :
pydantic.networks.HttpUrl | None= None A web endpoint to be called upon task completion or status updates. Usually a call to icat+
Examples:'https://icatplus.esrf.fr/callback'- investigation_id* :
int The id of the investigation (experiment session) this task operates on
Examples:12345
- session_id* :
- Outputs:
- session_id :
str The session_id input, passed on to the next task of the workflow
Examples:'xfthscs-234234sdfsd-fsfsd21'- callback :
str | None The callback input, passed on to the next task of the workflow
Examples:'https://icatplus.esrf.fr/callback'- report_file :
pathlib.Path Path of the generated report
Examples:'/tmp/mx_report_abcd1234/mx_report_12345.csv'- context :
dict[str, Any] Information about the report, for the email templates
Examples:{'generated_at': '2026-10-14 10:00:00', 'investigation_id': 12345}
- session_id :
AverageIntegration#
Average a series of 1d integrated patterns
Input names: nxdata_url : url to stored integrated data. Normally it’s stored in the PROCESSED_DATA scan file, example scan_file.h5::16.1/eiger_integrate/integrated
Optional input names: lima_name: name of the detector device. For example: “eiger” scan_nb: number of the scan external_output_filename: external file where to write the diffmap nexus process (usually it’s the PROCESSED_DATA scan file) output_filename: file where to write a link to the diffmap nexus process (usually it’s the PROCESSED_DATA master file of collection) nxprocess_name: name of the nexus process. If not provided, will be set to “<lima_name>_average” integration_options: dictionary to write as a configuration group reference:str: name of the standard sample to compare. For example: “hydrocerussite” do_average:bool: if False, skip this process
nxdata_url: where to read (integrated_data)
external_output_filename: where to save the diffmap
output_filename: where to link the diffmap
- Identifier:
ewoksid13.tasks.average.AverageIntegration- Task type:
- class
- Inputs:
- nxdata_url*
- do_average
- external_output_filename
- lima_name
- nxprocess_name
- output_filename
- reference
- scan_nb
- Outputs:
- nxdata_url
CreateDiffMapFile#
Creates a DiffMap NexusProcess compliant with pyFAI-diffmap/view API after an already integrated dataset
Input names: nxdata_url : url to stored integrated data. Normally it’s stored in the PROCESSED_DATA scan file, example scan_file.h5::16.1/eiger_integrate/integrated
Optional input names: lima_name: name of the detector device. For example: “eiger” master_filename: RAW_DATA master filename, kmap information may be stored here scan_nb: number of the scan external_output_filename: external file where to write the diffmap nexus process (usually it’s the PROCESSED_DATA scan file) output_filename: file where to write a link to the diffmap nexus process (usually it’s the PROCESSED_DATA master file of collection) nxprocess_name: name of the nexus process. If not provided, will be set to “<lima_name>_diffmap” integration_options: dictionary to write as a configuration group x_nb_points: number of points along the x direction. If not provided, will be searched as kmap paramaters in master_filename y_nb_points: number of points along the y direction. If not provided, will be searched as kmap paramaters in master_filename do_diffmap: if False, skip this process
nxdata_url: where to read (integrated_data)
external_output_filename: where to save the diffmap
output_filename: where to link the diffmap
- Identifier:
ewoksid13.tasks.diffmap.CreateDiffMapFile- Task type:
- class
- Inputs:
- nxdata_url*
- dark_value
- do_diffmap
- external_output_filename
- integration_options
- lima_name
- master_filename
- normalization_counter
- nxprocess_name
- output_filename
- save_img
- scan_memory_url
- scan_nb
- x_nb_points
- y_nb_points
- Outputs:
- filename_img
- nxdata_url
StackToEdf#
Convert a pyFAI diffmap to an edf stack
- Identifier:
ewoksid13.tasks.edf.StackToEdf- Task type:
- class
- Inputs:
- do_stackedf
- external_output_filename
- nxdata_url
- Outputs:
- nxdata_url
CalibrateEnergy#
Two-point linear calibration from pixel -> energy for each ROI.
Inputs
spectra : list[np.ndarray] One 1D spectrum per ROI. kb_px : list[float] | np.ndarray Pixel index of the Kβ reference for each ROI. vtc_px : list[float] | np.ndarray Pixel index of the VTC reference for each ROI. e_kb : float Known energy of the Kβ line (eV). e_vtc : float Known energy of the VTC line (eV).
Outputs
energies : list[np.ndarray] Energy axis per ROI (same length as its spectrum). spectra : list[np.ndarray] Pass-through of the input spectra (pipeline convenience). slope : np.ndarray ΔE / Δpixel per ROI. intercept : np.ndarray Intercept per ROI so that E = slope * x + intercept.
- Identifier:
ewoksxes.tasks.calibrate_energy.CalibrateEnergy- Task type:
- class
- Inputs:
- e_kb*
- e_vtc*
- kb_px*
- spectra*
- vtc_px*
- Outputs:
- energies
- intercept
- slope
- spectra
CombineSpectra#
Optionally normalize spectra, then interpolate each onto a common energy axis and sum them.
Inputs
energies: list of 1D energy arrays (or lists), one per spectrum
spectra: list of 1D spectra (same length as energies)
energy_range: (emin, emax) -> the range of the FINAL output energy axis
n_points: int >= 2 -> number of points on the FINAL output energy axis
Optional
normalize: bool (default False). When True, each spectrum is normalized by its integral over ‘norm_range’ before interpolation/summing.
norm_range: (emin, emax) normalization window (required when normalize=True)
Outputs
energy: np.ndarray of length n_points, spanning [emin, emax]
summed_spectrum: np.ndarray of same length, sum of all interpolated spectra
- Identifier:
ewoksxes.tasks.combine_spectra.CombineSpectra- Task type:
- class
- Inputs:
- energies*
- energy_range*
- n_points*
- spectra*
- norm_range
- normalize
- Outputs:
- energy
- summed_spectrum
ComputeFlatAndMask#
Compute flat-field and detect gap bands automatically from the 2D fit residuals.
Pipeline:
Evaluate fitted surface S = poly2d(x,y; coeffs).
Build a base invalid mask:
image <= min_intensity OR ~finite OR S <= min_fitted
Residual ratio R = image / S on valid base pixels; elsewhere treat as 0.
Candidate bad pixels = base_invalid OR (R <= ratio_threshold).
Gap detection (bands):
per-column bad fraction; mark columns >= column_fraction_threshold as gaps.
optional per-row bad fraction for horizontal bands.
optional dilation by ‘gap_expand’ px.
Final valid mask = NOT(gap_bands) AND NOT(base_invalid)
Flat:
if invert: flat = S / image on valid pixels (else flat = image / S)
fill invalid pixels with 1.0 (so correction leaves them unchanged; mask will zero them later).
optional clipping.
Outputs:
flat (float32, finite)
mask (float32, 1 valid / 0 invalid). Gaps are 0 in the mask.
- Identifier:
ewoksxes.tasks.compute_flat_and_mask.ComputeFlatAndMask- Task type:
- class
- Inputs:
- coeffs*
- image*
- clip_flat
- column_fraction_threshold
- detect_columns
- detect_rows
- gap_expand
- invert
- min_fitted
- min_intensity
- ratio_threshold
- row_fraction_threshold
- Outputs:
- flat
- mask
ComputeROI#
Extract mean 1D spectra for each ROI.
roi_list can be:
[(y1, y2), (y1, y2), …] for full-width horizontal stripes
[(y1, y2, x1, x2), …] for rectangular ROIs
For each ROI: roi = image_corrected[y1:y2, x1:x2] spectra = mean over axis=0 (vertical collapse)
The result is a list of 1D spectra.
- Identifier:
ewoksxes.tasks.compute_roi.ComputeROI- Task type:
- class
- Inputs:
- image_corrected*
- roi_list*
- Outputs:
- spectra
FitPolynomial2D#
Fit a 2D cubic polynomial (16 coefficients) to a flatfield-like image.
Intended for XES von Hamos detectors (gapped columns).
Zeros (dead/gap pixels) can be excluded from the fit.
Inputs
image : 2D float array degree : int (default=3) # only cubic supported mask_zeros : bool (default=True)
Output
coeffs : (16,) float64
- Identifier:
ewoksxes.tasks.fit_polynomial_2d.FitPolynomial2D- Task type:
- class
- Inputs:
- image*
- degree
- mask_zeros
- Outputs:
- coeffs
FlatFieldCorrection#
Apply flat-field and (optionally) mask corrections to the raw image, then normalize by I0.
Supported file formats:
Flat-field: .edf, .tif, .tiff, .npy
Mask: .edf, .tif, .tiff, .msk, .npy
If no mask is provided, a mask of ones is used.
Correction: corrected = ((image * flat) * mask) / i0
i0 is a scalar (incident flux) used to normalize the result. If omitted, defaults to 1.
- Identifier:
ewoksxes.tasks.flat_field_correction.FlatFieldCorrection- Task type:
- class
- Inputs:
- flat_field_path*
- image*
- i0
- mask_path
- Outputs:
- image_corrected
LoadRawDataAverage#
Load raw detector data from a Bliss scan data URL.
The input bliss_scan_data_url must be of the form:
/full/path/to/sample_dataset.h5::scan.1/measurement/detector
Where:
- /full/path/to/sample_dataset.h5 is the HDF5 file.
- scan.1/measurement/detector is the internal HDF5 dataset path.
The task loads the dataset. If the dataset is 3D (multiple frames), it averages along the first dimension to produce a 2D image.
- Identifier:
ewoksxes.tasks.load_raw_data.LoadRawDataAverage- Task type:
- class
- Inputs:
- bliss_scan_data_url*
- Outputs:
- image
SaveFlatAndMask#
Save flat and mask to disk in requested formats (‘npy’, ‘edf’).
Outputs:
flat_paths: dict format->path
mask_paths: dict format->path
- Identifier:
ewoksxes.tasks.save_flat_and_mask.SaveFlatAndMask- Task type:
- class
- Inputs:
- basename*
- flat*
- mask*
- output_dir*
- formats
- Outputs:
- flat_paths
- mask_paths
SaveSpectrum#
Save a combined spectrum as a 2-column ASCII .dat file with metadata headers.
Inputs
energy : 1D array-like (length N)
summed_spectrum : 1D array-like (length N)
output_path : str, destination path; ‘.dat’ is appended if missing
Optional
metadata : dict -> extra key/value pairs written as ‘# key: value’
fmt : str -> numpy.savetxt format, e.g. ‘%.6f %.6e’ (default)
delimiter : str -> column delimiter (default ‘ ‘)
encoding : str -> file encoding (default ‘utf-8’)
column_names: (str, str) -> names for columns (default: (‘energy’, ‘intensity’))
units : (str, str) -> units for columns (default: (‘eV’, ‘a.u.’))
Output
path : str -> the actual written file path
- Identifier:
ewoksxes.tasks.save_spectrum.SaveSpectrum- Task type:
- class
- Inputs:
- energy*
- output_path*
- summed_spectrum*
- column_names
- delimiter
- encoding
- fmt
- metadata
- units
- Outputs:
- path