ess.amor.load.load
ess.amor.load.load¶
- ess.amor.load.load(filename, beamline={'beam_size': <scipp.Variable> () float64 [m] [0.001], 'detector_spatial_resolution': <scipp.Variable> () float64 [m] [0.0025], 'gravity': <scipp.Variable> () vector3 [m/s^2] [(0, -9.80665, 0)], 'sample_rotation': None, 'sample_size': <scipp.Variable> () float64 [m] [0.01], 'source_chopper': <scipp.Variable> () Dataset [dimensionless] [<scipp.Dataset> Dimensions: Sizes[] Data: frequency float64 [Hz] () [6.66667] phase float64 [deg] () [-8] position vector3 [m] () [(0, 0, -15)] ]}, disable_warnings=True)¶
Loader for a single Amor data file.
- Parameters
beamline (dict) – A dict defining the beamline parameters.
disable_warnings (bool) – Do not show warnings from file loading if True. Default is True.
- Return type
scipp._scipp.core.DataArray