imap_processing.idex.idex_l1a.RawDustEvent#
- class imap_processing.idex.idex_l1a.RawDustEvent(header_packet: SpacePacket)#
Encapsulate IDEX Raw Dust Event.
Encapsulates the work needed to convert a single dust event into a processed
xarraydatesetobject.- Parameters:
header_packet (space_packet_parser.SpacePacket) – The FPGA metadata event header.
- 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:
- _append_raw_data(scitype, bits)#
Append data to the appropriate bit string.
- _set_sample_trigger_times(packet)#
Calculate the actual sample trigger time.
- _parse_high_sample_waveform(waveform_raw)#
Will process the high sample waveform.
- _parse_low_sample_waveform(waveform_raw)#
Will process the low sample waveform.
- _calc_low_sample_resolution(num_samples)#
Calculate the resolution of the low samples.
- _calc_high_sample_resolution(num_samples)#
Calculate the resolution of high samples.
- _populate_bit_strings(packet)#
Parse IDEX data packets to populate bit strings.
- process()#
Will process the raw data into a xarray.Dataset.
- __init__(header_packet: SpacePacket) 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.SpacePacket) – The FPGA metadata event header.
Methods
__init__(header_packet)Initialize a raw dust event, with an FPGA Header Packet from IDEX.
process()Will process the raw data into a
xarray.Dataset.Attributes