keteutils.fov.make_omni_fov

keteutils.fov.make_omni_fov(
    state_desig,
    jd_tdb,
    pos_au=None,
    vel_aupd=None,
    pos_frame=None,
    vel_frame=None,
    center_id=399,
    fov_to_sun=True,
)

Create an all-sky field of view and its observer state.

Requires kete: This function needs kete to be installed. Install with: pip install skyloc[kete]

Parameters

state_desig : str

Name of the observer state.

jd_tdb : float or kete.Time

The time of the state in TDB jd time, see kete.Time.

pos_au : array-like, kete.Vector, or None, default = None

Observer position in au and velocity in au/day, relative to center_id. Each omitted or None vector defaults to (0, 0, 0) before any Sun-centered conversion. With center_id=399, this places the observer at Earth’s center. Supplied kete.Vector inputs keep their own frames.

vel_aupd : array-like, kete.Vector, or None, default = None

Observer position in au and velocity in au/day, relative to center_id. Each omitted or None vector defaults to (0, 0, 0) before any Sun-centered conversion. With center_id=399, this places the observer at Earth’s center. Supplied kete.Vector inputs keep their own frames.

pos_frame : kete.Frames, str, default = None

The frame of the position and velocity, by default kete.Frames.Ecliptic.

vel_frame : kete.Frames, str, default = None

The frame of the position and velocity, by default kete.Frames.Ecliptic.

center_id : int, default = 399

Origin of the observer position and velocity. Default 399 is Earth’s center; the Earth-Moon barycenter is 3.

fov_to_sun : bool, default = True

Convert the observer state to Sun-centered coordinates. Default True; changing the center requires suitable SPICE coverage.

Returns

obssta : kete.State

The state of the observer.

fov : kete.OmniDirectionalFOV

The field of view.