imap_processing.idex.l1.idex_l1.RawDustEvent#
- class imap_processing.idex.l1.idex_l1.RawDustEvent(header_packet: Packet, data_version: str)#
Encapsulate IDEX Raw Dust Event.
Encapsulates the work needed to convert a single dust event into a processed XArray Dateset object.
- Parameters:
header_packet (space_packet_parser.parser.Packet) – The FPGA metadata event header.
data_version (str) – The version of the data product being created.
- NUMBER_SAMPLES_PER_LOW_SAMPLE_BLOCK#
The number of samples in a “block” of low sample data.
- Type:
- NUMBER_SAMPLES_PER_HIGH_SAMPLE_BLOCK#
The number of samples in a “block” of high sample data.
- Type:
- _set_impact_time(packet)#
- _set_sample_trigger_times(packet)#
- _parse_high_sample_waveform(waveform_raw)#
- _parse_low_sample_waveform(waveform_raw)#
- _calc_low_sample_resolution(num_samples)#
- _calc_high_sample_resolution(num_samples)#
- parse_packet(packet)#
- process()#
- __init__(header_packet: Packet, data_version: str) None#
Initialize a raw dust event, with an FPGA Header Packet from IDEX.
The values we care about are:
self.impact_time - When the impact occurred. self.low_sample_trigger_time - When the low sample stuff actually triggered. self.high_sample_trigger_time - When the high sample stuff actually triggered.
- Parameters:
header_packet (space_packet_parser.parser.Packet) – The FPGA metadata event header.
data_version (str) – Data version for CDF filename, in the format “vXXX”.
Methods
__init__(header_packet, data_version)Initialize a raw dust event, with an FPGA Header Packet from IDEX.
parse_packet(packet)Parse IDEX data packets to populate bit strings.
process()Will process the raw data into a xarray.Dataset.
Attributes