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 the pyoof_out/name directory, with name the name of the fits file.

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.

order : int

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

save_to_csv : list

It 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].