Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the Zernike aberration calculated by this module different from that in MATLAB function? #14

Open
Ezreal147 opened this issue Oct 25, 2021 · 1 comment

Comments

@Ezreal147
Copy link

Ezreal147 commented Oct 25, 2021

This is the fourth term with a coefficient of 1 calculated by this module:
Figure_1

and this is calculated by matlab function:
untitled

the matlab function can be downloaded here.

So, why the results are different? Which is correct?

@danieleancora
Copy link

At a glance the results seems identical.
The colormap distorts your perception outside the circle, cause you have -1 with the Matlab representation and 0 with this module. Just export a .dat output and compare both by subtracting them element-wise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants