pyfast_adt.main.adaptor.microscope.adaptor_tem

Classes

Tem_base

every angle for moving the satge must be in deg as input and output, velocity for the stage in radian/s and um for the stage xyz movement

Module Contents

class pyfast_adt.main.adaptor.microscope.adaptor_tem.Tem_base

Bases: abc.ABC

every angle for moving the satge must be in deg as input and output, velocity for the stage in radian/s and um for the stage xyz movement

var = None
x = 0
y = 0
beam_intensity_1 = None
beam_intensity_2 = None
abstract move_stage_up(stage_ampl)

‘ take a float as stage ampl (um) and move the stage on +y of that quantity, rotation and scale to um already inside

abstract move_stage_down(stage_ampl)
abstract move_stage_left(stage_ampl)
abstract move_stage_right(stage_ampl)
abstract move_stage_z_up(stage_ampl)
abstract move_stage_z_down(stage_ampl)
abstract move_beam_up(beam_ampl)
abstract move_beam_down(beam_ampl)
abstract move_beam_left(beam_ampl)
abstract move_beam_right(beam_ampl)
abstract diffraction(checked_diff_value, kl=None)
abstract euc_focus()
abstract wobbler(checked_wobbler_value)
abstract move_screen(checked_screen_value)
abstract get_screen_position()
abstract beam_blank(checked_blank_value)
abstract apply_rotation(vector, theta=212)
abstract fake()
abstract get_stage(standard=False)
abstract set_stage_position(x=None, y=None, z=None, a=None, b=None)
abstract get_beam_shift()
abstract set_beam_shift(beam_pos)
abstract connect(ip, port)
abstract get_projection_mode()
abstract set_magnification(mag_value)
abstract get_magnification()
abstract set_KL(kl_value)
abstract get_KL()
abstract get_intensity(slot=0)

slot: 0,1,2, where 0 is not store the c2% value, 1 is store in beam_intensity_1, and 2 in the beam_intensity_2

abstract set_intensity(intensity=0, slot=0)
abstract load_calibration_table(cam_table)
abstract set_alpha(angle, velocity=1)
abstract microscope_thread_setup(tracking_file='tracking.txt', tracking_dict=None)
abstract calc_stage_speed(speed)
abstract beamshift_tracking(tracking_dict, result)
abstract beamshift_tracking_stem(tracking_dict, result)
abstract get_voltage()
abstract get_illumination_mode()
abstract set_illumination_mode(mode)
abstract get_instrument_mode()
abstract set_instrument_mode(mode)