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 testraster_mode_z(self):
        self.assertFalse(self.acq.raster_mode_z)
 
        self.acq.raster_mode_z = RASTER_MODE_Z_FIB
        self.assertEqual(RASTER_MODE_Z_FIB, self.acq.raster_mode_z)

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):
 
        self.obj = AcquisitionRasterXYZ(158, 98, 185, 1.0, 2.0, 3.0,
                                        raster_mode_z=RASTER_MODE_Z_FIB)
 
        source = '<Acquisition Class="Raster/XYZ"><XStepCount DataType="uint32">158</XStepCount><YStepCount DataType="uint32">98</YStepCount><ZStepCount DataType="uint32">185</ZStepCount><XStepSize Unit="um" DataType="float">1.</XStepSize><YStepSize Unit="um" DataType="float">2.</YStepSize><ZStepSize Unit="um" DataType="float">3.</ZStepSize><ZRasterMode>FIB</ZRasterMode></Acquisition>'