Changeset 1570 for trunk/src/STMathWrapper.h
- Timestamp:
- 06/29/09 12:04:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMathWrapper.h
r1541 r1570 130 130 131 131 ScantableWrapper 132 smooth(const ScantableWrapper& in, const std::string& kernel, float width) 133 { return ScantableWrapper(STMath::smooth(in.getCP(), kernel, width)); } 132 smooth(const ScantableWrapper& in, const std::string& kernel, float width, 133 int order=2) 134 { return ScantableWrapper(STMath::smooth(in.getCP(), kernel, width, order)); } 134 135 135 136 ScantableWrapper … … 185 186 186 187 ScantableWrapper lagFlag( const ScantableWrapper& in, 187 double frequency, double width ) 188 { return ScantableWrapper(STMath::lagFlag(in.getCP(), frequency, width)); } 188 double start, double end, 189 const std::string& mode="frequency" ) 190 { return ScantableWrapper(STMath::lagFlag(in.getCP(), start, end, 191 mode)); } 189 192 190 193 };
Note: See TracChangeset
for help on using the changeset viewer.