summaryrefslogtreecommitdiffstats
path: root/tksao/frame/fitsimage.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-10-12 21:51:23 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-10-12 21:51:23 (GMT)
commitb84d542d77c93a6b5733871dbd122f8f0e15fa46 (patch)
tree656b93f0bc99a7048a24e7b649199a45064846de /tksao/frame/fitsimage.h
parentf649616d7a7c3cd809a31560c6e2cb438241392e (diff)
downloadblt-b84d542d77c93a6b5733871dbd122f8f0e15fa46.zip
blt-b84d542d77c93a6b5733871dbd122f8f0e15fa46.tar.gz
blt-b84d542d77c93a6b5733871dbd122f8f0e15fa46.tar.bz2
update to new AST WCS
Diffstat (limited to 'tksao/frame/fitsimage.h')
-rw-r--r--tksao/frame/fitsimage.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/tksao/frame/fitsimage.h b/tksao/frame/fitsimage.h
index ed157cf..636320f 100644
--- a/tksao/frame/fitsimage.h
+++ b/tksao/frame/fitsimage.h
@@ -142,7 +142,7 @@ class FitsImage {
void wcsShow(WorldCoor*);
void astinit(int, FitsHead*, FitsHead*);
void astinit0(int, FitsHead*, FitsHead*);
- int checkAst(double, double);
+ int checkAstWCS(double, double);
AstFrameSet* fits2ast(FitsHead*);
AstFrameSet* buildast(int, FitsHead*, FitsHead*);
AstFrameSet* buildast0(int, FitsHead*, FitsHead*);
@@ -394,11 +394,14 @@ class FitsImage {
double getWCSPixelArea(Coord::CoordSystem);
#endif
+ void astWCSTran(AstFrameSet*, int npoint, const double*, const double*,
+ int, double*, double*);
+
#ifdef NEWWCS
- void setAstSystem(AstFrameSet*, Coord::CoordSystem);
+ void setAstWCSSystem(AstFrameSet*, Coord::CoordSystem);
#endif
- void setAstSkyFrame(AstFrameSet*, Coord::SkyFrame);
- void setAstFormat(AstFrameSet*, int, const char*);
+ void setAstWCSSkyFrame(AstFrameSet*, Coord::SkyFrame);
+ void setAstWCSFormat(AstFrameSet*, int, const char*);
AstFrameSet* getAST(Coord::CoordSystem sys)
{return (ast_ && ast_[sys-Coord::WCS]) ? ast_[sys-Coord::WCS] : NULL;}