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

Feature/jax merge #215

Open
wants to merge 46 commits into
base: feature/jax_wrapper
Choose a base branch
from
Open

Feature/jax merge #215

wants to merge 46 commits into from

Conversation

Jammy2211
Copy link
Owner

Update feature/jax_wrapper with changes from main

Comment on lines +50 to +51
if fit.children is not None:
if len(fit.children) > 0:
Copy link
Collaborator

Choose a reason for hiding this comment

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

None and empty array are both falsey

if fit.children:
    ...

Comment on lines +50 to +51
print("clicked on the pixel:", y_pixels, x_pixels)
print("Max flux pixel:", y_pixels_max, x_pixels_max)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Replace print statements with logging?

#
# fit = ag.FitEllipse(dataset=imaging_lh, ellipse=ellipse_0)
#
# assert fit.mask_interp == pytest.approx([False, False, False, False, False], 1.0e-4)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Commented test?

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