imap_processing.idex.idex_packet_parser.RawDustEvent#

class imap_processing.idex.idex_packet_parser.RawDustEvent(header_packet)#

Encapsulate IDEX Raw Dust Event.

Encapsulates the work needed to convert a single dust event into a processed XArray Dateset object.

HIGH_SAMPLE_RATE#

The high sample rate in microseconds per sample

Type:

float

LOW_SAMPLE_RATE#

The low sample rate in microseconds per sample

Type:

float

NUMBER_SAMPLES_PER_LOW_SAMPLE_BLOCK#

The number of samples in a “block” of low sample data

Type:

int

NUMBER_SAMPLES_PER_HIGH_SAMPLE_BLOCK#

The number of samples in a “block” of high sample data

Type:

int

_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)#

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.ParsedPacket) – The FPGA metadata event header

Methods

__init__(header_packet)

Initialize a raw dust event, with an FPGA Header Packet from IDEX.

parse_packet(packet)

Parse IDEX data packets to populate bit strings.

process()

Process the raw data into a xarray.Dataset.

Attributes