pyfast_adt.main.adaptor.microscope.temspy_socket ================================================ .. py:module:: pyfast_adt.main.adaptor.microscope.temspy_socket Attributes ---------- .. autoapisummary:: pyfast_adt.main.adaptor.microscope.temspy_socket.hostname Classes ------- .. autoapisummary:: pyfast_adt.main.adaptor.microscope.temspy_socket.SocketServerClient Module Contents --------------- .. py:class:: SocketServerClient(mode, host='127.0.0.1', port=8083, temspy=None, tem=None) .. py:attribute:: tem :value: None .. py:attribute:: mode .. py:attribute:: host :value: '127.0.0.1' .. py:attribute:: port :value: 8083 .. py:attribute:: action_list :value: ['a', 'b', 'get_time', 'get_stem_beam', 'set_stem_beam', 'check_configuration',... .. py:attribute:: client_socket :value: None .. py:attribute:: server_socket :value: None .. py:attribute:: tia_lock .. py:method:: connect_temspy() .. py:method:: disconnect() .. py:method:: start() .. py:method:: start_server() .. py:method:: handle_client(client_socket) .. py:method:: start_client() .. py:method:: client_send_action(action=None) .. py:method:: get_stem_beam(tia) return the beam position in stem as a tuple of 2 elements (x,y). the unit are meters in the camera unit .. py:method:: set_stem_beam(tia, pos) set the beam position in stem as a tuple of 2 elements (x,y). the unit are meters in the camera unit. it return the current position of the beam or an error .. py:method:: check_configuration(value) .. py:method:: check_HAADF_position() .. py:method:: click_HAADF() .. py:method:: diff_into_imag() .. py:method:: image_into_diff(DL) .. py:method:: cred_temspy_setup(target_angle, velocity) .. py:method:: cred_temspy_go() .. py:data:: hostname