Changeset 478
- Timestamp:
- 02/18/05 11:56:04 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMath.cc
r457 r478 1021 1021 Float JyPerK, Bool doAll) const 1022 1022 // 1023 // etaAp = aperture efficiency 1024 // D = geometric diameter (m) 1023 // etaAp = aperture efficiency (-1 means find) 1024 // D = geometric diameter (m) (-1 means find) 1025 1025 // JyPerK 1026 1026 // … … 1072 1072 if (toKelvin) factor = 1.0 / JyPerK; 1073 1073 // 1074 cout << " Applying supplied conversion factor = " << factor<< endl;1074 cout << "Jy/K = " << JyPerK << endl; 1075 1075 Vector<Float> factors(in.nRow(), factor); 1076 1076 correctFromVector (pTabOut, in, doAll, factors); 1077 1077 } else if (etaAp>0.0) { 1078 factor *= SDAttr::findJyPerKFac (etaAp, D); 1078 Bool throwIt = True; 1079 Instrument inst = SDAttr::convertInstrument (sh.antennaname, throwIt); 1080 SDAttr sda; 1081 if (D < 0) D = sda.diameter(inst); 1082 Float JyPerK = SDAttr::findJyPerK (etaAp,D); 1083 cout << "Jy/K = " << JyPerK << endl; 1084 factor *= JyPerK; 1079 1085 if (toKelvin) { 1080 1086 factor = 1.0 / factor; 1081 1087 } 1082 1088 // 1083 cout << "Applying supplied conversion factor = " << factor << endl;1084 1089 Vector<Float> factors(in.nRow(), factor); 1085 1090 correctFromVector (pTabOut, in, doAll, factors); … … 1131 1136 1132 1137 Bool throwIt = True; 1133 Instrument inst = SD MemTable::convertInstrument (sh.antennaname, throwIt);1138 Instrument inst = SDAttr::convertInstrument (sh.antennaname, throwIt); 1134 1139 1135 1140 // Set polynomial … … 1281 1286 1282 1287 Bool throwIt = True; 1283 Instrument inst = SD MemTable::convertInstrument (sh.antennaname, throwIt);1288 Instrument inst = SDAttr::convertInstrument (sh.antennaname, throwIt); 1284 1289 1285 1290 // Get Diameter (m)
Note:
See TracChangeset
for help on using the changeset viewer.