Ignore:
Timestamp:
03/15/12 15:25:45 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: Yes (CAS-2818)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: Added methods and functions
scantable.regrid_channel, scantable._regrid_specchan (defined in python_Scantable.cpp),
Scantable::regridSpecChannel, and ScantableWrapper::regridSpecChannel

Test Programs: comming soon with sdsmooth

Put in Release Notes: No

Module(s): scantable

Description:

Enabled regridding of spectra in a scantable.

scantable.regrid_channel(width, insitu=True/False?)

will do this.
width can be either in channel, frequency, or velocity unit.
verification is not available yet.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ScantableWrapper.h

    r2290 r2435  
    268268  { table_->reshapeSpectrum( nmin, nmax ); }
    269269
     270  void regridSpecChannel( double dnu, int nchan )
     271  { table_->regridSpecChannel( dnu, nchan ); }
     272
    270273  void polyBaseline(const std::vector<bool>& mask, int order, bool getresidual=true, const std::string& showprogress="true,1000", const bool outlog=false, const std::string& blfile="")
    271274  { table_->polyBaseline(mask, order, getresidual, showprogress, outlog, blfile); }
Note: See TracChangeset for help on using the changeset viewer.