imap_processing.lo.l0.science_direct_events.ScienceDirectEvents#
- class imap_processing.lo.l0.science_direct_events.ScienceDirectEvents(packet, software_version: str, packet_file_name: str)#
L1A Science Direct Events data.
The Science Direct Events class handles the parsing and decompression of L0 to L1A data.
- DATA#
Compressed TOF Direct Event time tagged data.
- Type:
- POS#
Stop position for the direct event. There are 4 quadrants on the at the stop position.
- Type:
- CKSM#
This is checksum defined relative to the TOFs condition for golden triples. If golden triples are below a certain threshold in checksum it’s considered golden, otherwise, it’s considered a silver triple. This is important for the compression for golden triples because it’s used to recover TOF1 because compression scheme to save space on golden triples doesn’t send down TOF1 so it’s recovered on the ground using the checksum
- Type:
- case_number#
The compression case number for the direct event. The case number determines how the bits are arranged in the compressed data.
- Type:
- tof_calculation_binary#
Binary used to determine which TOF coefficients should be used for decompressing the binary.
- Type:
- __init__(packet, software_vesion, packet_file_name):
Uses the CCSDS packet, version of the software, and the name of the packet file to parse and store information about the Direct Event packet data.
- decompress_data():
Decompresses the Science Direct Event TOF data.
- __init__(packet, software_version: str, packet_file_name: str)#
Intialization method for Science Direct Events Data class.
Methods
__init__(packet, software_version, ...)Intialization method for Science Direct Events Data class.
parse_data(packet)Parse Lo L0 packet data.
Attributes
ground_sw_versionpacket_file_nameccsds_header