mxcubecore.HardwareObjects.MicrodiffBeamstop#

Classes

class mxcubecore.HardwareObjects.MicrodiffBeamstop.MicrodiffBeamstop(name: str)[source]#

Bases: HardwareObject

Parameters:

name (str) –

get_state()[source]#

Getter for state attribute.

Implementations must query the hardware directly, to ensure current results.

Returns:

Current state.

Return type:

HardwareObjectState

init()[source]#

‘public’ post-initialization method. Override as needed.

For ConfiguredObjects called after loading contained objects.

is_ready()[source]#

Convenience function: Check if the object state is READY.

The same effect could be achieved with `python self.get_state() == self.STATES.READY `

Returns:

True if ready, otherwise False.

Return type:

bool