pyfast_adt.main.beam_calibration ================================ .. py:module:: pyfast_adt.main.beam_calibration Classes ------- .. autoapisummary:: pyfast_adt.main.beam_calibration.BeamCalibration Module Contents --------------- .. py:class:: BeamCalibration(cam_table) .. py:attribute:: angle :value: None .. py:attribute:: scaling_factor :value: None .. py:attribute:: target_p :value: None .. py:attribute:: target :value: None .. py:attribute:: beam_coordinates :value: None .. py:attribute:: cam_table .. py:method:: input_list(beam_coordinates) .. py:method:: input(one, two, three, four) workflow to calibrate the beam shift in temscript space wrt the camera space. input the position from temscript of the user beam shift as tuple of 2 elements (x,y) .. py:method:: calculate_correlation(one_four_vec, two_three_vec, one_two_vec, four_three_vec, camera_size=(1024, 1024), cam_14_p=None, cam_23_p=None, cam_12_p=None, cam_43_p=None) .. py:method:: pix_to_beamshift(target_p, angle_x, scaling_factor_x, angle_y, scaling_factor_y) .. py:method:: beamshift_to_pix(target, angle_x, scaling_factor_x, angle_y, scaling_factor_y) .. py:method:: apply_rotation(vector, theta=216.4, integer=True) .. py:method:: apply_affine(vector, phi=216.4, integer=True) .. py:method:: list_pix_to_beamshift(list_target_p=None, angle_x=0, scaling_factor_x=1, angle_y=0, scaling_factor_y=1, default=True) .. py:method:: run_from_list(beam_coordinates=None, camera_size=None)