ess.reflectometry.write

Functions for file writing

ess.reflectometry.write.reflectometry(data, filename, bins, header=None)

Write the reflectometry intensity data to a file.

Parameters
  • filename (str) – The file path for the file to be saved to

  • bins (scipp._scipp.core.Variable) – bin edges for qz

  • header – ORSO-compatible header object

Type

ess.reflectometry.Orso

ess.reflectometry.write.wavelength_theta(data, filename, bins, header=None)

Write the reflectometry intensity data as a function of wavelength-theta to a file.

Args:

filename (str): The file path for the file to be saved to. bins (tuple of array_like): wavelength and theta edges. header (ess.reflectometry.Orso): ORSO-compatible header object.