core.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:sbpy 作者: mommermi 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号