Skip to content

Commit 868750d

Browse files
authored
Merge pull request #589 from scipp/fast-lut
[essreduce] Fast wavelength lookup table workflow
2 parents 41ec030 + 89f8175 commit 868750d

10 files changed

Lines changed: 1639 additions & 143 deletions

File tree

packages/essreduce/docs/user-guide/unwrap/analytical-unwrap.ipynb

Lines changed: 1083 additions & 0 deletions
Large diffs are not rendered by default.

packages/essreduce/docs/user-guide/unwrap/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ maxdepth: 1
88
frame-unwrapping
99
wfm
1010
dream
11+
analytical-unwrap
1112
```

packages/essreduce/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"graphviz>=0.20",
3535
"sciline>=25.11.0",
3636
"scipp>=26.3.1",
37-
"scippneutron>=25.11.1",
37+
"scippneutron>=26.5.0",
3838
"scippnexus>=25.06.0",
3939
"scipy>=1.14",
4040
]

packages/essreduce/src/ess/reduce/unwrap/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from ..nexus.types import DiskChoppers
1010
from .lut import (
1111
BeamlineComponentReading,
12+
ChopperFrameSequence,
1213
DistanceResolution,
1314
LookupTableWorkflow,
1415
LtotalRange,
@@ -17,6 +18,7 @@
1718
PulseStride,
1819
SimulationResults,
1920
SimulationSeed,
21+
SourceBounds,
2022
SourcePosition,
2123
TimeResolution,
2224
simulate_chopper_cascade_using_tof,
@@ -37,6 +39,7 @@
3739

3840
__all__ = [
3941
"BeamlineComponentReading",
42+
"ChopperFrameSequence",
4043
"DetectorLtotal",
4144
"DiskChoppers",
4245
"DistanceResolution",
@@ -54,6 +57,7 @@
5457
"PulseStrideOffset",
5558
"SimulationResults",
5659
"SimulationSeed",
60+
"SourceBounds",
5761
"SourcePosition",
5862
"TimeResolution",
5963
"WavelengthDetector",

packages/essreduce/src/ess/reduce/unwrap/fakes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def psc_choppers():
8080
"chopper": DiskChopper(
8181
frequency=sc.scalar(-14.0, unit="Hz"),
8282
beam_position=sc.scalar(0.0, unit="deg"),
83-
phase=sc.scalar(-85.0, unit="deg"),
83+
phase=sc.scalar(-105.0, unit="deg"),
8484
axle_position=sc.vector(value=[0, 0, 8.0], unit="m"),
8585
slit_begin=sc.array(dims=["cutout"], values=[0.0], unit="deg"),
8686
slit_end=sc.array(dims=["cutout"], values=[3.0], unit="deg"),

0 commit comments

Comments
 (0)