Changeset 1570 for trunk/src/STMath.cpp
- Timestamp:
- 06/29/09 12:04:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r1569 r1570 1368 1368 if (d < 0) { 1369 1369 Instrument inst = 1370 STAttr::convertInstrument(tab.keywordSet().asString("AntennaName"), 1370 STAttr::convertInstrument(tab.keywordSet().asString("AntennaName"), 1371 1371 True); 1372 1372 STAttr sda; … … 1457 1457 CountedPtr< Scantable > STMath::smoothOther( const CountedPtr< Scantable >& in, 1458 1458 const std::string& kernel, 1459 float width 1459 float width, int order) 1460 1460 { 1461 1461 CountedPtr< Scantable > out = getScantable(in, false); … … 1478 1478 mathutil::runningMedian(specout, maskout, spec , mask, width); 1479 1479 convertArray(flag, maskout); 1480 } else if ( kernel == "poly" ) { 1481 mathutil::polyfit(specout, maskout, spec, !mask, width, order); 1482 convertArray(flag, !maskout); 1480 1483 } 1481 1484 flagCol.put(i, flag);
Note: See TracChangeset
for help on using the changeset viewer.