- Timestamp:
- 03/29/12 11:55:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFitter.cpp
r2415 r2444 2 2 //# Fitter.cc: A Fitter class for spectra 3 3 //#-------------------------------------------------------------------------- 4 //# Copyright (C) 2004 4 //# Copyright (C) 2004-2012 5 5 //# ATNF 6 6 //# … … 118 118 g = dynamic_cast<Gaussian1D<Float>* >(funcs_[i]); 119 119 if (g) { 120 const GaussianSpectralElement *gauss = dynamic_cast<const GaussianSpectralElement *>(listGauss[i]) ; 121 (*g)[0] = gauss->getAmpl(); 122 (*g)[1] = gauss->getCenter(); 123 (*g)[2] = gauss->getFWHM(); 124 // (*g)[0] = listGauss[i].getAmpl(); 125 // (*g)[1] = listGauss[i].getCenter(); 126 // (*g)[2] = listGauss[i].getFWHM(); 120 (*g)[0] = listGauss[i].getAmpl(); 121 (*g)[1] = listGauss[i].getCenter(); 122 (*g)[2] = listGauss[i].getFWHM(); 127 123 } 128 124 }
Note:
See TracChangeset
for help on using the changeset viewer.