pyfast_adt.main.adaptor.microscope.temspy_socket
Attributes
Classes
Module Contents
- class pyfast_adt.main.adaptor.microscope.temspy_socket.SocketServerClient(mode, host='127.0.0.1', port=8083, temspy=None, tem=None)
- tem = None
- mode
- host = '127.0.0.1'
- port = 8083
- action_list = ['a', 'b', 'get_time', 'get_stem_beam', 'set_stem_beam', 'check_configuration',...
- client_socket = None
- server_socket = None
- tia_lock
- connect_temspy()
- disconnect()
- start()
- start_server()
- handle_client(client_socket)
- start_client()
- client_send_action(action=None)
- 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
- 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
- check_configuration(value)
- check_HAADF_position()
- click_HAADF()
- diff_into_imag()
- image_into_diff(DL)
- cred_temspy_setup(target_angle, velocity)
- cred_temspy_go()
- pyfast_adt.main.adaptor.microscope.temspy_socket.hostname