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. Poses set by hand refer to the first.

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. Poses set by hand refer to the start.

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. Poses set by hand refer to the center.

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

Create an exposure from a start time and integration duration. Poses set by hand refer to the start.

property reference

the start, or the center for an interval made with from_centered. It can be set to any time.

Type:

The time that poses set by hand refer to

property start

Start time of the exposure interval