PEATDB/plugins/KineticsAnalysis.py
def makeASTHtml(self):
        """make html page of ast raw fits"""
        ew = EkinWeb()
        path = os.path.join(self.path, 'plots')
        images=[]
        rownames=[]
        for name in self.required:
            E = EkinProject()
            E.openProject(os.path.join(self.path, name.replace(' ','')+'_ast'))
            E.datasets.sort()
            colnames=E.datasets
            rownames.append(name)
            for d in E.datasets:
                fname = os.path.join(path, name.replace(' ','')+d+'.png')
                E.plotDatasets(datasets=d, filename=fname, showfitvars=True, dpi=60)
                images.append(os.path.basename(fname))
        ew.makeHtml(images, outfile=os.path.join(self.path, 'ast.html'),
                            imgpath='plots', columns=9, title='AST results for set'+self.setname,
                            colheader=colnames, rowheader=rownames)
        return
make html page of ast raw fits
make html page of ast raw fits
make html page of ast raw fits
def makeASTHtml(self):
        ew = EkinWeb()
        path = os.path.join(self.path, 'plots')
        images=[]
        rownames=[]
        for name in self.required:
            E = EkinProject()
            E.openProject(os.path.join(self.path, name.replace(' ','')+'_ast'))
            E.datasets.sort()
            colnames=E.datasets
            rownames.append(name)
            for d in E.datasets:
                fname = os.path.join(path, name.replace(' ','')+d+'.png')
                E.plotDatasets(datasets=d, filename=fname, showfitvars=True, dpi=60)
                images.append(os.path.basename(fname))
        ew.makeHtml(images, outfile=os.path.join(self.path, 'ast.html'),
                            imgpath='plots', columns=9, title='AST results for set'+self.setname,
                            colheader=colnames, rowheader=rownames)
        return
def makeASTHtml ( self ) : ew = EkinWeb ( ) path = os . path . join ( self . path , 'plots' ) images = [ ] rownames = [ ] for name in self . required : E = EkinProject ( ) E . openProject ( os . path . join ( self . path , name . replace ( ' ' , '' ) + '_ast' ) ) E . datasets . sort ( ) colnames = E . datasets rownames . append ( name ) for d in E . datasets : fname = os . path . join ( path , name . replace ( ' ' , '' ) + d + '.png' ) E . plotDatasets ( datasets = d , filename = fname , showfitvars = True , dpi = 60 ) images . append ( os . path . basename ( fname ) ) ew . makeHtml ( images , outfile = os . path . join ( self . path , 'ast.html' ) , imgpath = 'plots' , columns = 9 , title = 'AST results for set' + self . setname , colheader = colnames , rowheader = rownames ) return
make html page of ast raw fits
make html page of ast raw fits
"""make html page of ast raw fits"""
self