def __call__(self, rho, eph=None):
"""Evaluate the aperture.
Parameters
----------
rho : `~astropy.units.Quantity`
Position to evaluate, in units of length or angle.
eph : dictionary-like or `~sbpy.data.Ephem`, optional
Ephemerides at epoch; requires geocentric distance as
`delta` keyword if the aperture's units and `rho`'s units do
not match.
"""
x = self._convert_unit(rho, eph)
# normalize to 1.0 at the center?
return np.exp(-x**2 / self.sigma**2 / 2)
评论列表
文章目录