ess.reflectometry.tools#

Functions

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.

orso_datasets_from_measurements(workflow, ...)

Produces a list of ORSO datasets containing one reflectivity curve for each of the provided runs.

scale_reflectivity_curves_to_overlap(curves)

Make the curves overlap by scaling all except the first by a factor.

std_to_fwhm(std)

Convert from standard deviation to full-width half maximum.