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/specimen.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.specimen import \
    Specimen, SpecimenMultilayer, SpecimenLayer
from pyhmsa.spec.condition.composition import CompositionElemental

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_specimen.py   pyHMSA(Download)
from pyhmsa.fileformat.xmlhandler.condition.specimen import \
     SpecimenXMLHandler, SpecimenMultilayerXMLHandler
from pyhmsa.spec.condition.specimen import Specimen, SpecimenMultilayer
from pyhmsa.spec.condition.composition import CompositionElemental
 
        comp = CompositionElemental('atoms')
        comp.update({11: 3, 13: 1, 9: 6})
        self.obj = Specimen('Cryolite', 'Natural cryolite standard',
                            'Kitaa, Greenland', 'Na3AlF6', comp, -20.0)
 

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/test_specimen.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.specimen import \
    Specimen, SpecimenLayer, SpecimenMultilayer
from pyhmsa.spec.condition.composition import CompositionElemental
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        self.spc = Specimen('Cryolite')