aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/sky.py
Commit message (Collapse)AuthorAgeFilesLines
* Use [arcsec] as the unit for pixel size and resolutionAaron LI2017-07-191-13/+14
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* sky.py: Write PIXELSIZE, RA0, and DEC0 to header for patch skyAaron LI2017-06-191-0/+3
|
* sky.py: Fix mkdir when the directory name is emptyAaron LI2017-06-121-2/+2
|
* sky.py: Fix FITS header writeAaron LI2017-05-271-4/+8
|
* 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