Changeset 878 for trunk/src/STMath.cpp
- Timestamp:
- 03/06/06 12:23:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r867 r878 36 36 #include "MathUtils.h" 37 37 #include "RowAccumulator.h" 38 #include "S DAttr.h"38 #include "STAttr.h" 39 39 #include "STMath.h" 40 40 … … 536 536 Bool throwit = True; 537 537 Instrument inst = 538 S DAttr::convertInstrument(tab.keywordSet().asString("AntennaName"),538 STAttr::convertInstrument(tab.keywordSet().asString("AntennaName"), 539 539 throwit); 540 540 … … 548 548 msg = String("user"); 549 549 } else { 550 S DAttr sdAttr;550 STAttr sdAttr; 551 551 coeff = sdAttr.gainElevationPoly(inst); 552 552 ppoly = new Polynomial<Float>(3); … … 689 689 } else if ( etaap > 0.0) { 690 690 Instrument inst = 691 S DAttr::convertInstrument(tab.keywordSet().asString("AntennaName"), True);692 S DAttr sda;691 STAttr::convertInstrument(tab.keywordSet().asString("AntennaName"), True); 692 STAttr sda; 693 693 if (d < 0) d = sda.diameter(inst); 694 Float jyPerk = S DAttr::findJyPerK(etaap, d);694 Float jyPerk = STAttr::findJyPerK(etaap, d); 695 695 ostringstream oss; 696 696 oss << "Jy/K = " << jyperk; … … 721 721 Table& table = in->table(); 722 722 Instrument inst = 723 S DAttr::convertInstrument(table.keywordSet().asString("AntennaName"), True);723 STAttr::convertInstrument(table.keywordSet().asString("AntennaName"), True); 724 724 TableIterator iter(table, "FREQ_ID"); 725 725 STFrequencies stfreqs = in->frequencies(); 726 S DAttr sdAtt;726 STAttr sdAtt; 727 727 while (!iter.pastEnd()) { 728 728 Table tab = iter.table(); … … 734 734 uInt freqid; freqidCol.get(0, freqid); 735 735 Vector<Float> tmpspec; specCol.get(0, tmpspec); 736 // S DAttr.JyPerK has a Vector interface... change sometime.736 // STAttr.JyPerK has a Vector interface... change sometime. 737 737 Vector<Float> freqs(1,stfreqs.getRefFreq(freqid, tmpspec.nelements())); 738 738 for ( uInt i=0; i<tab.nrow(); ++i) {
Note: See TracChangeset
for help on using the changeset viewer.