ess.dream.io.cif.prepare_reduced_tof_cif#
- ess.dream.io.cif.prepare_reduced_tof_cif(da, *, authors, calibration)[source]#
Construct a CIF builder with reduced data in d-spacing.
The object contains the d-spacing coordinate, intensities, and some metadata.
- Parameters:
da (
ess.powder.types.IofTof
(scipp.DataArray
)) – Reduced 1d data with a'tof'
dimension and coordinate.authors (
ess.powder.types.CIFAuthors
(list
)) – List of authors to write to the file.calibration (
OutputCalibrationData
) – Coefficients for conversion between d-spacing and final ToF. Seescippneutron.io.cif.CIF.with_powder_calibration()
.
- Returns:
ess.powder.types.ReducedTofCIF
(scippneutron.io.cif.CIF
) – An object that contains the reduced data and metadata. Us itssave
method to write the CIF file.