Public Member Functions | |
__init__ (self, wavelength=656E-9, bandwidth=100E-9, grating_angle=28, grating_freq=47) | |
set_measurement (self, data) | |
make_gaussian (self, mu_x, mu_y, sigma_x, sigma_y, orientation) | |
satellite_spot (self, amplitude, mu_x, mu_y, sigma_x, sigma_y, orientation, background) | |
cost (self, theta) | |
fit (self, theta_est) | |
estimate_centroid (self) | |
estimate_angle (self) | |
find_speckle (self, image, speckle_number) | |
set_psf (self, psf) | |
find_speckle_angles2 (self) | |
speckle_pairs (self, speckle_angles) | |
calculate_command (self, speckle_angles) | |
clear (self) | |
set_control_mtx (self, matrix) | |
window_field (self, data, center, width, height) | |
crop_image (self, image, extent=400, mask_diam=60) | |
crop_cube (self, data_cube, extent=400, mask_diam=60) | |
filter_image (self, img, low_freq=0.01, high_freq=1) | |
Public Attributes | |
wavelength | |
bandwidth | |
grating_angle | |
grating_freq | |
normalized_wavelength | |
normalized_bandwidth | |
maxiter | |
control_mtx | |
current_speckle | |
boundary condition for the aspect ratio | |
data | |
psf | |
utils.AdcFitter.__init__ | ( | self, | |
wavelength = 656E-9 , |
|||
bandwidth = 100E-9 , |
|||
grating_angle = 28 , |
|||
grating_freq = 47 |
|||
) |
utils.AdcFitter.cost | ( | self, | |
theta | |||
) |
Definition at line 37 of file utils.py.
Referenced by adcCtrl.AdcFitter.fit(), and utils.AdcFitter.fit().
utils.AdcFitter.crop_cube | ( | self, | |
data_cube, | |||
extent = 400 , |
|||
mask_diam = 60 |
|||
) |
utils.AdcFitter.crop_image | ( | self, | |
image, | |||
extent = 400 , |
|||
mask_diam = 60 |
|||
) |
Definition at line 163 of file utils.py.
Referenced by utils.AdcFitter.crop_cube().
utils.AdcFitter.estimate_angle | ( | self | ) |
Definition at line 66 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
utils.AdcFitter.estimate_centroid | ( | self | ) |
Definition at line 58 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
utils.AdcFitter.filter_image | ( | self, | |
img, | |||
low_freq = 0.01 , |
|||
high_freq = 1 |
|||
) |
utils.AdcFitter.find_speckle | ( | self, | |
image, | |||
speckle_number | |||
) |
speckles are indexed from the top right going counter clockwise
Definition at line 84 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
utils.AdcFitter.fit | ( | self, | |
theta_est | |||
) |
Definition at line 54 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
utils.AdcFitter.make_gaussian | ( | self, | |
mu_x, | |||
mu_y, | |||
sigma_x, | |||
sigma_y, | |||
orientation | |||
) |
Definition at line 23 of file utils.py.
Referenced by adcCtrl.AdcFitter.satellite_spot(), and utils.AdcFitter.satellite_spot().
utils.AdcFitter.satellite_spot | ( | self, | |
amplitude, | |||
mu_x, | |||
mu_y, | |||
sigma_x, | |||
sigma_y, | |||
orientation, | |||
background | |||
) |
Definition at line 32 of file utils.py.
Referenced by adcCtrl.AdcFitter.cost(), and utils.AdcFitter.cost().
utils.AdcFitter.set_measurement | ( | self, | |
data | |||
) |
Definition at line 20 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
utils.AdcFitter.window_field | ( | self, | |
data, | |||
center, | |||
width, | |||
height | |||
) |
Definition at line 156 of file utils.py.
Referenced by adcCtrl.AdcFitter.crop_image(), and utils.AdcFitter.crop_image().
utils.AdcFitter.control_mtx |
Definition at line 16 of file utils.py.
Referenced by adcCtrl.AdcFitter.calculate_command(), utils.AdcFitter.calculate_command(), adcCtrl.AdcFitter.set_control_mtx(), and utils.AdcFitter.set_control_mtx().
utils.AdcFitter.current_speckle |
boundary condition for the aspect ratio
Definition at line 17 of file utils.py.
Referenced by adcCtrl.AdcFitter.cost(), utils.AdcFitter.cost(), adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
utils.AdcFitter.data |
Definition at line 21 of file utils.py.
Referenced by adcCtrl.AdcFitter.clear(), utils.AdcFitter.clear(), adcCtrl.AdcFitter.cost(), utils.AdcFitter.cost(), adcCtrl.AdcFitter.estimate_angle(), utils.AdcFitter.estimate_angle(), adcCtrl.AdcFitter.estimate_centroid(), utils.AdcFitter.estimate_centroid(), adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
utils.AdcFitter.grating_angle |
Definition at line 11 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().
utils.AdcFitter.grating_freq |
Definition at line 12 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().
utils.AdcFitter.maxiter |
Definition at line 15 of file utils.py.
Referenced by adcCtrl.AdcFitter.fit(), and utils.AdcFitter.fit().
utils.AdcFitter.normalized_wavelength |
Definition at line 13 of file utils.py.
Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().
utils.AdcFitter.psf |
Definition at line 99 of file utils.py.
Referenced by adcCtrl.AdcFitter.clear(), utils.AdcFitter.clear(), adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().