Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add WCS map cutout method #1446
I added a make_cutout() following the one in SkyCube.
But in practise, I think the users will want to be able to make cutouts on all other axes as well, no?
Or can cutout remain only for spatial cuts, and then other axes extracted as needed?
@AtreyeeS - I left some quick inline comments.
Suggest to just do the spatial cutout in this PR, and discuss whether we want to combine slicing with other axes in the call tomorrow.
So this already works if you have extra non-spatial axes? If yes, please add a test case, or change the existing one to have one or two small extra axes.
@adonath - I'll leave the rest of the review and putting this in to you.