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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/PyMcaMain.py   pymca(Download)
        app.setPalette(palette)
 
    mpath = PyMcaDataDir.PYMCA_DATA_DIR
    if mpath[-3:] == "exe":
        mpath = os.path.dirname(mpath)
    def loadTrainingData(self):
        try:
            source = os.path.join(PyMcaDataDir.PYMCA_DATA_DIR,
                                    'XRFSpectrum.mca')
            self.sourceWidget.sourceSelector.openSource(source)
            self.changeLog.setWindowIcon(qt.QIcon(qt.QPixmap(IconDict['gioconda16'])))
            # Does this belong to the data dir or the doc dir?
            mpath = PyMcaDataDir.PYMCA_DATA_DIR
            fname = os.path.join(mpath,'changelog.txt')
            if not os.path.exists(fname):

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/Elements.py   pymca(Download)
    """
    if 'xcom' not in Element[ele].keys():
        dirmod = PyMcaDataDir.PYMCA_DATA_DIR
        #read xcom file
        #print dirmod+"/"+ele+".mat"
def _getMaterialDict():
    cDict = ConfigDict.ConfigDict()
    dirmod = PyMcaDataDir.PYMCA_DATA_DIR
    matdict = os.path.join(dirmod,"attdata")
    matdict = os.path.join(matdict,"MATERIALS.DICT")

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/Scofield1973.py   pymca(Download)
 
dict = ConfigDict.ConfigDict()
dirmod = PyMcaDataDir.PYMCA_DATA_DIR 
dictfile = os.path.join(dirmod, "Scofield1973.dict")
if not os.path.exists(dictfile):

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/PyMcaEPDL97.py   pymca(Download)
            'Bh', 'Hs', 'Mt']
 
dirmod = PyMcaDataDir.PYMCA_DATA_DIR 
EPDL97_FILE = os.path.join(dirmod,"EPDL97_CrossSections.dat")
if not os.path.exists(EPDL97_FILE):

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/MShell.py   pymca(Download)
from PyMca5 import PyMcaDataDir
 
dirname   = PyMcaDataDir.PYMCA_DATA_DIR
inputfile = os.path.join(dirname, "MShellRates.dat")
if not os.path.exists(inputfile):

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/LShell.py   pymca(Download)
from PyMca5 import PyMcaDataDir
 
dirname   = PyMcaDataDir.PYMCA_DATA_DIR
inputfile = os.path.join(dirname, "LShellRates.dat")
if not os.path.exists(inputfile):

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/KShell.py   pymca(Download)
from PyMca5 import PyMcaDataDir
 
dirname   = PyMcaDataDir.PYMCA_DATA_DIR
inputfile = os.path.join(dirname, "KShellRates.dat")
if not os.path.exists(inputfile):

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/IncoherentScattering.py   pymca(Download)
     'Es','Fm','Md','No','Lr','Rf','Db','Sg','Bh','Hs','Mt']
 
dirmod = PyMcaDataDir.PYMCA_DATA_DIR
ffile   = os.path.join(dirmod,"attdata")
ffile   = os.path.join(ffile,"incoh.dict")

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/CoherentScattering.py   pymca(Download)
from PyMca5 import PyMcaDataDir
 
dirmod = PyMcaDataDir.PYMCA_DATA_DIR
ffile = os.path.join(dirmod, "attdata")
ffile = os.path.join(ffile, "atomsf.dict")

src/p/y/pymca-HEAD/PyMca5/PyMcaPhysics/xrf/ClassMcaTheory.py   pymca(Download)
 
        if initdict is None:
            dirname = PyMcaDataDir.PYMCA_DATA_DIR
            initdict = os.path.join(dirname, "McaTheory.cfg")
            if not os.path.exists(initdict):

  1 | 2  Next