Skip to content

Conversation

@suberlak
Copy link
Contributor

@suberlak suberlak commented Mar 5, 2025

Switching max_noll_index and the like of num_zks to explicitly defined noll_indices, which allows comparing dense vs sparse Zk fitting.

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

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,
Copy link

@jfcrenshaw jfcrenshaw Mar 5, 2025

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,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong type again

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

Successfully merging this pull request may close these issues.

3 participants