data.py 文件源码

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

项目:trappist1 作者: rodluger 项目源码 文件源码
def colbkg(self):
    '''

    '''

    # Flux in background pixels
    bkg = np.zeros(self.nx)
    for col in range(self.nx):
      b = np.where(self.aperture[:,col] == 0)
      bkg[col] = np.nanmedian(self.images[self.cadence][b,col])
    return 100 * (bkg / np.mean(bkg) - 1.)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号