@spiceErrorCheck<EOL>def gfpa(target, illmin, abcorr, obsrvr, relate, refval, adjust, step, nintvals,<EOL>cnfine, result=None):
assert isinstance(cnfine, stypes.SpiceCell)<EOL>assert cnfine.is_double()<EOL>if result is None:<EOL><INDENT>result = stypes.SPICEDOUBLE_CELL(<NUM_LIT>)<EOL><DEDENT>else:<EOL><INDENT>assert isinstance(result, stypes.SpiceCell)<EOL>assert result.is_double()<EOL><DEDENT>target = stypes.stringToCharP(target)<EOL>illmin = stypes.stringToCharP(illmin)<EOL>abcorr = stypes.stringToCharP(abcorr)<EOL>obsrvr = stypes.stringToCharP(obsrvr)<EOL>relate = stypes.stringToCharP(relate)<EOL>refval = ctypes.c_double(refval)<EOL>adjust = ctypes.c_double(adjust)<EOL>step = ctypes.c_double(step)<EOL>nintvals = ctypes.c_int(nintvals)<EOL>libspice.gfpa_c(target, illmin, abcorr, obsrvr, relate, refval,<EOL>adjust, step, nintvals, ctypes.byref(cnfine),<EOL>ctypes.byref(result))<EOL>return result<EOL>
Determine time intervals for which a specified constraint
on the phase angle between an illumination source, a target,
and observer body centers is met.

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

:param target: Name of the target body.
:type target: str
:param illmin: Name of the illuminating body.
:type illmin: str
:param abcorr: Aberration correction flag.
:type abcorr: str
:param obsrvr: Name of the observing body.
:type obsrvr: str
:param relate: Relational operator.
:type relate: str
:param refval: Reference value.
:type refval: float
:param adjust: Adjustment value for absolute extrema searches.
:type adjust: float
:param step: Step size used for locating extrema and roots.
:type step: float
:param nintvals: Workspace window interval count.
:type nintvals: int
:param cnfine: SPICE window to which the search is restricted.
:type cnfine: spiceypy.utils.support_types.SpiceCell
:param result: Optional SPICE window containing results.
:type result: spiceypy.utils.support_types.SpiceCell