ess.freia.mcstas.load_mcstas#
- ess.freia.mcstas.load_mcstas(filename, detector_name='Multiblade', *, pulse_period=None)[source]#
Load weighted detector events and pixel geometry.
Only the selected component is read. The expected output is the
mantid bananaevent list, includingp,t,idand pixel geometry. Empty detector pixels are retained, and weighted-event variances arep**2. Arrival times are split intoevent_time_zeroandevent_time_offsetusingpulse_period, which defaults to the ESS period of 1/14 s. If present,Lis kept aswavelength_from_mcstasin angstroms.- Return type: