diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-01-11 17:33:46 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-01-11 17:33:46 (GMT) |
commit | 59967dc4830146ff53bc64a33c00c70ef6021cb3 (patch) | |
tree | c06832c42d4b2b70053c6c6ad1e042c59f368acf /tksao/frame/composite.C | |
parent | aecffafa9daebb5d9ab0e366a75a9778a5a0d909 (diff) | |
download | blt-59967dc4830146ff53bc64a33c00c70ef6021cb3.zip blt-59967dc4830146ff53bc64a33c00c70ef6021cb3.tar.gz blt-59967dc4830146ff53bc64a33c00c70ef6021cb3.tar.bz2 |
clean up marker code
Diffstat (limited to 'tksao/frame/composite.C')
-rw-r--r-- | tksao/frame/composite.C | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tksao/frame/composite.C b/tksao/frame/composite.C index b50659f..0c77eb0 100644 --- a/tksao/frame/composite.C +++ b/tksao/frame/composite.C @@ -193,6 +193,7 @@ void Composite::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, FitsImage* ptr = parent->findFits(sys,center); listPre(str, sys, sky, ptr, strip, 1); + str << type_; switch (sys) { case Coord::IMAGE: case Coord::PHYSICAL: @@ -200,20 +201,20 @@ void Composite::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, case Coord::AMPLIFIER: { Vector vv = ptr->mapFromRef(center,sys); - str << type_ << '(' << setprecision(8) << vv << ',' + str << '(' << setprecision(8) << vv << ',' << radToDeg(parent->mapAngleFromRef(angle,sys)) << ')'; } break; default: if (ptr->hasWCSCel(sys)) { listRADEC(ptr,center,sys,sky,format); - str << type_ << '(' << ra << ',' << dec << ',' + str << '(' << ra << ',' << dec << ',' << setprecision(8) << radToDeg(parent->mapAngleFromRef(angle,sys,sky)) << ')'; } else { Vector vv = ptr->mapFromRef(center,sys); - str << type_ << '(' << setprecision(8) << vv << ',' + str << '(' << setprecision(8) << vv << ',' << radToDeg(parent->mapAngleFromRef(angle,sys)) << ')'; } } |