SubSecond

class pymseed.SubSecond(*values)[source]

Bases: IntEnum

Subsecond resolution codes for nstime2timestr()

NONE = 0

No subseconds

MICRO = 1

Microsecond resolution

NANO = 2

Nanosecond resolution

MICRO_NONE = 3

Microsecond resolution if subseconds are non-zero, otherwise no subseconds

NANO_NONE = 4

Nanosecond resolution if subseconds are non-zero, otherwise no subseconds

NANO_MICRO = 5

Nanosecond resolution if there are sub-microseconds, otherwise microseconds resolution

NANO_MICRO_NONE = 6

Nanosecond resolution if present, microsecond if present, otherwise no subseconds