Beamline.Append(s) # source
Beamline.Append(pm2a) # plane mirror (H)
Beamline.Append(presto) # a grating, but in practice it is another plane mirror (H)
Beamline.Append(slits_v) # slits, V
Beamline.Append(slits_h) # slits, H
Beamline.Append(kb_v) # focussing mirror, V
Beamline.Append(kb_h) # focussing mirror, H
Beamline.Append(Detector_h)# detector h
Beamline.Append(Detector_v)# detector v
Beamline.RefreshPositions()
To do:
Make the workspace
Test with single orientation
Test with multiple orientations
Check if calculation runs
Check if results are correct