SCETimeDelta#

class stixcore.time.SCETimeDelta(*args, **kwargs)[source]#

Bases: SCETBase

SCET time delta objects which can be created.

coarse#

Coarse time stamp (seconds)

Type:

int

fine#

Fine time stamp fraction of seconds 1/(2**16-1)

Type:

int

Examples

SCETimeDeltas can be created from directly >>> SCETimeDelta(1, 2) SCETimeDelta(coarse=1, fine=2)

or as result of subtracting two times >>> SCETime(9, 8) - SCETime(5, 10) SCETimeDelta(coarse=3, fine=65534)

Attributes Summary

Methods Summary

from_btime(btime)

from_float(scet_float)

Create a

Attributes Documentation

info#

Methods Documentation

classmethod from_btime(btime)[source]#
classmethod from_float(scet_float)[source]#

Create a

Parameters:

scet_float