zernike
zernike copied to clipboard
Why is the Zernike aberration calculated by this module different from that in MATLAB function?
This is the fourth term with a coefficient of 1 calculated by this module:
and this is calculated by matlab function:
the matlab function can be downloaded here.
So, why the results are different? Which is correct?
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.