Did I find the right examples for you? yes no

All Samples(11)  |  Call(5)  |  Derive(0)  |  Import(6)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/test_datafile.py   pyHMSA(Download)
from pyhmsa.spec.datum.analysis import Analysis1D
from pyhmsa.spec.condition.instrument import Instrument
from pyhmsa.spec.condition.probe import ProbeEM
from pyhmsa.spec.condition.detector import DetectorSpectrometerXEDS
from pyhmsa.spec.condition.calibration import CalibrationLinear
        self.datafile.conditions['Inst0'] = instrument
 
        probe = ProbeEM(15.0, beam_current=47.59, scan_magnification=2500.0,
                        gun_type=GUN_TYPE_SCHOTTKY_FEG)
        self.datafile.conditions['Probe0'] = probe

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 = ProbeEMXMLHandler(1.0)
 
        self.obj = ProbeEM(15.0, 47.59, GUN_TYPE_LAB6, 12345.0, 1.234, 4200.0,
                           12345.0, 3.14e-6, 3.14e-10, 2500.0, 10.0)
 

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/exporter/test_emsa.py   pyHMSA(Download)
from pyhmsa.spec.condition.detector import DetectorSpectrometerXEDS
from pyhmsa.spec.condition.calibration import CalibrationLinear
from pyhmsa.spec.condition.probe import ProbeEM
from pyhmsa.spec.datum.analysis import Analysis1D
 
        datafile.header['AuthorSoftware'] = 'EpmxToHmsa'
 
        probe = ProbeEM(beam_voltage=(15000.0, 'V'),
                        beam_current=47.59,
                        scan_magnification=2500.0)

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
            c = ProbeTEM(**kwargs)
        else:
            c = ProbeEM(**kwargs)
 
        return {'Probe0': c}

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 = ProbeEM(15.0)