mcstas simulation description file for Test_SANS.
Date:    Wed Jul 22 08:46:46 2026
Program:  3.99.99, git

begin instrument: Test_SANS
  File: 1/mccode
  Source: Test_SANS.instr
  Parameters:  DistanceFromSourceToFirstPinhole(double) DistanceFromSourceToSecondPinhole(double) DistanceFromSecondPinholeToSample(double) DistanceFromSampleToDetector(double) RadiusOfDetector(double) Lambda(double) DLambda(double) SAMPLE(double) Ncount(double)
  Trace_enabled: yes
  Default_main: yes
  Embedded_runtime: yes
end instrument

begin simulation: 1
  Format: McCode with text headers
  URL: http://www.mccode.org
  Creator:  3.99.99, git
  Instrument: Test_SANS.instr
  Ncount: 10000000
  Trace: no
  Gravitation: no
  Seed: 1000
  Directory: 1
  Nodes: 20
  Param: DistanceFromSourceToFirstPinhole=1
  Param: DistanceFromSourceToSecondPinhole=10
  Param: DistanceFromSecondPinholeToSample=1
  Param: DistanceFromSampleToDetector=10
  Param: RadiusOfDetector=4
  Param: Lambda=4.5
  Param: DLambda=0.1
  Param: SAMPLE=0
  Param: Ncount=0
end simulation

begin data
  Date: Wed Jul 22 08:46:52 2026 (1784702812)
  type: array_2d(200, 200)
  Source: Test_SANS (Test_SANS.instr)
  component: PSDMonitor
  position: 0 0 30
  title: PSD monitor
  Ncount: 10000000
  filename: PSDMonitor.dat
  statistics: X0=0.667631; dX=17.4868; Y0=0.613735; dY=17.4576;
  signal: Min=0; Max=6.60392e-11; Mean=7.14658e-14;
  values: 2.85863e-09 1.3683e-10 95540
  xvar: X 
  yvar: Y 
  xlabel: X position [cm]
  ylabel: Y position [cm]
  zvar: I
  zlabel: Signal per bin
  xylimits: -282.843 282.843 -282.843 282.843
  variables: I I_err N
end data

begin data
  Date: Wed Jul 22 08:46:52 2026 (1784702812)
  type: array_1d(100)
  Source: Test_SANS (Test_SANS.instr)
  component: QMonitor
  position: 0 0 30
  title: QMonitor - Radially averaged distribution
  Ncount: 10000000
  filename: RDetector.dat
  statistics: X0=0.154392; dX=0.0763126;
  signal: Min=0; Max=7.10836e-07; Mean=1.84475e-08;
  values: 1.84475e-06 1.07301e-07 144599
  xvar: r
  yvar: (I,I_err)
  xlabel: Radius [m]
  ylabel: I(r)
  xlimits: 0 4
  variables: r I I_err N
end data

begin data
  Date: Wed Jul 22 08:46:52 2026 (1784702812)
  type: array_1d(100)
  Source: Test_SANS (Test_SANS.instr)
  component: QMonitor
  position: 0 0 30
  title: QMonitor - Distribution in q (Radially averaged)
  Ncount: 10000000
  filename: QDetector.dat
  statistics: X0=0.021682; dX=0.0104595;
  signal: Min=0; Max=3.288e-06; Mean=7.74897e-08;
  values: 7.74897e-06 4.49533e-07 144599
  xvar: q
  yvar: (I,I_err)
  xlabel: q [1 / AA]
  ylabel: I(q)
  xlimits: 0 0.528088
  variables: q I I_err N
end data
