-
Notifications
You must be signed in to change notification settings - Fork 3
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 #64
feature/jax #64
Conversation
y = data.apply_mask(mask=np.invert(fpr_mask)).binned_across_columns | ||
y = data.apply_mask(mask=fpr_mask).binned_across_columns |
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.
I don't really know what happened here but for some reason the test only passed without the inversion. If it looks dodgy I'll investigate further
mask=aa.Mask1D( | ||
sum(mask_1d_list) == len(mask_1d_list), | ||
pixel_scales=mask_1d_list[0].pixel_scales, | ||
), |
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.
Masks aren't arrays anymore so this had to be cast back explicitly. I might try to make it implicit again
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.
Actually I'm not totally sure what the point of this operation is
Changes to support new jax compliant autoarray