Did I find the right examples for you? yes no

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

src/c/a/calibcant-0.9/calibcant/bump_analyze.py   calibcant(Download)
    _matplotlib_import_error = e
 
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
    z = _convert_bits_to_meters(z_axis_config, data['z'])
    deflection = _convert_bits_to_volts(
        deflection_channel_config, data['deflection'])
    high_voltage_rail = _convert_bits_to_volts(
        deflection_channel_config, deflection_channel_config['maxdata'])

src/u/n/unfold-protein-0.2/unfold_protein/unfolder.py   unfold-protein(Download)
    def read_deflection(self):
        bits = self.afm.piezo.read_deflection()
        return _pypiezo_base.convert_bits_to_volts(
            self.afm.piezo.config.select_config('inputs', 'deflection'), bits)
 

src/c/a/calibcant-0.9/calibcant/vibration_analyze.py   calibcant(Download)
from h5config.storage.hdf5 import h5_create_group as _h5_create_group
import FFT_tools as _FFT_tools
from pypiezo.base import convert_bits_to_volts as _convert_bits_to_volts
from pypiezo.config import InputChannelConfig as _InputChannelConfig
 
    # convert the data from bits to volts
    deflection_v = _convert_bits_to_volts(
        deflection_channel_config, deflection)
    mean = deflection_v.mean()
    _LOG.debug('average thermal deflection (Volts): %g' % mean)