Skip to content

Commit 3ae8bd4

Browse files
committed
fix: rename to ReflectivityOverQ
1 parent ab520b5 commit 3ae8bd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ess/reflectometry/tools.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from orsopy.fileio.orso import OrsoDataset
1212

1313
from 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)

0 commit comments

Comments
 (0)