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/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/Mca2Edf.py   pymca(Download)
        for fitfile in self._filelist:
            self.onNewFile(fitfile, self._filelist) 
            ffile.SetSource(fitfile)
            fileinfo = ffile.GetSourceInfo()
            # nscans = len(fileinfo['KeyList'])

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaBatch.py   pymca(Download)
            try:
                ffile   = EdfFileLayer.EdfFileLayer(fastedf=0)
                ffile.SetSource(inputfile)
                fileinfo = ffile.GetSourceInfo()
                if fileinfo['KeyList'] == []:ffile=None
            if (ffile is None):
                ffile   = SpecFileLayer.SpecFileLayer()
                ffile.SetSource(inputfile)
            del ffile
            return "Specfile" 

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/SpecFileDataInfo.py   pymca(Download)
    d = SpecFileLayer.SpecFileLayer()
 
    d.SetSource(sys.argv[1])
    info,data = d.LoadSource(sys.argv[2])
 

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/McaAdvancedFitBatch.py   pymca(Download)
                del ffile
                ffile   = SpecFileLayer.SpecFileLayer()
                ffile.SetSource(inputfile)
            return ffile
        except: