pcdsdevices.gon.Goniometer

pcdsdevices.gon.Goniometer(**kwargs)

Factory function for Goniometers.

Returns either a BaseGon or GonWithDetArm class, depending on which prefixes are given.

This requires either eight or eleven motor PV prefixes, depending on the type of goniometer being used, to be passed in as keyword arguments, and they are all labelled accordingly.

Parameters:
  • name (str) – A name to refer to the goniometer device.

  • prefix_hor (str) – The EPICS base PV of the common-horizontal motor.

  • prefix_ver (str) – The EPICS base PV of the common-vertical motor.

  • prefix_rot (str) – The EPICS base PV of the common-rotation motor.

  • prefix_tip (str) – The EPICS base PV of the sample-stage’s tip motor.

  • prefix_tilt (str) – The EPICS base PV of the sample-stage’s tilt motor.

  • prefix_2theta (str, optional) – The EPICS base PV of the detector arm’s 2theta rotation motor.

  • prefix_dettilt (str, optional) – The EPICS base PV of the detector stage’s tilt motor.

  • prefix_detver (str, optional) – The EPICS base PV of the detector stage’s vertical motor.