store_data_csv¶
-
pyoof.store_data_csv(name, name_dir, order, save_to_csv)[source] [edit on github]¶ Stores all important information in a csv file after the least squares minimization has finished,
fit_beam. All data will be stores in thepyoof_out/namedirectory, withnamethe name of the fits file.Parameters: name :
strFile name of the fits file to be optimized.
name_dir :
strPath to store all the csv files. The files will depend on the order of the Zernike circle polynomial.
order :
intOrder used for the Zernike circle polynomial, \(n\).
save_to_csv :
listIt contains all data that will be stored. The list must have the following order,
[beam_data, u_data, v_data, res_optim, jac_optim, grad_optim, phase, cov_ptrue, corr_ptrue].