Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(22)  |  Derive(0)  |  Import(0)

src/p/e/PEATDB-2.3/PEATDB/plugins/KineticsAnalysis.py   PEATDB(Download)
                for t in raw[name][d].keys():
                    for p in raw[name][d][t].keys():
                        E.insertDataset(raw[name][d][t][p], d+'_'+t+'_'+str(p))
            E.fitDatasets('ALL', models=['Linear'], noiter=100, conv=1e-6, grad=1e-8, silent=True)
            for d in E.datasets:
                    ek = EkinDataset(xy=[temps, activities], yerrs=yerrors, active=active,
                                                xlabel='temp',ylabel='res act.')
                    E.insertDataset(ek, dsetname)
                    E.fitDataset(dsetname, model='Residual Activity', conv=1e-6, silent=True)
                    try:
                ek = EkinDataset(xy=[phvals, tms], xerr=None, yerr=tmerrs,
                                                xlabel='ph',ylabel='tm')
                E.insertDataset(ek, dup+'_'+'pHvsTm')
                E.fitDataset(dup+'_'+'pHvsTm', model='1 pKa 2 Chemical shifts', conv=1e-6, silent=True)
            E.saveProject()
        for ph in variantdata.keys():
            for s in variantdata[ph].keys():
                E.insertDataset(variantdata[ph][s], ph+'_'+str(s))
 
         #inital fit of raw data to get slopes
                                        active=active, xlabel='[S]',ylabels='V')
 
            E.insertDataset(edata, ph)
            mmdatasets.append(ph)
 

src/p/e/PEATDB-2.3/PEATDB/Ekin/Titration.py   PEATDB(Download)
                print name
                dc = cls.combineCurves(d1, d2)
                Ec.insertDataset(dc, d)
            Ec.saveProject(name[:5]+'_combined')
            for d in Ec.datasets:
            resnum = str(int(resnum))
            x,y = (data[d].keys(), data[d].values())
            E.insertDataset(newname=resnum,xydata=(x,y))
            #edata = E.getDataset(resnum)
            #edata['res_num'] = resnum

src/p/e/PEATDB-2.3/PEATDB/plugins/VantHoffAnalysis.py   PEATDB(Download)
        if newdata == None: return
        for n in newdata.keys():
            self.E.insertDataset(newdata[n], n, update=None)
        print 'imported %s datasets' %len(self.E.datasets)
        self.showDatasetSelector()
        E = EkinProject()
        d='cdtest'
        E.insertDataset(xydata=[x,y], newname=d)
    if opts.all == True:
        self.doAll(E, methods)

src/d/a/DataPipeline-1.2/DataPipeline/Utilities.py   DataPipeline(Download)
                xy = data[d][lbl]
                ek=EkinDataset(xy=xy)
                E.insertDataset(ek, name)
        else:
            #print data[d]
                    yerrs=[yerror for i in y]
            ek = EkinDataset(xy=[x,y], xerrs=xerrs, yerrs=yerrs)
            E.insertDataset(ek, d)
            #print ek.errors
    return E

src/p/e/PEATDB-2.3/PEATDB/zodbtest.py   PEATDB(Download)
    E = EkinProject()
    data=E.readDataset('Ekin/test.Ekindat')
    E.insertDataset(data['data'], 'test', fit=data['fit'])
    print 'creating dummy data..'
    j=0