Open carterbox opened 2 years ago
I've been playing with Zernike-basis transforms of a reconstructed probe from some real data. I'm a bit concerned that zernike polynomials are not a good basis because the number of basis vectors needed to accurately represent the probe is approaching the number of pixels in the probe.
We need like degree 40 polynomials which is 861 polynomials to get moderately high details.
Nicely done, you got this working quickly. I like that image. I have several questions on implementation details that might help. Maybe we can discuss tomorrow. One useful thing to look at is a bar chart of the Zernike coefficients. It can provide some insight into what is going on.
Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
src/tike/zernike.py
:Line 18:81: E501 line too long (1320 > 80 characters) Line 162:81: E501 line too long (95 > 80 characters)
tests/operators/test_zernike.py
:Line 29:81: E501 line too long (84 > 80 characters)
tests/test_zernike.py
:Line 94:81: E501 line too long (87 > 80 characters) Line 148:81: E501 line too long (88 > 80 characters)
Purpose
Approach
Pre-Merge Checklists
Submitter
Reviewer