File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111from orsopy .fileio .orso import OrsoDataset
1212
1313from ess .reflectometry import orso
14- from ess .reflectometry .types import NormalizedIofQ
14+ from ess .reflectometry .types import ReflectivityOverQ
1515
1616_STD_TO_FWHM = sc .scalar (2.0 ) * sc .sqrt (sc .scalar (2.0 ) * sc .log (sc .scalar (2.0 )))
1717
@@ -311,7 +311,7 @@ def orso_datasets_from_measurements(
311311 Parameters
312312 -----------
313313 workflow:
314- The sciline workflow used to compute `NormalizedIofQ ` for each of the runs.
314+ The sciline workflow used to compute `ReflectivityOverQ ` for each of the runs.
315315
316316 runs:
317317 The sciline parameters to be used for each run
@@ -330,7 +330,7 @@ def orso_datasets_from_measurements(
330330 wf = workflow .copy ()
331331 for name , value in parameters .items ():
332332 wf [name ] = value
333- reflectivity_curves .append (wf .compute (NormalizedIofQ ))
333+ reflectivity_curves .append (wf .compute (ReflectivityOverQ ))
334334
335335 scale_factors = (
336336 scale_reflectivity_curves_to_overlap (
@@ -347,7 +347,7 @@ def orso_datasets_from_measurements(
347347 wf = workflow .copy ()
348348 for name , value in parameters .items ():
349349 wf [name ] = value
350- wf [NormalizedIofQ ] = scale_factor * curve
350+ wf [ReflectivityOverQ ] = scale_factor * curve
351351 dataset = wf .compute (orso .OrsoIofQDataset )
352352 dataset .info .reduction .corrections = orso .find_corrections (
353353 wf .get (orso .OrsoIofQDataset )
You can’t perform that action at this time.
0 commit comments