aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-08-22 12:22:14 +0800
committerAaron LI <aly@aaronly.me>2017-08-22 12:22:14 +0800
commitc8b7038f671615f06f6c766c4378aa6d5c4d8490 (patch)
tree5cf60965080eccb528b03f941fdd64399afb233d /astro
parentdf43b4299b0c78705bacd4faca7dc8ee7c4dac43 (diff)
downloadatoolbox-c8b7038f671615f06f6c766c4378aa6d5c4d8490.tar.bz2
fits2skymodel.py: Change projection to "CAR" (Cartesian)
Diffstat (limited to 'astro')
-rwxr-xr-xastro/oskar/fits2skymodel.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/astro/oskar/fits2skymodel.py b/astro/oskar/fits2skymodel.py
index c07c9de..46fe883 100755
--- a/astro/oskar/fits2skymodel.py
+++ b/astro/oskar/fits2skymodel.py
@@ -62,11 +62,12 @@ class SkyModel:
instead of the above ``minvalue``.
NOTE: this overwrite the above ``minvalue`` if provided.
projection : str, optional
- The WCS projection for the image; default "TAN"
+ The WCS projection for the image;
+ Default: "CAR" (Cartesian)
TODO: support "SIN" etc.
"""
def __init__(self, image, freq, pixelsize, ra0, dec0,
- minvalue=1e-4, mask=None, projection="TAN"):
+ minvalue=1e-4, mask=None, projection="CAR"):
self.image = image # [K] (brightness temperature)
self.freq = freq # [MHz]
self.pixelsize = pixelsize # [arcsec]