Skip to content

Commit

Permalink
add note in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
nvaytet committed Jan 29, 2024
1 parent 91d4f31 commit 6cc9c9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/esssans/i_of_q.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ def dimension_slicing(
) -> SlicedMaskedData[RunType]:
"""
Slice out a subset of the detector tubes/straws/layers/pixels.
Note that the slicing must be done after masking and computing the beam center, if
not the results will be different between sliced and non-sliced data.
"""
out = data
if slices is not None:
Expand Down

0 comments on commit 6cc9c9d

Please sign in to comment.