From c8b7038f671615f06f6c766c4378aa6d5c4d8490 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 22 Aug 2017 12:22:14 +0800 Subject: fits2skymodel.py: Change projection to "CAR" (Cartesian) --- astro/oskar/fits2skymodel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'astro/oskar') 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] -- cgit v1.2.2