ess.reflectometry.tools#

Functions

batch_compute(workflow, runs[, target, ...])

Computes requested target(s) from a supplied workflow for a number of runs.

batch_processor(workflow, runs)

Creates a collection of sciline workflows from the provided runs.

combine_curves(curves[, q_bin_edges])

Combines the given curves by interpolating them on a 1d grid defined by q_bin_edges and averaging over the provided reflectivity curves.

fwhm_to_std(fwhm)

Convert from full-width half maximum to standard deviation.

linlogspace(dim, edges, scale, num[, unit])

Generate a 1d array of bin edges with a mixture of linear and/or logarithmic spacings.

scale_for_reflectivity_overlap(reflectivities)

Compute a scaling for 1D reflectivity curves in a way that would makes the curves overlap.

Classes

BatchProcessor(workflows)

A collection of sciline workflows that can be used to compute multiple targets from multiple workflows.

MultiGraphViz(graphs)

A dummy class to concatenate multiple graphviz visualizations into a single repr output for Jupyter notebooks.