diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-12-03 20:57:22 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-12-03 20:57:22 (GMT) |
commit | 4294afb4810615addc9ab815489f008a2dcce97b (patch) | |
tree | bf20a87b1e4c6a398f16489f165df6bbd1c81f30 /tksao/frame/fitsmap.C | |
parent | 09c1d4cb79f1441496143118fb94513829ba1500 (diff) | |
download | blt-4294afb4810615addc9ab815489f008a2dcce97b.zip blt-4294afb4810615addc9ab815489f008a2dcce97b.tar.gz blt-4294afb4810615addc9ab815489f008a2dcce97b.tar.bz2 |
update AST WCS
Diffstat (limited to 'tksao/frame/fitsmap.C')
-rw-r--r-- | tksao/frame/fitsmap.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tksao/frame/fitsmap.C b/tksao/frame/fitsmap.C index 2e28382..17d2369 100644 --- a/tksao/frame/fitsmap.C +++ b/tksao/frame/fitsmap.C @@ -518,7 +518,7 @@ void FitsImage::listDistFromRef(ostream& str, // 3D -double FitsImage::mapFromRef3axis(double vv, Coord::CoordSystem out, int ss) +double FitsImage::mapFromRef3axis(double vv, Coord::CoordSystem out) { switch (out) { case Coord::IMAGE: @@ -527,11 +527,11 @@ double FitsImage::mapFromRef3axis(double vv, Coord::CoordSystem out, int ss) case Coord::DETECTOR: return vv+.5; default: - return pix2wcsx(vv+.5,out,ss); + return pix2wcsx(vv+.5,out); } } -double FitsImage::mapToRef3axis(double vv, Coord::CoordSystem in, int ss) +double FitsImage::mapToRef3axis(double vv, Coord::CoordSystem in) { switch (in) { case Coord::IMAGE: @@ -540,6 +540,6 @@ double FitsImage::mapToRef3axis(double vv, Coord::CoordSystem in, int ss) case Coord::DETECTOR: return vv-.5; default: - return wcs2pixx(vv,in,ss) -.5; + return wcs2pixx(vv,in) -.5; } } |