ess.beer.io.load#

Loaders and helpers for BEER McStas simulation data.

Functions

load_beer_mcstas(f, bank, detector_sizes)

Load beer McStas data from a file to a data array.

load_beer_mcstas_monitor(f)

Load the BEER McStas wavelength monitor from a file.

load_beer_mcstas_monitor_provider(fname)

Sciline provider for loading the BEER McStas wavelength monitor.

load_beer_mcstas_provider(fname, bank, ...)

Sciline provider for loading BEER McStas detector data.

mcstas_chopper_delay_from_mode(da)

These settings are good for the set of McStas runs that we use in the docs currently.

mcstas_chopper_delay_from_mode_new_simulations(da)

Celine has a new simulation with some changes to the chopper placement(?).

mcstas_detector_ltotal(da)

Return detector flight path lengths from loaded BEER McStas data.

mcstas_modulation_period_from_mode(da)

Return the modulation period for the McStas chopper mode.

mcstas_pulse_shaping_choppers(da, ...)

Return BEER pulse-shaping choppers for the McStas mode in the data.

mcstas_source_position()

Return the source position used for analytical McStas frame unwrapping.

pulse_shaping_mode_from_mcstas_mode(mode)

Return the BEER pulse-shaping mode matching a McStas mode value.