- Timestamp:
- 07/04/06 11:24:55 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFitter.cpp
r894 r1067 103 103 } 104 104 } 105 mn = 0+x_.nelements()/10;106 mx = x_.nelements()-x_.nelements()/10;105 //mn = 0+x_.nelements()/10; 106 //mx = x_.nelements()-x_.nelements()/10; 107 107 estimator.setRegion(mn,mx); 108 108 //estimator.setWindowing(True); … … 297 297 parameters_.resize(); 298 298 parameters_ = fitter.fit(x_, y_, sigma, &m_); 299 if ( !fitter.converged() ) { 300 return false; 301 } 299 302 std::vector<float> ps; 300 303 parameters_.tovector(ps);
Note:
See TracChangeset
for help on using the changeset viewer.