Did I find the right examples for you? yes no

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

src/p/y/pyHMSA-0.1/pyhmsa/spec/condition/test_acquisition.py   pyHMSA(Download)
 
# Globals and constants variables.
from pyhmsa.spec.condition.acquisition import \
    (POSITION_LOCATION_CENTER, POSITION_LOCATION_START, POSITION_LOCATION_END,
     RASTER_MODE_STAGE, RASTER_MODE_Z_FIB)
    def setUp(self):
        unittest.TestCase.setUp(self)
 
        self.acq = _AcquisitionRaster(RASTER_MODE_STAGE)
 

src/p/y/pyHMSA-0.1/pyhmsa/fileformat/xmlhandler/condition/test_acquisition.py   pyHMSA(Download)
 
# Globals and constants variables.
from pyhmsa.spec.condition.acquisition import RASTER_MODE_STAGE, RASTER_MODE_Z_FIB
 
class TestAcquisitionPointXMLHandler(unittest.TestCase):
        position_end = SpecimenPosition(10.24, 0.0, 10.0)
        self.obj = AcquisitionRasterLinescan(1024, 10.0, position_start,
                                             position_end, RASTER_MODE_STAGE)
 
        source = '<Acquisition Class="Raster/Linescan"><RasterMode>Stage</RasterMode><StepCount DataType="uint32">1024</StepCount><StepSize Unit="um" DataType="float">10.</StepSize><SpecimenPosition Name="Start"><X Unit="mm" DataType="float">0.0</X><Y Unit="mm" DataType="float">0.0</Y><Z Unit="mm" DataType="float">10.0</Z></SpecimenPosition><SpecimenPosition Name="End"><X Unit="mm" DataType="float">10.24</X><Y Unit="mm" DataType="float">0.0</Y><Z Unit="mm" DataType="float">10.0</Z></SpecimenPosition></Acquisition>'