mxcubecore.HardwareObjects.BeamInfo

[Name] BeamInfo

[Description] BeamInfo hardware object is used to define final beam size and shape. It can include aperture, slits and/or other beam definer (lenses or other eq.)

[Emitted signals] beamInfoChanged beamPosChanged

[Included Hardware Objects]

name | signals | functions

beam_definer_hwobj


Classes

BeamInfo(*args)

class mxcubecore.HardwareObjects.BeamInfo.BeamInfo(*args)[source]

Bases: HardwareObject

evaluate_beam_info()[source]

Descript. : called if aperture, slits or focusing has been changed Return : dictionary,{size_x:0.1, size_y:0.1, shape:”rectangular”}

get_beam_size()[source]

Descript. : returns beam size in millimeters Return : list with two integers

init()[source]

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

For ConfiguredObjects called after loading contained objects.

re_emit_values()[source]

Update values for all internal attributes

Should be expanded in subclasses with more updatable attributes (e.g. value, limits)