diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-12-21 18:45:45 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-12-21 18:45:45 (GMT) |
commit | f8cf0c25d2a487f8352cfa5933bdbc400aaa76e0 (patch) | |
tree | 30ca707f2ff40cb34d8264372efab5661c08bd00 /tksao/frame | |
parent | 67a5159fd9f5a4b933ce16a02d7a4ec498668332 (diff) | |
download | blt-f8cf0c25d2a487f8352cfa5933bdbc400aaa76e0.zip blt-f8cf0c25d2a487f8352cfa5933bdbc400aaa76e0.tar.gz blt-f8cf0c25d2a487f8352cfa5933bdbc400aaa76e0.tar.bz2 |
upgrade AST
Diffstat (limited to 'tksao/frame')
-rw-r--r-- | tksao/frame/base.C | 10 |
1 files 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; |