summaryrefslogtreecommitdiffstats
path: root/tksao/frame/fitsmap.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-11-10 21:52:56 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-11-10 21:52:56 (GMT)
commit15f5271a23904beb595c8269b6d723b2743ef3bb (patch)
tree658860a2697874d834a334d95626e60257e96186 /tksao/frame/fitsmap.C
parent9e71ccb6ed107120b1e0a5f324a92c6529143d7e (diff)
downloadblt-15f5271a23904beb595c8269b6d723b2743ef3bb.zip
blt-15f5271a23904beb595c8269b6d723b2743ef3bb.tar.gz
blt-15f5271a23904beb595c8269b6d723b2743ef3bb.tar.bz2
update AST WCS
Diffstat (limited to 'tksao/frame/fitsmap.C')
-rw-r--r--tksao/frame/fitsmap.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/fitsmap.C b/tksao/frame/fitsmap.C
index 6f0e975..f9b220b 100644
--- a/tksao/frame/fitsmap.C
+++ b/tksao/frame/fitsmap.C
@@ -195,7 +195,7 @@ double FitsImage::mapLenFromRef(double dd, Coord::CoordSystem sys,
pt1[1] = wyy[1];
double out = astDistance(newast_,pt0,pt1);
- if (astWCSIsASkyFrame(newast_)) {
+ if (wcsIsASkyFrame(newast_)) {
out = radToDeg(out);
switch (dist) {
case Coord::DEGREE:
@@ -295,7 +295,7 @@ double FitsImage::mapLenToRef(double dd, Coord::CoordSystem sys,
maperr =0;
double rdd = dd;
- if (astWCSIsASkyFrame(newast_)) {
+ if (wcsIsASkyFrame(newast_)) {
rdd = degToRad(dd);
switch (dist) {
case Coord::DEGREE: