circadia_gamma.py 文件源码

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

项目:Circadia 作者: hooyah 项目源码 文件源码
def saveit(self):

        doit = tkMessageBox.askyesno("save gamma curve", "overwrite?")
        if doit:
            keys = [ [self.gamma_red[x][0], (self.gamma_red[x][1], self.gamma_green[x][1], self.gamma_blue[x][1])] for x in range(self.num_ctrl)]
            grad = { 'gamma':keys}
            with open('gamma_grad.json', 'w') as outfile:
                json.dump(grad, outfile)
                print 'written.'
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号