imap_processing.glows.l1a.glows_l1a_data.HistogramL1A#

class imap_processing.glows.l1a.glows_l1a_data.HistogramL1A(l0: dataclasses.InitVar[HistogramL0], pkts_file_name: str = '')#

Data structure for GLOWS Histogram Level 1A data.

l0#

HistogramL0 Data class containing the raw data from the histogram packet. This is only used to create the class and cannot be accessed from an instance.

Type:

InitVar[HistogramL0]

histogram#

List of histogram data values

Type:

list[int]

flight_software_version#

Version of the flight software used to generate the data. Part of block header.

Type:

int

pkts_file_name#

Name of the packet file used to generate the data. Part of block header.

Type:

str

seq_count_in_pkts_file#

Sequence count in the packet file, equal to SRC_SEQ_CTR Part of block header.

Type:

int

first_spin_id#

ID of the first spin in block (computed with start spin and offset)

Type:

int

last_spin_id#

ID of the last spin in block (computed with start spin and offset)

Type:

int

imap_start_time#

IMAP start time for the block, in the form (seconds, subseconds)

Type:

tuple[int, int]

imap_time_offset#

IMAP end time offset for the block, in the form (seconds, subseconds). In algorithm document as “imap_end_time_offset”

Type:

tuple[int, int]

glows_start_time#

GLOWS start time for the block, in the form (seconds, subseconds)

Type:

tuple[int, int]

glows_time_offset#

GLOWS end time offset for the block, in the form (seconds, subseconds). In algorithm document as “glows_end_time_offset”

Type:

tuple[int, int]

number_of_spins_per_block#

Number of spins in the block, from L0.SPINS

Type:

int

number_of_bins_per_histogram#

Number of bins in the histogram, from L0.NBINS

Type:

int

number_of_events#

Number of events in the block, from L0.EVENTS

Type:

int

filter_temperature_average#

Average filter temperature in the block, from L0.TEMPAVG. Uint encoded.

Type:

int

filter_temperature_variance#

Variance of filter temperature in the block, from L0.TEMPVAR. Uint encoded.

Type:

int

hv_voltage_average#

Average HV voltage in the block, from L0.HVAVG. Uint encoded.

Type:

int

hv_voltage_variance#

Variance of HV voltage in the block, from L0.HVVAR. Uint encoded.

Type:

int

spin_period_average#

Average spin period in the block, from L0.SPAVG. Uint encoded.

Type:

int

spin_period_variance#

Variance of spin period in the block, from L0.SPVAR. Uint encoded.

Type:

int

pulse_length_average#

Average pulse length in the block, from L0.ELAVG. Uint encoded.

Type:

int

pulse_length_variance#

Variance of pulse length in the block, from L0.ELVAR. Uint encoded.

Type:

int

flags#

Dictionary containing “flags_set_onboard” from L0, and “is_generated_on_ground”, which is set to “False” for decommed packets.

Type:

dict

__init__(l0: dataclasses.InitVar[HistogramL0], pkts_file_name: str = '') None#

Methods

__init__(l0[, pkts_file_name])

Attributes