Sterncat / opticspy

python optics module
MIT License
448 stars 126 forks source link

Cartesian zernike polynomials #10

Closed fringedigm closed 7 years ago

fringedigm commented 7 years ago

The current circular zernike cartesian polynomials in zernikecartesian(coefficient,x,y) for Z29 and Z30 are inconsistent with their polar form. I think the cartesian forms should be: Z29 = Z[29] * 4y(35_r6-60_r*4+30r*2-4) Z30 = Z[30] \ 4x(35_r6-60_r*4+30r**2-4)

ghost commented 7 years ago

Are these fringe zernike polynomials?

Adam

On Thu, Sep 29, 2016 at 08:48:44AM -0700, fringedigm wrote:

The current circular zernike cartesian polynomials in zernikecartesian(coefficient,x,y) for Z29 and Z30 are inconsistent with their polar form. I think the cartesian forms should be: Z29 = Z[29] * 4y(35_r6-60_r*4+30r*2-4) Z30 = Z[30] \ 4x(35_r6-60_r*4+30r**2-4)

You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Sterncat/opticspy/issues/10

Sterncat commented 7 years ago

I think fringedigm is right, is should be -4 not +10. Thank you fringedigm!