ess.dream.io.cif.prepare_reduced_dspacing_cif#
- ess.dream.io.cif.prepare_reduced_dspacing_cif(da, *, authors)[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.IofDspacing
(scipp.DataArray
)) – Reduced 1d data with a ‘dspacing’ dimension and coordinate.authors (
ess.powder.types.CIFAuthors
(list
)) – List of authors to write to the file.
- Returns:
ess.powder.types.ReducedDspacingCIF
(scippneutron.io.cif.CIF
) – An object that contains the reduced data and metadata. Us itssave
method to write the CIF file.