-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Why is mask not applied to Spectrum1D when present? #585
Comments
I'm not clear why #142 was closed, but hopefully this answer will suffice: The So it's a close analogy with numpy masked arrays. The So the idiom intended in Does that answer the question? If so I think this issue should be left open until something about the above can be put in the |
I guess I disagree that it should fall to the user to interpret the mask in |
@pllim - a middle option discussed else where was to implement a The trouble in spacetelescope/synphot_refactor#243 is that a There is yet another alternative we have not yet discussed which could be done: have a method or attribute or something along the lines of |
I am basically re-asking the question in #142 that was closed without explanation. In spacetelescope/synphot_refactor#243 , I feel like it is not
synphot
's job to apply the mask forspecutils
. I expectspecutils
to mask out unwanted data when accessed if there is a mask. Why is this not the case? Thanks.Take this as example:
What I see:
What I thought I would see:
While I understand that Astropy does not yet support masked quantity natively (xref astropy/astropy#1852), perhaps
specutils
can work around that limitation for now?The text was updated successfully, but these errors were encountered: