Did I find the right examples for you? yes no

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

src/p/y/pyafm-0.5/pyafm/afm.py   pyafm(Download)
 
from pypiezo.afm import AFMPiezo as _AFMPiezo
from pypiezo.base import convert_bits_to_meters as _convert_bits_to_meters
from pypiezo.base import convert_meters_to_bits as _convert_meters_to_bits
from pypiezo.base import convert_volts_to_bits as _convert_volts_to_bits
                far=far)
 
        pos_m = _convert_bits_to_meters(axis.config, pos)
        _LOG.debug('located surface at stepper %d, piezo %d (%g m)'
                  % (self.stepper.position, pos, pos_m))
                _LOG.debug(e)
                continue
            pos_m = _convert_bits_to_meters(axis.config, pos)
            _LOG.debug('located surface at stepper %d, piezo %d (%g m)'
                      % (self.stepper.position, pos, pos_m))
                _LOG.debug(e)
                continue
            pos_m = _convert_bits_to_meters(axis.config, pos)
            _LOG.debug('located surface at stepper %d, piezo %d (%g m)'
                      % (self.stepper.position, pos, pos_m))

src/u/n/unfold-protein-0.2/unfold_protein/scan.py   unfold-protein(Download)
                )
        pos = self.unfolder.afm.piezo.last_output[axis_name]
        pos_m = _pypiezo_base.convert_bits_to_meters(axis_config, pos)
        # HACK
        try:

src/u/n/unfold-protein-0.2/unfold_protein/unfolder.py   unfold-protein(Download)
 
        start_pos_m = _pypiezo_base.convert_bits_to_meters(
            axis_config, start_pos)
        final_pos_m = start_pos_m - config['distance']
        final_pos = _pypiezo_base.convert_meters_to_bits(

src/c/a/calibcant-0.9/calibcant/bump_analyze.py   calibcant(Download)
 
from pypiezo.base import convert_bits_to_volts as _convert_bits_to_volts
from pypiezo.base import convert_bits_to_meters as _convert_bits_to_meters
from pypiezo.config import AxisConfig as _AxisConfig
from pypiezo.config import InputChannelConfig as _InputChannelConfig
    (p-value).
    """
    z = _convert_bits_to_meters(z_axis_config, data['z'])
    deflection = _convert_bits_to_volts(
        deflection_channel_config, data['deflection'])

src/c/a/calibcant-0.9/calibcant/bump.py   calibcant(Download)
 
from pypiezo.base import convert_meters_to_bits as _convert_meters_to_bits
from pypiezo.base import convert_bits_to_meters as _convert_bits_to_meters
 
from . import LOG as _LOG
 
    start_pos = afm.piezo.last_output[afm.config['main-axis']]
    start_pos_m = _convert_bits_to_meters(axis.config, start_pos)
    close_pos_m = start_pos_m + config['push-depth']
    close_pos = _convert_meters_to_bits(axis.config, close_pos_m)