Line data Source code
1 : 2 : //# Copyright (C) 1998,1999,2000,2001,2003 3 : //# Associated Universities, Inc. Washington DC, USA. 4 : //# 5 : //# This program is free software; you can redistribute it and/or modify it 6 : //# under the terms of the GNU General Public License as published by the Free 7 : //# Software Foundation; either version 2 of the License, or (at your option) 8 : //# any later version. 9 : //# 10 : //# This program is distributed in the hope that it will be useful, but WITHOUT 11 : //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 : //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 : //# more details. 14 : //# 15 : //# You should have received a copy of the GNU General Public License along 16 : //# with this program; if not, write to the Free Software Foundation, Inc., 17 : //# 675 Massachusetts Ave, Cambridge, MA 02139, USA. 18 : //# 19 : //# Correspondence concerning AIPS++ should be addressed as follows: 20 : //# Internet email: casa-feedback@nrao.edu. 21 : //# Postal address: AIPS++ Project Office 22 : //# National Radio Astronomy Observatory 23 : //# 520 Edgemont Road 24 : //# Charlottesville, VA 22903-2475 USA 25 : //# 26 : //# $Id: $ 27 : 28 : #include <imageanalysis/ImageAnalysis/ProfileFitResults.h> 29 : 30 : using namespace casacore; 31 : namespace casa { 32 : 33 0 : ProfileFitResults::ProfileFitResults(const ImageFit1D<Float>& fitter) : 34 0 : _spectralList(fitter.getList(true)), _converged(fitter.converged()), 35 0 : _isValid(fitter.isValid()), _succeeded(fitter.succeeded()), 36 0 : _iterations((uInt)fitter.getNumberIterations()) 37 0 : {} 38 : 39 : }