happi.containers.OffsetMirror

class happi.containers.OffsetMirror(**kwargs)

A device that steers beam in the x direction by changing a pitch motor. These are used for beam delivery and alignment. These have additional entires for destinations and in/out state. Mirrors will have their system set to beam control by default.

prefix

str – The base PV should be a states PV that tells us which destination the mirror is pointing to. These states will be fairly rough and should not be relied on for alignment purposes, except for a guarantee that if a state is not active, then the beam is definitely not pointing to that state. If the mirror is purely for alignment and not for steering, or it doesn’t make sense for the pitch to have states, this can be the pitch control motor record base instead.

prefix_xy

str, optional – Name of the X and Y motors if different than the standard prefix

xgantry_prefix

str, optional – Prefix of the X Gantry PVs if different than the standard prefix

__init__(**kwargs)

Methods

__init__(**kwargs)
post() Create a document to be loaded into the happi database
save() Overwritten when the device is loaded from the client
show_info([handle]) Show the device information in a PrettyTable