@spiceErrorCheck<EOL>def fovray(inst, raydir, rframe, abcorr, observer, et):
inst = stypes.stringToCharP(inst)<EOL>raydir = stypes.toDoubleVector(raydir)<EOL>rframe = stypes.stringToCharP(rframe)<EOL>abcorr = stypes.stringToCharP(abcorr)<EOL>observer = stypes.stringToCharP(observer)<EOL>et = ctypes.c_double(et)<EOL>visible = ctypes.c_int()<EOL>libspice.fovray_c(inst, raydir, rframe, abcorr, observer, ctypes.byref(et),<EOL>ctypes.byref(visible))<EOL>return bool(visible.value)<EOL>
Determine if a specified ray is within the field-of-view (FOV) of a
specified instrument at a given time.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/fovray_c.html

:param inst: Name or ID code string of the instrument.
:type inst: str
:param raydir: Ray's direction vector.
:type raydir: 3-Element Array of floats
:param rframe: Body-fixed, body-centered frame for target body.
:type rframe: str
:param abcorr: Aberration correction flag.
:type abcorr: str
:param observer: Name or ID code string of the observer.
:type observer: str
:param et: Time of the observation (seconds past J2000).
:type et: float
:return: Visibility flag
:rtype: bool