imap_processing.glows.utils.constants.TimeTuple#

class imap_processing.glows.utils.constants.TimeTuple(seconds: int, subseconds: int)#

Spacecraft clock time, a float divided into seconds and subseconds.

seconds#

Seconds of clock, integer

Type:

int

subseconds#

Subseconds of clock, defined as 1/SUB_SECOND_LIMIT th of a second. Will always be less than SUB_SECOND_LIMIT. If the class is initialized with a subsecond value above SUB_SECOND_LIMIT, the subseconds above the limit will be converted to seconds.

Type:

int

__init__(seconds: int, subseconds: int) None#

Methods

__init__(seconds, subseconds)

to_seconds()

Convert the TimeTuple to seconds.

Attributes