Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHeybrock committed Feb 1, 2024
1 parent d47ad6d commit 775b0cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions src/esssans/isis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
sans2d_tube_detector_pixel_shape,
)
from . import io, masking
from .components import DetectorBankOffset, SampleOffset, configure_raw_data
from .components import (
DetectorBankOffset,
SampleOffset,
apply_component_user_offsets_to_raw_data,
)
from .io import CalibrationFilename, DataFolder, Filename, PixelMaskFilename
from .masking import PixelMask
from .visualization import plot_flat_detector_xy
Expand All @@ -20,7 +24,7 @@
get_monitor,
lab_frame_transform,
sans2d_tube_detector_pixel_shape,
configure_raw_data,
apply_component_user_offsets_to_raw_data,
)
+ io.providers
+ masking.providers
Expand All @@ -36,7 +40,7 @@
'DataFolder',
'DetectorBankOffset',
'Filename',
'configure_raw_data',
'apply_component_user_offsets_to_raw_data',
'io',
'masking',
'PixelMask',
Expand Down
2 changes: 1 addition & 1 deletion src/esssans/isis/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RawDataWithComponentUserOffsets(
DetectorBankOffset = NewType('DetectorBankOffset', sc.Variable)


def configure_raw_data(
def apply_component_user_offsets_to_raw_data(
data: RawData[RunType],
sample_offset: SampleOffset,
detector_bank_offset: DetectorBankOffset,
Expand Down

0 comments on commit 775b0cd

Please sign in to comment.