API
 
Loading...
Searching...
No Matches
adcCtrl.AdcFitter Class Reference
Collaboration diagram for adcCtrl.AdcFitter:
Collaboration graph

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
 

Detailed Description

Definition at line 19 of file adcCtrl.py.

Constructor & Destructor Documentation

◆ __init__()

adcCtrl.AdcFitter.__init__ (   self,
  wavelength = 656E-9,
  bandwidth = 100E-9,
  grating_angle = -28,
  grating_freq = 47 
)

Definition at line 20 of file adcCtrl.py.

Member Function Documentation

◆ calculate_command()

adcCtrl.AdcFitter.calculate_command (   self,
  speckle_angles 
)

Definition at line 150 of file adcCtrl.py.

◆ clear()

adcCtrl.AdcFitter.clear (   self)

Definition at line 155 of file adcCtrl.py.

◆ cost()

adcCtrl.AdcFitter.cost (   self,
  theta 
)

Definition at line 48 of file adcCtrl.py.

Referenced by adcCtrl.AdcFitter.fit(), and utils.AdcFitter.fit().

◆ crop_image()

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().

◆ estimate_angle()

adcCtrl.AdcFitter.estimate_angle (   self)

◆ estimate_centroid()

adcCtrl.AdcFitter.estimate_centroid (   self)

◆ filter_image()

adcCtrl.AdcFitter.filter_image (   self,
  img,
  low_freq = 0.01,
  high_freq = 1 
)

Definition at line 191 of file adcCtrl.py.

◆ find_speckle()

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().

◆ find_speckle_angles2()

adcCtrl.AdcFitter.find_speckle_angles2 (   self)

Definition at line 109 of file adcCtrl.py.

◆ fit()

adcCtrl.AdcFitter.fit (   self,
  theta_est 
)

◆ make_gaussian()

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().

◆ 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().

◆ set_control_mtx()

adcCtrl.AdcFitter.set_control_mtx (   self,
  matrix 
)

Definition at line 159 of file adcCtrl.py.

◆ set_measurement()

adcCtrl.AdcFitter.set_measurement (   self,
  data 
)

◆ set_psf()

adcCtrl.AdcFitter.set_psf (   self,
  psf 
)

Definition at line 106 of file adcCtrl.py.

◆ speckle_pairs()

adcCtrl.AdcFitter.speckle_pairs (   self,
  speckle_angles 
)

Definition at line 145 of file adcCtrl.py.

◆ window_field()

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().

Member Data Documentation

◆ bandwidth

adcCtrl.AdcFitter.bandwidth

Definition at line 22 of file adcCtrl.py.

◆ control_mtx

◆ current_speckle

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().

◆ data

◆ grating_angle

adcCtrl.AdcFitter.grating_angle

Definition at line 23 of file adcCtrl.py.

Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().

◆ grating_freq

adcCtrl.AdcFitter.grating_freq

Definition at line 24 of file adcCtrl.py.

Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().

◆ maxiter

adcCtrl.AdcFitter.maxiter

Definition at line 27 of file adcCtrl.py.

Referenced by adcCtrl.AdcFitter.fit(), and utils.AdcFitter.fit().

◆ normalized_bandwidth

adcCtrl.AdcFitter.normalized_bandwidth

Definition at line 26 of file adcCtrl.py.

◆ normalized_wavelength

adcCtrl.AdcFitter.normalized_wavelength

Definition at line 25 of file adcCtrl.py.

Referenced by adcCtrl.AdcFitter.find_speckle(), and utils.AdcFitter.find_speckle().

◆ psf

◆ wavelength

adcCtrl.AdcFitter.wavelength

Definition at line 21 of file adcCtrl.py.


The documentation for this class was generated from the following file: