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

Add CutoutImage class and SourceCatalog.make_cutouts method #1376

Merged
merged 9 commits into from Jul 1, 2022

Conversation

larrybradley
Copy link
Member

This PR adds a CutoutImage class for making cutouts.

This PR also adds a make_cutouts method to SourceCatalog, which can be used to make custom-shaped cutout images for each source in the catalog.

The PR also changes the SourceCatalog make_circular_apertures and make_kron_apertures methods to return an aperture object instead of a list with one aperture for scalar SourceCatalog objects.

@pep8speaks
Copy link

pep8speaks commented Jul 1, 2022

Hello @larrybradley! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-07-01 01:26:49 UTC

@larrybradley larrybradley merged commit 7641a01 into astropy:main Jul 1, 2022
@larrybradley larrybradley deleted the make-cutouts branch July 1, 2022 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants