| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
scipy.ndimage.zoom calculate the output/zoomed image shape with round(),
while the old versions use int() instead. When the two calculations are
different, a warning is raised. This commit fixes the calculation
mismatch.
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
|
|
|
| |
* Brought back "clobber" property
* Delete the wrong "self.halos=[]"
* Fix the wrong assignment of "cimax0"
* Assign default values for {c,r}i{min,max}1
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
XXX/TODO: need implement this method for SkyHealpix as well!
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
|
| |
* Clean up the unused configurations
* Add "FREQ" keyword to the sky FITS header
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
Functions "{read,write}_fits_healpix()" merged into io.py
Signed-off-by: Aaron LI <aly@aaronly.me>
|
| |
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
Generate requested number of random points within the sky.
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
And some minor updates
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
Use "CAR" (Cartesian) projection instead of "TAN" (tangential) projection.
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
XXX/FIXME
---------
Consider the spherical coordination and WCS sky projection!!
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
NOTE: only TAN sky projection supported.
|
|
|
|
|
| |
Flatten the image array to 1D makes it similar to the HEALPix map array,
therefore, it is easier to deal with both cases.
|
|
|