Returns the acquired ramp data dictionary, with data in DAC/ADC bits.
"""
afm.move_just_onto_surface(
- depth=bump_config['initial-position'], far=bump_config['far-steps'])
+ depth=bump_config['initial-position'], far=bump_config['far-steps'],
+ setpoint=bump_config['setpoint'],
+ min_slope_ratio=bump_config['min-slope-ratio'])
#afm.piezo.jump('z', 32000)
- _LOG.info('bump the surface to a depth of %g m'
- % bump_config['push-depth'])
+ _LOG.info('bump the surface to a depth of %g m with a setpoint of %g V'
+ % (bump_config['push-depth'], bump_config['setpoint']))
axis = afm.piezo.axis_by_name(afm.axis_name)
help=('Maximum deflection in volts in case of stepper positioning '
'to achieve the initial position.'),
default=2.0),
+ _config.FloatSetting(
+ name='min-slope-ratio',
+ help=('Set the minimum ratio between the deflection/displacement '
+ 'of the contact and the non-contact regions for bumps '
+ 'seeking the surface. Bumps without sufficient difference '
+ 'assume they need to move closer to find the surface.'),
+ default=10.0),
_config.IntegerSetting(
name='far-steps',
help=('Number of stepper steps to move "far" away from the '