ess.freia.conversions.time_at_shutter#
- ess.freia.conversions.time_at_shutter(time_at_detector, wavelength, L2, sample_position, shutter_position)[source]#
Estimate the time the event passed the shutter position.
- Parameters:
time_at_detector (
Variable) – Detector arrival as float64 seconds since the Unix epoch.wavelength (
Variable) – Reconstructed neutron wavelengths.L2 (
Variable) – Sample-to-detector flight paths.sample_position (
Variable) – Sample position in global coordinates.shutter_position (
Variable) – Fixed shutter position in the same global frame as the sample.
- Returns:
Variable– Time the neutron passed the shutter, as float64 seconds since the Unix epoch.