pcdsdevices.mps.must_be_out

pcdsdevices.mps.must_be_out(in_limit, out_limit)

Logical combination of limits enforcing an out state.

Parameters:
  • in_limit (bool) – Whether the in limit is active.

  • out_limit (bool) – Whether the out limit is active.

Returns:

is_out (bool) – Whether the logical combination of the limit switch ensures that the device is removed.