Tookit to create sky masks in a pipeline way
Project description
Cutting pixelized sky masks in a pipeline way
Skykatana is a pacakge to create and maniputate boolean spatial masks on the celestial sphere, by combining healsparse pixel maps accounting for various effects such as cutting out regions around bright stars, low depth, bad seeing, extended sources, among others. We call these partial maps stages, which are then combined into a final mask.
For each stage you can generate random points, quickly visualize masks, do plots overlaying bright stars, and apply the mask to an arbitrary catalog to select sources located inside.
Although mainly designed to work with the HSC-SSP survey, it is flexible to accomodate other surveys such as the upcoming half-sky dataset of the Vera Rubin Observatory.
Main Class
SkyMaskPipe()
Main class for assembling and handling pixelized masks
Main Methods
build_footprint_mask(), build_patch_mask(), build_holes_mask(), etc
--> Generate maps for each stagecombine_mask()
--> Merge the maps created above to generate a final maskplot()
--> Visualize a mask stage by plotting randoms. Options to zoom, oveplot stars, etc.plot2compare()
--> Compare input sources on the left and a mask stage on the rightmakerans()
--> Generate randoms over a mask stageapply()
--> Cut out sources outside of a given mask stage
Dependencies
Install
pip install skykatana
- Clone the repo, switch to the pacakge directory and do
pip install .
. This has the advantage that you will get the latest version and all the files in /example_data (~210 MB)
Documentation
- A quick introductory notebook is availables here
- An indepth tutorial notebook can be found here
- The full documentation is available here
Credits
- Main author: Emilio Donoso
- Contributors: Mariano Dominguez, Claudio Lopez, Konstantin Malanchev
Acknowledgements
This software was partially developed with the generous support of the LINCC Frameworks Incubator Program using LINCC resources. The healsparse code was written by Eli Rykoff and Javier Sanchez
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for skykatana-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63b98d94d6ef011f8ad558c3ba098b1bec61a94caa31c3828eb678c0ebf32d9b |
|
MD5 | bbadc387cda9267cc2bcdca4594af990 |
|
BLAKE2b-256 | 0049965ff7cf0c3e48fe4719e0b8f82b8438b5f4892e3c7a4897e1f96de65811 |