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) | |
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 | |
Definition at line 19 of file adcCtrl.py.
adcCtrl.AdcFitter.__init__ | ( | self, | |
wavelength = 656E-9 , |
|||
bandwidth = 100E-9 , |
|||
grating_angle = -28 , |
|||
grating_freq = 47 |
|||
) |
Definition at line 20 of file adcCtrl.py.
adcCtrl.AdcFitter.calculate_command | ( | self, | |
speckle_angles | |||
) |
Definition at line 150 of file adcCtrl.py.
adcCtrl.AdcFitter.clear | ( | self | ) |
Definition at line 155 of file adcCtrl.py.
adcCtrl.AdcFitter.cost | ( | self, | |
theta | |||
) |
Definition at line 48 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.fit(), and utils.AdcFitter.fit().
adcCtrl.AdcFitter.crop_image | ( | self, | |
image, | |||
extent = 400 , |
|||
mask_diam = 60 |
|||
) |
Definition at line 170 of file adcCtrl.py.
Referenced by utils.AdcFitter.crop_cube().
adcCtrl.AdcFitter.estimate_angle | ( | self | ) |
Definition at line 76 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
adcCtrl.AdcFitter.estimate_centroid | ( | self | ) |
Definition at line 68 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
adcCtrl.AdcFitter.filter_image | ( | self, | |
img, | |||
low_freq = 0.01 , |
|||
high_freq = 1 |
|||
) |
Definition at line 191 of file adcCtrl.py.
adcCtrl.AdcFitter.find_speckle | ( | self, | |
image, | |||
speckle_number | |||
) |
speckles are indexed from the top right going counter clockwise
Definition at line 94 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
adcCtrl.AdcFitter.find_speckle_angles2 | ( | self | ) |
Definition at line 109 of file adcCtrl.py.
adcCtrl.AdcFitter.fit | ( | self, | |
theta_est | |||
) |
Definition at line 64 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
adcCtrl.AdcFitter.make_gaussian | ( | self, | |
mu_x, | |||
mu_y, | |||
sigma_x, | |||
sigma_y, | |||
orientation | |||
) |
Definition at line 34 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.satellite_spot(), and utils.AdcFitter.satellite_spot().
adcCtrl.AdcFitter.satellite_spot | ( | self, | |
amplitude, | |||
mu_x, | |||
mu_y, | |||
sigma_x, | |||
sigma_y, | |||
orientation, | |||
background | |||
) |
Definition at line 43 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.cost(), and utils.AdcFitter.cost().
adcCtrl.AdcFitter.set_control_mtx | ( | self, | |
matrix | |||
) |
Definition at line 159 of file adcCtrl.py.
adcCtrl.AdcFitter.set_measurement | ( | self, | |
data | |||
) |
Definition at line 31 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
adcCtrl.AdcFitter.set_psf | ( | self, | |
psf | |||
) |
Definition at line 106 of file adcCtrl.py.
adcCtrl.AdcFitter.speckle_pairs | ( | self, | |
speckle_angles | |||
) |
Definition at line 145 of file adcCtrl.py.
adcCtrl.AdcFitter.window_field | ( | self, | |
data, | |||
center, | |||
width, | |||
height | |||
) |
Definition at line 163 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.crop_image(), and utils.AdcFitter.crop_image().
adcCtrl.AdcFitter.bandwidth |
Definition at line 22 of file adcCtrl.py.
adcCtrl.AdcFitter.control_mtx |
Definition at line 28 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.calculate_command(), utils.AdcFitter.calculate_command(), adcCtrl.AdcFitter.set_control_mtx(), and utils.AdcFitter.set_control_mtx().
adcCtrl.AdcFitter.current_speckle |
boundary condition for the aspect ratio
Definition at line 29 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.cost(), utils.AdcFitter.cost(), adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
adcCtrl.AdcFitter.data |
Definition at line 32 of file adcCtrl.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().
adcCtrl.AdcFitter.grating_angle |
Definition at line 23 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().
adcCtrl.AdcFitter.grating_freq |
Definition at line 24 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().
adcCtrl.AdcFitter.maxiter |
Definition at line 27 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.fit(), and utils.AdcFitter.fit().
adcCtrl.AdcFitter.normalized_bandwidth |
Definition at line 26 of file adcCtrl.py.
adcCtrl.AdcFitter.normalized_wavelength |
Definition at line 25 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().
adcCtrl.AdcFitter.psf |
Definition at line 107 of file adcCtrl.py.
Referenced by adcCtrl.AdcFitter.clear(), utils.AdcFitter.clear(), adcCtrl.AdcFitter.find_speckle_angles2(), and utils.AdcFitter.find_speckle_angles2().
adcCtrl.AdcFitter.wavelength |
Definition at line 21 of file adcCtrl.py.