imap_processing.glows.l1a.glows_l1a_data.HistogramL1A#

class imap_processing.glows.l1a.glows_l1a_data.HistogramL1A(l0: dataclasses.InitVar[HistogramL0], histograms: list[int] | None = None, flight_software_version: int | None = None, ground_software_version: str | None = None, pkts_file_name: str | None = None, seq_count_in_pkts_file: int | None = None, last_spin_id: int | None = None, imap_start_time: TimeTuple | None = None, imap_time_offset: TimeTuple | None = None, glows_start_time: TimeTuple | None = None, glows_time_offset: TimeTuple | None = None, number_of_spins_per_block: int | None = None, number_of_bins_per_histogram: int | None = None, number_of_events: int | None = None, filter_temperature_average: int | None = None, filter_temperature_variance: int | None = None, hv_voltage_average: int | None = None, hv_voltage_variance: int | None = None, spin_period_average: int | None = None, spin_period_variance: int | None = None, pulse_length_average: int | None = None, pulse_length_variance: int | None = None, flags: dict | None = None)#

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]

histograms#

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

ground_software_version#

Version of the ground software used to process the data. Part of block header.

Type:

str

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

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], histograms: list[int] | None = None, flight_software_version: int | None = None, ground_software_version: str | None = None, pkts_file_name: str | None = None, seq_count_in_pkts_file: int | None = None, last_spin_id: int | None = None, imap_start_time: TimeTuple | None = None, imap_time_offset: TimeTuple | None = None, glows_start_time: TimeTuple | None = None, glows_time_offset: TimeTuple | None = None, number_of_spins_per_block: int | None = None, number_of_bins_per_histogram: int | None = None, number_of_events: int | None = None, filter_temperature_average: int | None = None, filter_temperature_variance: int | None = None, hv_voltage_average: int | None = None, hv_voltage_variance: int | None = None, spin_period_average: int | None = None, spin_period_variance: int | None = None, pulse_length_average: int | None = None, pulse_length_variance: int | None = None, flags: dict | None = None) None#

Methods

__init__(l0[, histograms, ...])

Attributes