mahos.gui.confocal.ConfocalWidget#
- class mahos.gui.confocal.ConfocalWidget(gconf: dict, name, tracker_name, gparams_name, style: dict, invert, key_move_steps, move_interval_ms, context, parent=None)#
Main widget for Confocal (scan and interact)
- __init__(gconf: dict, name, tracker_name, gparams_name, style: dict, invert, key_move_steps, move_interval_ms, context, parent=None)#
Methods
X_edited()Y_edited()Z_edited()__init__(gconf, name, tracker_name, ...[, ...])direction_to_scanitem(direction)export_image([direction])export_image_xy()export_image_xz()export_image_yz()export_view(fn)finalize_manual_scan(image)finalize_scan(image)finalize_track(image)get_export_params()get_pos()Get crosshair position.
get_scan_param_dict()go_center()Move to the center of boundaries.
go_home()Move to stored home position.
init_connections()Connect permanent signals.
init_move(pos)init_splitter()init_view(pos)Initialize views.
init_with_status(status)Initialize the widget after receiving first status.
key_move_XY(direction, fine)key_move_XZ(direction, fine)key_move_YZ(direction, fine)load_buffers(pos)get the image buffers from confocal and load all the images.
load_image()move_crosshair(target_pos)Move crosshair to given target position.
request_idle()request_interact()request_move_X(line)request_move_Y(line)request_move_Z(line)request_piezo()request_track_now()request_track_start()request_track_stop()request_xyscan()request_xzscan()request_yzscan()save_image([direction])save_image_xy()save_image_xz()save_image_yz()set_auto_levels(enable)set_background(state)set_home()Store current position as the home position.
start_scan(dialog, direction)switch_PosEdit(state)Set PosEdit string for states without polling.
switch_TgtBox(editable)switch_buttons(state)switch_interaction(state, last_state)switch_key_move(enable)update_PosEdit(val, on_tgt, edit)update_XPosEdit(val, on_tgt)update_XYbox(rect)update_XZbox(rect)update_YPosEdit(val, on_tgt)update_YZbox(rect)update_ZPosEdit(val, on_tgt)update_roiXY()Transmit change of XYroi to XZroi and YZroi
update_roiXZ()Transmit change of XZroi to XYroi and YZroi
update_roiYZ()Transmit change of YZroi to XYroi and XZroi
update_state(state, last_state)update_tracker_state(state, last_state)Attributes