aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/sky.py
Commit message (Collapse)AuthorAgeFilesLines
* sky.py: Add "area()" methodAaron LI2017-05-251-0/+21
| | | | | | XXX/FIXME --------- Consider the spherical coordination and WCS sky projection!!
* sky.py: Implement method "reproject_to()"Aaron LI2017-05-221-8/+102
| | | | | | | | | | This method reproject the given sky/image onto the grid of its own, using the ``reproject`` package [1]. However, the performance may be a problem and needs optimization or rewrite. [1] reproject: https://github.com/astrofrog/reproject
* sky/SkyPatch: Add wcs and region coverage checkAaron LI2017-05-221-0/+56
| | | | NOTE: only TAN sky projection supported.
* sky.py: Flatten 2D image of sky patch to 1D for easier processingAaron LI2017-05-211-14/+21
| | | | | Flatten the image array to 1D makes it similar to the HEALPix map array, therefore, it is easier to deal with both cases.
* Add sky.py to support both sky patch and HEALPix all-sky mapAaron LI2017-05-211-0/+272