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)
                print("validFormula")
            elementDict = Elements.getMaterialMassFractions([txt], [1.0])
        elif Elements.isValidMaterial(txt):
            if DEBUG:
                print("ValidMaterial")
        if key in ddict:
            material = ddict['material']
            if Elements.isValidMaterial(material):
                self.materialWidget.setEditText(material)
                self.materialSignal(material)