From f8cf0c25d2a487f8352cfa5933bdbc400aaa76e0 Mon Sep 17 00:00:00 2001 From: William Joye Date: Thu, 21 Dec 2017 13:45:45 -0500 Subject: upgrade AST --- tksao/frame/base.C | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tksao/frame/base.C b/tksao/frame/base.C index abace99..2d15a85 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -319,9 +319,6 @@ void Base::alignWCS(FitsImage* ptr, Coord::CoordSystem sys) calcAlignWCS(ptr, context->cfits, sys, wcsSystem_, wcsSky_, &wcsOrientation, &wcsOrientationMatrix, &wcsRotation, &zoom_); - - cerr << zoom_ << ' ' << wcsRotation << ' ' << radToDeg(wcsRotation) << endl; - cerr << wcsOrientationMatrix * Rotate(wcsRotation) * Scale(zoom_) << endl; } #else void Base::alignWCS(FitsImage* ptr, Coord::CoordSystem sys) @@ -688,10 +685,9 @@ Matrix Base::calcAlignWCS(FitsImage* fits1, FitsImage* fits2, double* fit = new double[ss]; double tol = 1; if (astLinearApprox(cvt, ll, ur, tol, fit) != AST__BAD) - rr = Matrix(fit[naxes2], fit[naxes2+1], - fit[naxes2+naxes1], fit[naxes2+naxes1+1], - fit[0], fit[1]); - + rr = Matrix(fit[naxes2], fit[naxes2+naxes1], + fit[naxes2+1], fit[naxes2+naxes1+1], + fit[0], fit[1]); if (fit) delete [] fit; -- cgit v0.12