diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-11-28 20:26:52 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-11-28 20:26:52 (GMT) |
commit | ab9b53b6698ddb7197d44d48aca194351238c080 (patch) | |
tree | 5f8b4353ca4f669559a564bcb7adb952c8e15bea /tksao/frame | |
parent | 7867ac21b4d981a343543bdf1846f7ff1a8de072 (diff) | |
download | blt-ab9b53b6698ddb7197d44d48aca194351238c080.zip blt-ab9b53b6698ddb7197d44d48aca194351238c080.tar.gz blt-ab9b53b6698ddb7197d44d48aca194351238c080.tar.bz2 |
update AST WCS
Diffstat (limited to 'tksao/frame')
-rw-r--r-- | tksao/frame/fitsimage.C | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tksao/frame/fitsimage.C b/tksao/frame/fitsimage.C index 399a2a1..2dce247 100644 --- a/tksao/frame/fitsimage.C +++ b/tksao/frame/fitsimage.C @@ -4335,7 +4335,10 @@ double FitsImage::wcsAngle(AstFrameSet* ast, Vector* vv) cc[0]= vv[2][0]; cc[1]= vv[2][1]; - return astAngle(newast_,aa,bb,cc); + double xx= astAngle(newast_,aa,bb,cc); + double yy= astAngle(newast_,vv[0].v,vv[1].v,vv[2].v); + cerr << xx << '=' << yy << endl; + return xx; } double FitsImage::wcsAxAngle(AstFrameSet* ast, Vector* vv) |