ess.amor.beamline.make_beamline
ess.amor.beamline.make_beamline#
- ess.amor.beamline.make_beamline(sample_rotation, beam_size=None, sample_size=None, detector_spatial_resolution=None, gravity=None, chopper_frequency=None, chopper_phase=None, chopper_1_position=None, chopper_2_position=None)#
Amor beamline components.
- Parameters
sample_rotation (
Variable
) – Sample rotation (omega) angle.beam_size (
Optional
[Variable
], default:None
) – Size of the beam perpendicular to the scattering surface. Default is 0.001 m.sample_size (
Optional
[Variable
], default:None
) – Size of the sample in direction of the beam. Default0.01 m
.detector_spatial_resolution (
Optional
[Variable
], default:None
) – Spatial resolution of the detector. Default is 2.5 mm.gravity (
Optional
[Variable
], default:None
) – Vector representing the direction and magnitude of the Earth’s gravitational field. Default is [0, -g, 0].chopper_frequency (
Optional
[Variable
], default:None
) – Rotational frequency of the chopper. Default is 6.6666… Hz.chopper_phase (
Optional
[Variable
], default:None
) – Phase offset between chopper pulse and ToF zero. Default is -8. degrees of arc.chopper_position – Position of the chopper. Default is -15 m.
- Returns
dict
– A dict.