imap_processing.mag.l0.mag_l0_data.MagL0#
- class imap_processing.mag.l0.mag_l0_data.MagL0(ccsds_header: CcsdsData, SHCOARSE: int, PUS_SPARE1: int, PUS_VERSION: int, PUS_SPARE2: int, PUS_STYPE: int, PUS_SSUBTYPE: int, COMPRESSION: int, MAGO_ACT: int, MAGI_ACT: int, PRI_SENS: int, SPARE1: int, PRI_VECSEC: int, SEC_VECSEC: int, SPARE2: int, PRI_COARSETM: int, PRI_FNTM: int, SEC_COARSETM: int, SEC_FNTM: int, VECTORS: ndarray | bytes)#
Data class for MAG Level 0 data.
No attributes should be updated after creation. This class acts as a snapshot of the packet data, and is read-only.
- COMPRESSION#
Science Data Compression Flag - indicates if the data compressed - throw error if 1.
- Type:
- VECTORS#
MAG Science Vectors - divide based on PRI_VECSEC and PUS_SSUBTYPE for vector counts. There is a post init call to convert a string into a numpy array - the only place it is a string is in the class initialization.
- Type:
numpy.ndarray or str
- __init__(ccsds_header: CcsdsData, SHCOARSE: int, PUS_SPARE1: int, PUS_VERSION: int, PUS_SPARE2: int, PUS_STYPE: int, PUS_SSUBTYPE: int, COMPRESSION: int, MAGO_ACT: int, MAGI_ACT: int, PRI_SENS: int, SPARE1: int, PRI_VECSEC: int, SEC_VECSEC: int, SPARE2: int, PRI_COARSETM: int, PRI_FNTM: int, SEC_COARSETM: int, SEC_FNTM: int, VECTORS: ndarray | bytes) None#
Methods
__init__(ccsds_header, SHCOARSE, PUS_SPARE1, ...)Attributes