Changeset 1757 for branches/alma/src/STMathWrapper.h
- Timestamp:
- 06/09/10 19:03:06 (14 years ago)
- Location:
- branches/alma
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma
-
Property
svn:ignore
set to
.sconf_temp
.sconsign.dblite
-
Property
svn:mergeinfo
set to
/branches/asap-3.x merged eligible
-
Property
svn:ignore
set to
-
branches/alma/src/STMathWrapper.h
r1680 r1757 146 146 147 147 ScantableWrapper 148 smooth(const ScantableWrapper& in, const std::string& kernel, float width) 149 { return ScantableWrapper(STMath::smooth(in.getCP(), kernel, width)); } 148 smooth(const ScantableWrapper& in, const std::string& kernel, float width, 149 int order=2) 150 { return ScantableWrapper(STMath::smooth(in.getCP(), kernel, width, order)); } 150 151 151 152 ScantableWrapper … … 164 165 165 166 ScantableWrapper opacity(const ScantableWrapper& in, 166 floattau)167 const std::vector<float>& tau) 167 168 { return ScantableWrapper(STMath::opacity(in.getCP(), tau)); } 168 169 … … 201 202 202 203 ScantableWrapper lagFlag( const ScantableWrapper& in, 203 double frequency, double width ) 204 { return ScantableWrapper(STMath::lagFlag(in.getCP(), frequency, width)); } 204 double start, double end, 205 const std::string& mode="frequency" ) 206 { return ScantableWrapper(STMath::lagFlag(in.getCP(), start, end, 207 mode)); } 205 208 206 209 // test for average spectra with different channel/resolution
Note: See TracChangeset
for help on using the changeset viewer.