1212 CIFAuthors ,
1313 EmptyCanSubtractedIntensityTof ,
1414 IntensityTof ,
15+ Measurement ,
1516 ReducedEmptyCanSubtractedTofCIF ,
1617 ReducedTofCIF ,
1718 ReducerSoftware ,
@@ -26,6 +27,7 @@ def prepare_reduced_tof_cif(
2627 authors : CIFAuthors ,
2728 beamline : Beamline [SampleRun ],
2829 source : Source [SampleRun ],
30+ measurement : Measurement [SampleRun ],
2931 reducers : ReducerSoftware ,
3032 calibration : OutputCalibrationData ,
3133) -> ReducedTofCIF :
@@ -61,6 +63,7 @@ def prepare_reduced_tof_cif(
6163 authors = authors ,
6264 beamline = beamline ,
6365 source = source ,
66+ measurement = measurement ,
6467 reducers = reducers ,
6568 calibration = calibration ,
6669 )
@@ -72,6 +75,7 @@ def prepare_reduced_empty_can_subtracted_tof_cif(
7275 authors : CIFAuthors ,
7376 beamline : Beamline [SampleRun ],
7477 source : Source [SampleRun ],
78+ measurement : Measurement [SampleRun ],
7579 reducers : ReducerSoftware ,
7680 calibration : OutputCalibrationData ,
7781) -> ReducedEmptyCanSubtractedTofCIF :
@@ -107,6 +111,7 @@ def prepare_reduced_empty_can_subtracted_tof_cif(
107111 authors = authors ,
108112 beamline = beamline ,
109113 source = source ,
114+ measurement = measurement ,
110115 reducers = reducers ,
111116 calibration = calibration ,
112117 )
@@ -118,12 +123,14 @@ def _prepare_reduced_tof_cif_impl(
118123 authors : CIFAuthors ,
119124 beamline : Beamline [SampleRun ],
120125 source : Source [SampleRun ],
126+ measurement : Measurement [SampleRun ],
121127 reducers : ReducerSoftware ,
122128 calibration : OutputCalibrationData ,
123129) -> ReducedTofCIF :
124130 to_save = _prepare_data (da )
125131 return ReducedTofCIF (
126132 cif .CIF ('reduced_tof' )
133+ .with_measurement (measurement )
127134 .with_reducers (* (reducer .compact_repr for reducer in reducers ))
128135 .with_authors (* authors )
129136 .with_beamline (beamline , source )
0 commit comments