- Timestamp:
- 05/16/17 14:07:28 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/components/SpectralComponents/GaussianSpectralElement.cc
r2980 r3121 43 43 : PCFSpectralElement(SpectralElement::GAUSSIAN, 1, 0, 2*sqrt(C::ln2)/C::pi) { 44 44 _setFunction( 45 std:: tr1::shared_ptr<Gaussian1D<Double> >(45 std::shared_ptr<Gaussian1D<Double> >( 46 46 new Gaussian1D<Double>(1, 0, 1) 47 47 ) … … 54 54 ) : PCFSpectralElement(SpectralElement::GAUSSIAN, ampl, center, sigma) { 55 55 _setFunction( 56 std:: tr1::shared_ptr<Gaussian1D<Double> >(56 std::shared_ptr<Gaussian1D<Double> >( 57 57 new Gaussian1D<Double>(ampl, center, sigma*SigmaToFWHM) 58 58 ) … … 63 63 const Vector<Double> ¶m 64 64 ) : PCFSpectralElement(SpectralElement::GAUSSIAN, param) { 65 std:: tr1::shared_ptr<Gaussian1D<Double> >(65 std::shared_ptr<Gaussian1D<Double> >( 66 66 new Gaussian1D<Double>(param[AMP], param[CENTER], param[WIDTH]*SigmaToFWHM) 67 67 );
Note: See TracChangeset
for help on using the changeset viewer.