Skip to content
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

DM-38616: Update Sersic index/profile usage #25

Merged
merged 5 commits into from
Dec 8, 2023
Merged

Conversation

taranu
Copy link
Collaborator

@taranu taranu commented Dec 5, 2023

No description provided.

Copy link

@fred3m fred3m left a comment

Choose a reason for hiding this comment

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

LGTM, just one small comment.


i_knot_first = None
i_knot_last = n_knots
for i_knot, knot in enumerate(knots):
Copy link

Choose a reason for hiding this comment

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

It looks like you assume that knots is ordered by increasing sersic index. Is that something that you should check?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The ones from gauss2dfit are, and I didn't provide a way to override them here so it would take some effort for users to thwart this.

@taranu taranu merged commit 8942245 into main Dec 8, 2023
1 check passed
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.

2 participants