imap_processing.glows.l1.glows_l1a_data.HistogramL1A#

class imap_processing.glows.l1.glows_l1a_data.HistogramL1A(level0: HistogramL0)#

Data structure for GLOWS Histogram Level 1A data.

l0#

HistogramL0 Data class containing the raw data from the histogram packet

Type:

HistogramL0

histograms#

List of histogram data values

Type:

list[int]

block_header#

Header for L1A

Type:

dict

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]

flags#

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

Type:

dict

__init__(level0: HistogramL0)#

Set the attributes based on the given L0 histogram data.

This includes generating a block header and converting the time attributes from HistogramL0 into TimeTuple pairs.

Methods

__init__(level0)

Set the attributes based on the given L0 histogram data.

Attributes

l0

histograms

block_header

last_spin_id

imap_start_time

imap_time_offset

glows_start_time

glows_time_offset

flags