Skip to content

Commit aeffc7c

Browse files
authored
Merge pull request #2333 from willend/main
More %Example tests for McStas instruments
2 parents fbe7bc6 + 1c63a24 commit aeffc7c

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

mcstas-comps/examples/ILL/ILL_H53_D16/ILL_H53_D16.instr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* two beam holes at take-off angles of 90 deg and 115 deg, corresponding to 4.7
2020
* Angs and 5.6 Angs beams and incorporates the slit systems.
2121
*
22-
* Example: m=1.2 Detector: Det_psd_I=6.4729E+03
22+
* %Example: m=1.2 Detector: D16_BananaTheta_I=9.7E+04
2323
*
2424
* %Parameters
2525
* lambda: [Angs] Wavelength at monochromator, computed from DM and THETA_M if left as 0.

mcstas-comps/examples/ILL/ILL_IN5_Spots/ILL_IN5_Spots.instr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* with angle restriction (neutrons that scatter in Fe in front of a tube and
2020
* enter a different tube are absorbed). This model does not include the H16 guide.
2121
*
22-
* Example: lambda=4.5 Detector: Det_PSD_I=1.3e6
22+
* %Example: lambda=4.5 Detector: Detector_Sqw_I=8.5E4
2323
*
2424
* %Parameters
2525
* lambda: [AA] mean incident wavelength

mcstas-comps/examples/ISIS/ISIS_IMAT/ISIS_IMAT.instr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
* Journal of Instrumentation, 8 (2013), no 10, http://dx.doi.org/10.1088/1748-0221/8/10/P10001
2525
* 2. Results from calculations published in the previous paper were obtained using McStas ISIS_moderator component (Face="W5")
2626
*
27+
* %Example: -y Detector: psd4pi_I=0.34
28+
* %Example: -y --format=NeXus Detector: psd4pi_I=0.34
2729
*
2830
* %Parameters
2931
* INPUT PARAMETERS:
@@ -150,7 +152,7 @@ AT (0.0, 0.0, 10.00) RELATIVE pinhole
150152
// must here be static, but the grammar tests for a '{' as fisrt char. The 'Lazy'
151153
// #define is indeed a {value}, but not replaced before the code generation takes
152154
// place.
153-
COMPONENT sample = PowderN(reflections="Na2Ca3Al2F14.laz", radius = 0.002, yheight = 0.01,
155+
SPLIT 102 COMPONENT sample = PowderN(reflections="Na2Ca3Al2F14.laz", radius = 0.002, yheight = 0.01,
154156
Vc = 1079.1, sigma_abs = 2.9464e-3, sigma_inc = 3.4176, d_phi=60, format={17,6,0,0,0,0,0,13,0 })
155157
AT (0.0, 0.0, 56) RELATIVE Origin
156158
EXTEND

0 commit comments

Comments
 (0)