Did I find the right examples for you? yes no

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

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/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.layer = SpecimenLayer()
 
        self.spc = SpecimenMultilayer('Carbon coated cryolite')
 
        layer = SpecimenLayer('Carbon coat', 50.0, 'C')
        self.spc.layers.append(layer)