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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/XASSelfattenuationWindow.py   pymca(Download)
            if DEBUG:
                print("validFormula")
            elementDict = Elements.getMaterialMassFractions([txt], [1.0])
        elif Elements.isValidMaterial(txt):
            if DEBUG:
                print("ValidMaterial")
            elementDict = Elements.getMaterialMassFractions([txt], [1.0])