diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-08-12 18:44:01 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-08-12 18:44:01 (GMT) |
commit | 2dc6fd7bdb85b8e0c901b4978555217b5442df90 (patch) | |
tree | 3301065fc043a78bfb2e6d5692bde3e5492a315c /tksao/frame/vect.C | |
parent | 2b0d1fc5f0859859e21d15732fb0847aefdd0397 (diff) | |
download | blt-2dc6fd7bdb85b8e0c901b4978555217b5442df90.zip blt-2dc6fd7bdb85b8e0c901b4978555217b5442df90.tar.gz blt-2dc6fd7bdb85b8e0c901b4978555217b5442df90.tar.bz2 |
update wcs precision
Diffstat (limited to 'tksao/frame/vect.C')
-rw-r--r-- | tksao/frame/vect.C | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tksao/frame/vect.C b/tksao/frame/vect.C index 7e37435..9623e5e 100644 --- a/tksao/frame/vect.C +++ b/tksao/frame/vect.C @@ -68,9 +68,8 @@ void Vect::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, case Coord::PHYSICAL: case Coord::DETECTOR: case Coord::AMPLIFIER: - str << setprecision(parent->precLinear_) - << ptr->mapFromRef(p1,sys) << ',' - << rr << ','; + str << setprecision(parent->precLinear_) << ptr->mapFromRef(p1,sys) << ',' + << setprecision(parent->precLenLinear_) << rr << ','; break; default: listWCS(ptr,p1,sys,sky,format); @@ -81,9 +80,9 @@ void Vect::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, str.unsetf(ios_base::floatfield); } else - str << setprecision(parent->precLinear_) << rr << ',' ; + str << setprecision(parent->precLenLinear_) << rr << ',' ; } - str << setprecision(parent->precLinear_) << radToDeg(aa) << ')'; + str << setprecision(parent->precAngle_) << radToDeg(aa) << ')'; if (conj) str << " ||"; |