Did I find the right examples for you? yes no

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_probe.py   pyHMSA(Download)
from pyhmsa.fileformat.xmlhandler.condition.probe import \
    ProbeEMXMLHandler, ProbeTEMXMLHandler
from pyhmsa.spec.condition.probe import ProbeEM, ProbeTEM
 
# Globals and constants variables.
        self.h = ProbeTEMXMLHandler(1.0)
 
        self.obj = ProbeTEM(15.0, LENS_MODE_IMAGE,
                            camera_magnification=2.0, convergence_angle=1.5)
 

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/importer/emsa.py   pyHMSA(Download)
from pyhmsa.datafile import DataFile
from pyhmsa.spec.header import Header
from pyhmsa.spec.condition.probe import ProbeEM, ProbeTEM
from pyhmsa.spec.condition.acquisition import AcquisitionPoint
from pyhmsa.spec.condition.specimenposition import SpecimenPosition
            kwargs['lens_mode'] = keywords.get('OPERMODE') # Enums are identical
            kwargs['convergence_angle'] = (keywords.getfloat('CONVANGLE'), 'mrad')
            c = ProbeTEM(**kwargs)
        else:
            c = ProbeEM(**kwargs)

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

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/test_probe.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.probe import _Probe, ProbeEM, ProbeTEM
 
# Globals and constants variables.
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        self.probe = ProbeTEM(15.0, LENS_MODE_IMAGE)