TriggerAlgorithm¶
- class gdt.core.trigger.TriggerAlgorithm(timescale: int, offset: int, channels: list | tuple, threshold: float)[source]¶
Bases:
objectClass for holding information related to a trigger algorithm
- Parameters:
timescale (int) – The duration in integer milliseconds of the window over which we count events contributing to a trigger
offset (int) – The time offset in integer milliseconds between the start time of the trigger window and the beginning of instrument data
channels (list|tuple) – The energy channel range given as (channel_start, channel_stop) for counts contributing to the trigger window
threshold (float) – The signficance above background for including a detector in the trigger
Attributes Summary
The energy channel range contributing to the trigger
The offset of the first trigger window relative to data start time in integer milliseconds
The significance level above background for including a detector in the trigger
The trigger window duration in integer milliseconds
Methods Summary
offset_in_unit(unit)Method for retrieving the trigger offset with an astropy unit
timescale_in_unit(unit)Method for retrieving the trigger timescale with an astropy unit
Attributes Documentation
- channels¶
The energy channel range contributing to the trigger
- Type:
(list)
- offset¶
The offset of the first trigger window relative to data start time in integer milliseconds
- Type:
(int)
- threshold¶
The significance level above background for including a detector in the trigger
- Type:
(float)
- timescale¶
The trigger window duration in integer milliseconds
- Type:
(int)
Methods Documentation