bec_lib.bl_conditions.ShutterCondition#

class ShutterCondition(shutter: Device)[source]#

Bases: BeamlineCondition

Check if the shutter is open.

Methods

on_failure_msg

Return a message that will be displayed if the beamline check fails.

run

Run the beamline check and return True if the beam is okay, False otherwise.

Attributes

name

Return a name for the beamline check.

property name#

Return a name for the beamline check.

on_failure_msg()[source]#

Return a message that will be displayed if the beamline check fails.

run()[source]#

Run the beamline check and return True if the beam is okay, False otherwise.