imap_processing.glows.l0.decom_glows.decom_packets#

imap_processing.glows.l0.decom_glows.decom_packets(packet_file_path: Path) tuple[list[HistogramL0], list[DirectEventL0]]#

Decom GLOWS data packets using GLOWS packet definition.

Parameters:

packet_file_path (str) – Path to data packet path with filename.

Returns:

data – A tuple with two pieces: one list of the GLOWS histogram data, in GlowsHistL0 instances, and one list of the GLOWS direct event data, in GlowsDeL0 instance.

Return type:

tuple[list[HistogramL0], list[DirectEventL0]]