ProfileFitResults.h

Go to the documentation of this file.
00001 //# tSubImage.cc: Test program for class SubImage
00002 //# Copyright (C) 1998,1999,2000,2001,2003
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This program is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU General Public License as published by the Free
00007 //# Software Foundation; either version 2 of the License, or (at your option)
00008 //# any later version.
00009 //#
00010 //# This program is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
00013 //# more details.
00014 //#
00015 //# You should have received a copy of the GNU General Public License along
00016 //# with this program; if not, write to the Free Software Foundation, Inc.,
00017 //# 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be addressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //# $Id: tSubImage.cc 20567 2009-04-09 23:12:39Z gervandiepen $
00027 
00028 #ifndef IMAGEANALYSIS_PROFILEFITRESULTS_H
00029 #define IMAGEANALYSIS_PROFILEFITRESULTS_H
00030 
00031 #include <imageanalysis/ImageAnalysis/ImageFit1D.h>
00032 
00033 #include <casa/namespace.h>
00034 
00035 namespace casa {
00036 
00037 class ProfileFitResults {
00038         // <summary>
00039         // Class to store results from a ImageFit1D object that ImageProfileFitter needs
00040         // </summary>
00041 
00042         // <reviewed reviewer="" date="" tests="" demos="">
00043         // </reviewed>
00044 
00045         // <prerequisite>
00046         // </prerequisite>
00047 
00048         // <etymology>
00049         // Results of a profile fit.
00050         // </etymology>
00051 
00052         // <synopsis>
00053         // Class to store results from a ImageFit1D object that ImageProfileFitter needs
00054         // </synopsis>
00055 
00056         // <example>
00057         // </example>
00058 
00059 public:
00060 
00061         ProfileFitResults(const ImageFit1D<Float>& fitter);
00062 
00063         ~ProfileFitResults() {};
00064 
00065         const SpectralList getList() const {return _spectralList; }
00066 
00067         Bool converged() const {return _converged; }
00068 
00069         uInt getNumberIterations() const { return _iterations; }
00070 
00071         Bool isValid() const { return _isValid; }
00072 
00073     Bool succeeded() const { return _succeeded; }
00074 private:
00075         SpectralList _spectralList;
00076         Bool _converged, _isValid, _succeeded;
00077         uInt _iterations;
00078 
00079 };
00080 
00081 }
00082 
00083 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1