mxcubecore.HardwareObjects.LNLS.LNLSBeam#

LNLSBeam class

Classes

LNLSBeam(name)

class mxcubecore.HardwareObjects.LNLS.LNLSBeam.LNLSBeam(name)[source]#

Bases: AbstractBeam

aperture_diameter_changed(name, size)[source]#

Method called when the aperture diameter changes :param name: diameter name - not used. :type name: str :param size: diameter size in microns :type size: float

get_aperture_pos_name()[source]#

Returns (str): name of current aperture position

get_slits_gap()[source]#

Returns: tuple with beam size in microns

init()[source]#

Initialise default values and objects.

set_beam_position_on_screen(beam_x, beam_y)[source]#

Sets beam mark position on screen #TODO move method to sample_view :param beam_x: horizontal position in pixels :type beam_x: int :param beam_y: vertical position in pixels :type beam_y: int

set_slits_gap(width_microns, height_microns)[source]#

Sets slits gap in microns :param width_microns: :type width_microns: int :param height_microns: :type height_microns: int

slits_gap_changed(size)[source]#

Method called when the slits gap changes :param size: two floats indicates beam size in microns :type size: tuple