jacopoantonello / zernike

Python code for Zernike polynomials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about fitting

shz224 opened this issue · comments

Thanks for your code. I have a problem with fitting a complex array. Could you please give an example of fitting with data generated by ways except eval_grid()?

Fitting a complex array works for polar coordinates, see the last example in the home page (Example: fit Zernike polynomials in polar coordinates) and the test using complex data here. I'm not sure the code currently works for Cartesian coordinates, but it should be relatively easy to implement.

OK, thanks a lot for your reply.