ess.freia.conversions.assign_incident_angle_from_shutter_logs#
- ess.freia.conversions.assign_incident_angle_from_shutter_logs(event_time_zero, event_time_offset, wavelength, L2, sample_position, *, incident_angles, shutter_positions, shutter_status_logs)[source]#
Assign incidence when all shutter states are known and exactly one is open.
Each beam’s log is evaluated at the neutron’s crossing time at that beam’s shutter. Process shutters sequentially, discarding each crossing-time array after looking up its status. Keys in all three dictionaries must match. An unknown state, no open shutter, or multiple open shutters yields NaN.
- Return type: