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 request - masks from apertures #259

Closed
keflavich opened this issue Mar 30, 2015 · 6 comments
Closed

Feature request - masks from apertures #259

keflavich opened this issue Mar 30, 2015 · 6 comments

Comments

@keflavich
Copy link
Contributor

This may be better thought of as a pyregion issue, but it is relevant to the existing photutils setup and highlights some of the overlap between the two packages.

I would like to be able to return a 2D mask from an image given an input aperture (either Sky or pixel). Both a boolean mask (containing all overlap or all contained pixels) and a floating-point fractional pixel mask could be useful depending on the situation.

This is also related to #161, but specifically about 2D masks.

@larrybradley
Copy link
Member

@keflavich This is a good suggestion and it was actually how I thought about approaching #161. I've been a bit swamped lately, but I hope to get to this soon.

@pllim
Copy link
Member

pllim commented Jun 13, 2016

I was just looking for this feature and sad to find that it does not exist...

@larrybradley
Copy link
Member

Patience, @pllim. I'm working on it.

@pllim
Copy link
Member

pllim commented Jun 13, 2016

So far, I can get around it by getting the fractions out of the aperture and build a mask off it. But you said you're going to remove the fractions, so please keep me updated. Thanks!

@rjavila
Copy link

rjavila commented Oct 3, 2016

Oh I could really use this right now.

@larrybradley
Copy link
Member

This feature was added in #453. See the ApertureMask object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants