zernike icon indicating copy to clipboard operation
zernike copied to clipboard

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

Open Ezreal147 opened this issue 3 years ago • 1 comments

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?

Ezreal147 avatar Oct 25 '21 11:10 Ezreal147

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.

danieleancora avatar Mar 21 '22 15:03 danieleancora