Skip to content

Commit c3ade8f

Browse files
authored
Merge pull request #174 from scipp/fix-estia-sm-params
fix: supermirror params
2 parents a49cc28 + fbec94a commit c3ade8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ess/estia/workflow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
def mcstas_default_parameters() -> dict:
4545
return {
4646
supermirror.MValue: sc.scalar(5, unit=sc.units.dimensionless),
47-
supermirror.CriticalEdge: 0.022 * sc.Unit("1/angstrom"),
47+
# The reference sample in the McStas simulation has R=1 everywhere
48+
supermirror.CriticalEdge: sc.scalar(float('inf'), unit='1/angstrom'),
4849
supermirror.Alpha: sc.scalar(0.25 / 0.088, unit=sc.units.angstrom),
4950
DetectorSpatialResolution[RunType]: 0.0025 * sc.units.m,
5051
NeXusDetectorName: "detector",

0 commit comments

Comments
 (0)