Changeset 363
- Timestamp:
- 02/03/05 16:45:28 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMath.cc
r354 r363 1160 1160 ROScalarColumn<Float> elev(tab, "ELEVATION"); 1161 1161 Vector<Float> x = elev.getColumn(); 1162 x *= Float(180 / C::pi); 1162 x *= Float(180 / C::pi); // Degrees 1163 1163 // 1164 1164 const uInt nC = coeffs.nelements(); … … 1186 1186 msg = String("user"); 1187 1187 } else { 1188 if (inst==ATPKSMB) { 1189 } else if (inst==ATPKSHOH) { 1190 } else if (inst==TIDBINBILLA) { 1191 pPoly = new Polynomial<Float>(3); 1192 coeff.resize(3); 1193 coeff(0) = 3.58788e-1; 1194 coeff(1) = 2.87243e-2; 1195 coeff(2) = -3.219093e-4; 1196 } else if (inst==ATMOPRA) { 1197 } else { 1198 } 1188 SDAttr sdAttr; 1189 coeff = sdAttr.gainElevationPoly(inst); 1190 pPoly = new Polynomial<Float>(3); 1199 1191 msg = String("built in"); 1200 1192 } … … 1203 1195 pPoly->setCoefficients(coeff); 1204 1196 } else { 1205 throw(AipsError("There is no known gain-el polynomial known for this instrument"));1197 throw(AipsError("There is no known gain-elevation polynomial known for this instrument")); 1206 1198 } 1207 1199 // … … 1303 1295 // 1304 1296 Vector<Float> JyPerK = sdAtt.JyPerK(inst, dateObs, freqs); 1297 cerr << "Jy/K = " << JyPerK << endl; 1305 1298 Vector<Float> factors = cFac * JyPerK; 1306 1299 if (toKelvin) factors = Float(1.0) / factors;
Note:
See TracChangeset
for help on using the changeset viewer.