Did I find the right examples for you? yes no

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

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/importer/emsa.py   pyHMSA(Download)
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
from pyhmsa.spec.condition.detector import \
        dwell_time_live = (keywords.getfloat('LIVETIME'), 's')
 
        c = AcquisitionPoint(position, dwell_time, total_time, dwell_time_live)
 
        return {'Acq0': c}

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/acquisition.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.acquisition import \
    (AcquisitionPoint, AcquisitionMultipoint,
     AcquisitionRasterLinescan, AcquisitionRasterXY, AcquisitionRasterXYZ)

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_acquisition.py   pyHMSA(Download)
     AcquisitionRasterLinescanXMLHandler, AcquisitionRasterXYXMLHandler,
     AcquisitionRasterXYZXMLHandler)
from pyhmsa.spec.condition.acquisition import \
    (AcquisitionPoint, AcquisitionMultipoint,
     AcquisitionRasterLinescan, AcquisitionRasterXY, AcquisitionRasterXYZ)
 
        position = SpecimenPosition(0.0, 0.0, 10.0, 90.0, 70.0)
        self.obj = AcquisitionPoint(position, 35.0, 14400.0, 36.0)
 
        source = '<Acquisition Class="Point"><DwellTime Unit="s" DataType="float">35.0</DwellTime><TotalTime Unit="s" DataType="float">14400.0</TotalTime><DwellTime_Live Unit="s" DataType="float">36.0</DwellTime_Live><SpecimenPosition><X Unit="mm" DataType="float">0.0</X><Y Unit="mm" DataType="float">0.0</Y><Z Unit="mm" DataType="float">10.0</Z><R Unit="degrees" DataType="float">90.0</R><T Unit="degrees" DataType="float">70.0</T></SpecimenPosition></Acquisition>'

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/exporter/emsa.py   pyHMSA(Download)
from pyhmsa.spec.condition.detector import DetectorSpectrometer
from pyhmsa.spec.condition.probe import _Probe
from pyhmsa.spec.condition.acquisition import AcquisitionPoint
 
from pyhmsa.type.numerical import convert_unit

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/test_acquisition.py   pyHMSA(Download)
 
# Local modules.
from pyhmsa.spec.condition.acquisition import \
    (_Acquisition, AcquisitionPoint, AcquisitionMultipoint,
     _AcquisitionRaster, AcquisitionRasterLinescan,
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        position = SpecimenPosition(x=5, y=5, z=11)
        self.acq = AcquisitionPoint(position, total_time=10.0)