Interval

class huira.Interval
__init__(self: huira._huira.Interval, t0: huira._huira.Time, t1: huira._huira.Time) None

Create an interval from two time stamps

center(self: huira._huira.Interval) huira._huira.Time

Midpoint of the exposure interval

duration(self: huira._huira.Interval) huira._huira.Second

Total duration of the exposure

property end

End time of the exposure interval

static from_bounds(start: huira._huira.Time, end: huira._huira.Time) huira._huira.Interval

Create an exposure from explicit start and end times

static from_centered(center: huira._huira.Time, duration: huira._huira.Second) huira._huira.Interval

Create an exposure centered on a time with a given total duration

static from_start(start: huira._huira.Time, duration: huira._huira.Second) huira._huira.Interval

Create an exposure from a start time and integration duration

property start

Start time of the exposure interval