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

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

src/b/1/B1python-0.8.7/src/B1macros.py   B1python(Download)
    # from intnorm*.log files, thus corresponding to the first measurement of
    # which the summarized data was made.
    datasum,datasumparam=B1io.readintnorm(fsns,filetype,dirs=dirs)
    if not ignorewaxs:
        datasumw,datasumparamw=B1io.readintnorm(fsns,waxsfiletype,dirs=dirs)
                    print "more than one summarized WAXS files exist from class #%d. USING FIRST! FSNS:" % (i),[p['FSN'] for p in currentclasswaxs]
                fsnslong=currentclasswaxs[0]['FSNs']
                dataslong,paramslong=B1io.readintnorm(fsnslong,dirs=dirs,filetype=waxsfiletype,logfiletype=waxslogfiletype,quiet=True)
                datalong=dataslong[0]
                paramlong=paramslong[0]
                    print "more than one summarized files exist from class #%d. USING FIRST! FSNS:" % (i),[p['FSN'] for p in currentclasslong]
                fsnslong=currentclasslong[0]['FSNs']
                dataslong,paramslong=B1io.readintnorm(fsnslong,dirs=dirs,filetype=filetype,logfiletype=logfiletype,quiet=True)
                datalong=dataslong[0]
                paramlong=paramslong[0]
                print "more than one summarized files exist from class #%d. USING FIRST! FSNS:" % (i),[p['FSN'] for p in currentclassshort]
            fsnsshort=currentclassshort[0]['FSNs']
            datasshort,paramsshort=B1io.readintnorm(fsnsshort,dirs=dirs,filetype=filetype,logfiletype=logfiletype,quiet=True)
            datashort=datasshort[0]
            paramshort=paramsshort[0]