ess.beer.mcstas.beamline.simulation_choppers#

ess.beer.mcstas.beamline.simulation_choppers(mode, source_position)[source]#

Dict of ESS BEER McStas choppers for the selected pulse-shaping mode.

We make the chopper information available in this way as loading it directly from the NeXus files is currently not available for these simulated BEER data.

Parameters:
  • mode (PulseShapingMode) – BEER pulse-shaping chopper mode.

  • source_position (Variable) – Position of the source in the coordinate system of the choppers. The raw chopper positions are defined relative to the source position.

Return type:

mappingproxy[str, DiskChopper]