Skip to content

Commit 2ecca3b

Browse files
committed
Rename correction to normalization
1 parent c5fbfc1 commit 2ecca3b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ess/reduce/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import importlib.metadata
66

7-
from . import nexus, time_of_flight, uncertainty
7+
from . import nexus, normalization, time_of_flight, uncertainty
88

99
try:
1010
__version__ = importlib.metadata.version("essreduce")
@@ -13,4 +13,4 @@
1313

1414
del importlib
1515

16-
__all__ = ["nexus", "time_of_flight", "uncertainty"]
16+
__all__ = ["nexus", "normalization", "time_of_flight", "uncertainty"]

src/ess/reduce/correction.py renamed to src/ess/reduce/normalization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22
# Copyright (c) 2025 Scipp contributors (https://github.com/scipp)
3-
"""Correction algorithms for neutron data reduction."""
3+
"""Normalization routines for neutron data reduction."""
44

55
import scipp as sc
66

tests/correction_test.py renamed to tests/normalization_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import scipp as sc
66
import scipp.testing
77

8-
from ess.reduce.correction import (
8+
from ess.reduce.normalization import (
99
normalize_by_monitor_histogram,
1010
normalize_by_monitor_integrated,
1111
)

0 commit comments

Comments
 (0)