keteutils.fov.make_cone_fov

keteutils.fov.make_cone_fov(
    state_desig,
    jd_tdb,
    center_ra_deg,
    center_dec_deg,
    *,
    radius_deg=0.1,
    pos_au=None,
    vel_aupd=None,
    pos_frame=None,
    vel_frame=None,
    center_id=399,
    fov_to_sun=True,
)

Create a conical 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.

center_ra_deg : float

Required field center in equatorial J2000 RA/Dec, in degrees.

center_dec_deg : float

Required field center in equatorial J2000 RA/Dec, in degrees.

radius_deg : float, default = 0.1

The radius of the FOV in degrees, by default 0.1 degrees.

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.ConeFOV

The field of view.