SCETimeRange#

class stixcore.time.SCETimeRange(*, start=SCETime(coarse=4294967295, fine=65535), end=SCETime(coarse=0, fine=0))[source]#

Bases: object

SolarOrbiter Spacecraft Elapse Time (SCET) Range with start and end time.

start#

start time of the range

Type:

SCETime

end#

end time of the range

Type:

SCETime

Attributes Summary

avg

Methods Summary

duration()

expand(time)

Enlarge the time range to include the given time.

to_timerange()

Attributes Documentation

avg#

Methods Documentation

duration()[source]#
expand(time)[source]#

Enlarge the time range to include the given time.

Parameters:

time (SCETime or SCETimeRange) – The new time the range should include or an other time range.

Raises:

ValueError – if the given time is from a other class.

to_timerange()[source]#