simulate.py 文件源码

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

项目:picasso 作者: jungmannlab 项目源码 文件源码
def loadTif(self):

        self.path = QtGui.QFileDialog.getExistingDirectory(self, "Select Directory")
        if self.path:

            self.tifCounter = len(_glob.glob1(self.path, "*.tif"))
            self.tifFiles = _glob.glob(os.path.join(self.path, "*.tif"))

            self.table.setRowCount(int(self.tifCounter))
            self.table.setColumnCount(6)
            self.table.setHorizontalHeaderLabels(('FileName,Imager concentration[nM],Integration time [ms],Laserpower,Mean [Photons],Std [Photons]').split(','))

            for i in range(0, self.tifCounter):
                self.table.setItem(i, 0, QtGui.QTableWidgetItem(self.tifFiles[i]))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号