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 | str)#

Data class for MAG Level 0 data.

ccsds_header#

CCSDS Header data

Type:

CcsdsData

SHCOARSE#

Mission elapsed time

Type:

int

PUS_SPARE1#

ESA standard headers, PUS Spare 1

Type:

int

PUS_VERSION#

PUS Version Number

Type:

int

PUS_SPARE2#

PUS Spare 2

Type:

int

PUS_STYPE#

PUS Service Type

Type:

int

PUS_SSUBTYPE#

PUS Service Subtype - tells number of seconds of data

Type:

int

COMPRESSION#

Science Data Compression Flag - indicates if the data compressed - throw error if 1

Type:

int

MAGO_ACT#

MAGO Active Status - if MAGo is active. May also be referred to as “FOB”

Type:

int

MAGI_ACT#

MAGI Active Status - if MAGi is active. May also be referred to as “FIB”

Type:

int

PRI_SENS#

Primary Sensor - 0 is MAGo, 1 is MAGi

Type:

int

SPARE1#

Spare

Type:

int

PRI_VECSEC#

Primary Vectors per Second - lookup for L1b

Type:

int

SEC_VECSEC#

Secondary Vectors per second

Type:

int

SPARE2#

Spare

Type:

int

PRI_COARSETM#

Primary Coarse Time for first vector, seconds

Type:

int

PRI_FNTM#

Primary Fine Time for first vector, subseconds

Type:

int

SEC_COARSETM#

Secondary Coarse Time for first vector, seconds

Type:

int

SEC_FNTM#

Secondary Fine Time for first vector, subseconds

Type:

int

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 | str) None#

Methods

__init__(ccsds_header, SHCOARSE, PUS_SPARE1, ...)

Attributes