store_data_ascii

pyoof.store_data_ascii(name, name_dir, taper_name, order, params_solution, params_init)[source] [edit on github]

Stores in an ascii format the parameters found by the least squares minimization (see fit_beam).

Parameters:

name : str

File name of the fits file to be optimized.

name_dir : str

Path to store all the csv files. The files will depend on the order of the Zernike circle polynomial.

taper_name : str

Name of the illumination function taper.

order : int

Order used for the Zernike circle polynomial, \(n\).

params_solution : ndarray

Contains the best fitted parameters, the illumination function coefficients, I_coeff and the Zernike circle polynomial coefficients, K_coeff in one array.

params_init : ndarray

Contains the initial parameters used in the least squares minimization to start finding the best fitted combination of them.