data.py 文件源码

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

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

    '''

    # Update plot
    self.cadence = int(val)
    self.implot.set_data(self.images[int(val)])
    self.implot.set_clim(vmin = np.nanmin(self.images[int(val)]), vmax = np.nanmax(self.images[int(val)]))
    self.tracker1.set_xdata([self.time[self.cadence], self.time[self.cadence]])
    self.tracker2.set_xdata([self.time[self.cadence], self.time[self.cadence]])
    self.update_bkg()
    self.update_lc()
    self.update_lcbkg()
    self.fig.canvas.draw()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号