ess.reflectometry.tools.orso_datasets_from_measurements#

ess.reflectometry.tools.orso_datasets_from_measurements(workflow, runs, *, scale_to_overlap=True)[source]#

Produces a list of ORSO datasets containing one reflectivity curve for each of the provided runs. Each entry of runs is a mapping of parameters and values needed to produce the dataset.

Optionally, the reflectivity curves can be scaled to overlap in the regions where they have the same Q-value.

Parameters:
  • workflow (Pipeline) – The sciline workflow used to compute ReflectivityOverQ for each of the runs.

  • runs (Sequence[Mapping[type, Any]]) – The sciline parameters to be used for each run

  • scale_to_overlap (bool, default: True) – If True the curves will be scaled to overlap. Note that the curve of the first run is unscaled and the rest are scaled to match it.

Returns:

list[OrsoDataset]list of the computed ORSO datasets, containing one reflectivity curve each