-
Notifications
You must be signed in to change notification settings - Fork 0
Tickets/DM-49286: sparse Noll Zernike mode #53
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
base: develop
Are you sure you want to change the base?
Conversation
| noll_indices = [int(col[1:]) for col in zk_cols] | ||
| # The first row contains the detector average | ||
| zk_avg_row = zernikes[zernikes["label"] == "average"] | ||
| # Each QTable column contains units, hence we convert with astropo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: astropo --> astropy
| imsim_log_file: str, | ||
| wep_estimator_method: str, | ||
| max_noll_index: int, | ||
| noll_indices: int, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong type hint. Probably should be list
| parser.add_argument( | ||
| "--max_noll_index", | ||
| "--noll_indices", | ||
| type=int, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong type again
Switching
max_noll_indexand the like ofnum_zksto explicitly definednoll_indices, which allows comparing dense vs sparse Zk fitting.