pyfast_adt.main.beam_calibration
Classes
Module Contents
- class pyfast_adt.main.beam_calibration.BeamCalibration(cam_table)
- angle = None
- scaling_factor = None
- target_p = None
- target = None
- beam_coordinates = None
- cam_table
- input_list(beam_coordinates)
- 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)
- 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)
- pix_to_beamshift(target_p, angle_x, scaling_factor_x, angle_y, scaling_factor_y)
- beamshift_to_pix(target, angle_x, scaling_factor_x, angle_y, scaling_factor_y)
- apply_rotation(vector, theta=216.4, integer=True)
- apply_affine(vector, phi=216.4, integer=True)
- list_pix_to_beamshift(list_target_p=None, angle_x=0, scaling_factor_x=1, angle_y=0, scaling_factor_y=1, default=True)
- run_from_list(beam_coordinates=None, camera_size=None)