summaryrefslogtreecommitdiffstats
path: root/tksao/frame/epanda.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/epanda.C')
-rw-r--r--tksao/frame/epanda.C22
1 files changed, 12 insertions, 10 deletions
diff --git a/tksao/frame/epanda.C b/tksao/frame/epanda.C
index 6326ae6..7528b97 100644
--- a/tksao/frame/epanda.C
+++ b/tksao/frame/epanda.C
@@ -503,28 +503,30 @@ void Epanda::listA(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
case Coord::PHYSICAL:
case Coord::DETECTOR:
case Coord::AMPLIFIER:
- str << setprecision(parent->precLinear_)
- << ptr->mapFromRef(center,sys) << ','
- << a1 << ',' << a2 << ',' << numAngles_-1 << ','
- << r1 << ',' << r2 << ',' << numAnnuli_-1 << ',';
+ str << setprecision(parent->precLinear_) << ptr->mapFromRef(center,sys)
+ << ','
+ << setprecision(parent->precAngle_) << a1 << ',' << a2 << ',';
+ str << numAngles_-1 << ','
+ << setprecision(parent->precLenLinear_) << r1 << ',' << r2 << ',';
+ str << numAnnuli_-1 << ',';
break;
default:
listWCS(ptr,center,sys,sky,format);
str << ra << ',' << dec << ','
- << setprecision(parent->precLinear_) << a1 << ',' << a2 <<','
- << numAngles_-1 << ',';
+ << setprecision(parent->precAngle_) << a1 << ',' << a2 << ',';
+ str << numAngles_-1 << ',';
if (ptr->hasWCSCel(sys)) {
str << setprecision(parent->precArcsec_) << fixed << setunit('"')
<< setunit('"') << r1 << ',' << setunit('"') << r2 << ',';
str.unsetf(ios_base::floatfield);
- str << setprecision(parent->precLinear_) << numAnnuli_-1 << ',';
}
else
- str << setprecision(parent->precLinear_)
- << r1 << ',' << r2 << ',' << numAnnuli_-1 << ',';
+ str << setprecision(parent->precLenLinear_) << r1 << ',' << r2 << ',';
+
+ str << numAnnuli_-1 << ',';
}
- str << setprecision(parent->precLinear_) << radToDeg(aa) << ')';
+ str << setprecision(parent->precAngle_) << radToDeg(aa) << ')';
listPost(str, conj, strip);
}