Did I find the right examples for you? yes no

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

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/elementalid.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.elementalid import ElementalID, ElementalIDXray
from pyhmsa.fileformat.xmlhandler.xmlhandler import _XMLHandler
 

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_elementalid.py   pyHMSA(Download)
from pyhmsa.fileformat.xmlhandler.condition.elementalid import \
    ElementalIDXMLHandler, ElementalIDXrayXMLHandler
from pyhmsa.spec.condition.elementalid import ElementalID, ElementalIDXray
 
# Globals and constants variables.
        self.h = ElementalIDXrayXMLHandler(1.0)
 
        self.obj = ElementalIDXray(11, u'M\u03b1', 1234.0)
 
        source = u'<ElementalID Class="X-ray"><Element DataType="uint32" Symbol="Na">11</Element><Line>M\u03b1</Line><Energy Unit="eV" DataType="float">1234</Energy></ElementalID>'

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/test_elementalid.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.elementalid import ElementalID, ElementalIDXray
 
# Globals and constants variables.
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        self.element = ElementalIDXray(11, 'Ma')