- Timestamp:
- 09/06/10 13:01:07 (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r1916 r1919 2059 2059 return workscan 2060 2060 2061 except RuntimeError :2061 except RuntimeError, e: 2062 2062 msg = "The fit failed, possibly because it didn't converge." 2063 2063 if rcParams["verbose"]: 2064 asaplog.push(str(e)) 2064 2065 asaplog.push(str(msg)) 2065 2066 return 2066 2067 else: 2067 raise RuntimeError( msg)2068 raise RuntimeError(str(e)+'\n'+msg) 2068 2069 2069 2070 -
trunk/src/Scantable.cpp
r1908 r1919 1757 1757 } 1758 1758 1759 void Scantable::polyBaseline(const std::vector<bool>& mask, int order, int rowno, int pars_ptr, int pars_size, int errs_ptr, int errs_size, int fmask_ptr, intfmask_size)1759 void Scantable::polyBaseline(const std::vector<bool>& mask, int order, int rowno, long pars_ptr, long pars_size, long errs_ptr, long errs_size, long fmask_ptr, long fmask_size) 1760 1760 { 1761 1761 Fitter fitter = Fitter(); -
trunk/src/Scantable.h
r1908 r1919 490 490 491 491 void polyBaselineBatch(const std::vector<bool>& mask, int order, int rowno); 492 void polyBaseline(const std::vector<bool>& mask, int order, int rowno, int pars_ptr, int pars_size, int errs_ptr, int errs_size, int fmask_ptr, intfmask_size);492 void polyBaseline(const std::vector<bool>& mask, int order, int rowno, long pars_ptr, long pars_size, long errs_ptr, long errs_size, long fmask_ptr, long fmask_size); 493 493 494 494 -
trunk/src/ScantableWrapper.h
r1908 r1919 250 250 { table_->reshapeSpectrum( nmin, nmax ); } 251 251 252 void polyBaseline(const std::vector<bool>& mask, int order, int rowno, int pars_ptr, int pars_size, int errs_ptr, int errs_size, int fmask_ptr, intfmask_size)252 void polyBaseline(const std::vector<bool>& mask, int order, int rowno, long pars_ptr, long pars_size, long errs_ptr, long errs_size, long fmask_ptr, long fmask_size) 253 253 { table_->polyBaseline(mask, order, rowno, pars_ptr, pars_size, errs_ptr, errs_size, fmask_ptr, fmask_size); } 254 254
Note:
See TracChangeset
for help on using the changeset viewer.