@spiceErrorCheck<EOL>def gfilum(method, angtyp, target, illumn,<EOL>fixref, abcorr, obsrvr, spoint,<EOL>relate, refval, adjust, step, nintvls, 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>method = stypes.stringToCharP(method)<EOL>angtyp = stypes.stringToCharP(angtyp)<EOL>target = stypes.stringToCharP(target)<EOL>illumn = stypes.stringToCharP(illumn)<EOL>fixref = stypes.stringToCharP(fixref)<EOL>abcorr = stypes.stringToCharP(abcorr)<EOL>obsrvr = stypes.stringToCharP(obsrvr)<EOL>spoint = stypes.toDoubleVector(spoint)<EOL>relate = stypes.stringToCharP(relate)<EOL>refval = ctypes.c_double(refval)<EOL>adjust = ctypes.c_double(adjust)<EOL>step   = ctypes.c_double(step)<EOL>nintvls = ctypes.c_int(nintvls)<EOL>libspice.gfilum_c(method, angtyp, target, illumn,<EOL>fixref, abcorr, obsrvr, spoint,<EOL>relate, refval, adjust, step,<EOL>nintvls, ctypes.byref(cnfine), ctypes.byref(result))<EOL>return result<EOL>
Return the time window over which a specified constraint on
the observed phase, solar incidence, or emission angle at
a specifed target body surface point is met.

:param method: Shape model used to represent the surface of the target body.
:type method: str
:param angtyp: The type of illumination angle for which a search is to be performed.
:type angtyp: str
:param target: Name of a target body.
:type target: str
:param illumn: Name of the illumination source.
:type illumn: str
:param fixref: Name of the body-fixed, body-centered reference frame associated with the target body.
:type fixref: str
:param abcorr: The aberration corrections to be applied.
:type abcorr: str
:param obsrvr: Name of an observing body.
:type obsrvr: str
:param spoint: Body-fixed coordinates of a target surface point.
:type spoint: 3-Element Array of floats
:param relate: Relational operator used to define a constraint on a specified illumination angle.
:type relate: str
:param refval: Reference value used with 'relate' to define an equality or inequality to be satisfied by the specified illumination angle.
:type refval: float
:param adjust: Parameter used to modify searches for absolute extrema.
:type adjust: float
:param step: Step size to be used in the search.
:type step: float
:param nintvls: Number of intervals that can be accommodated by each of the dynamically allocated workspace windows used internally by this routine.
:type nintvls: int
:param cnfine: Window that confines the time period over which the specified search is conducted. This can be updated by gfilum
:type cnfine: spiceypy.utils.support_types.SpiceCell
:param result: Optional SPICE Window of intervals in the confinement window that the illumination angle constraint is satisfied.
:type result: spiceypy.utils.support_types.SpiceCell