id4_common.plans.center_maximum#

Plans for moving a motor to the center, maximum, or minimum of the last scan.

Module Contents#

id4_common.plans.center_maximum.cen(positioner=None, detector=None)#

Plan that moves motor to center of last scan.

Uses the position found by the bluesky.callbacks.best_effort.BestEffortCallback().peaks.

Parameters:
  • positioner (ophyd instance, optional) – Device to be moved to center.

  • detector (str, optional) – Ophyd instance name of the detector used to center. This is only needed if the scan had more than one hinted detector.

id4_common.plans.center_maximum.maxi(positioner=None, detector=None)#

Plan that moves motor to maximum of last scan.

Uses the position found by the bluesky.callbacks.best_effort.BestEffortCallback().peaks.

Parameters:
  • positioner (ophyd instance, optional) – Device to be moved to center.

  • detector (str, optional) – Ophyd instance name of the detector used to center. This is only needed if the scan had more than one hinted detector.

id4_common.plans.center_maximum.mini(positioner=None, detector=None)#

Plan that moves motor to minimum of last scan.

Uses the position found by the bluesky.callbacks.best_effort.BestEffortCallback().peaks.

Parameters:
  • positioner (ophyd instance, optional) – Device to be moved to center.

  • detector (str, optional) – Ophyd instance name of the detector used to center. This is only needed if the scan had more than one hinted detector.