Source
casacore::Bool setData (const casacore::Vector<casacore::Double>& x, const casacore::Vector<T>& y, const casacore::Vector<casacore::Bool>& mask);
//# ProfileFit1D.h: Class to fit profiles to vectors
//# Copyright (C) 2004
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//# $Id: ProfileFit1D.h 20299 2008-04-03 05:56:44Z gervandiepen $
//# Includes
namespace casa {
class SpectralElement;
// <summary>
// Fit spectral components to a casacore::Vector of data
// </summary>
// <use visibility=export>
// <reviewed reviewer="" date="" tests="tProfileFit1D.cc">
// </reviewed>
// <prerequisite>
// <li> <linkto class="SpectralElement">SpectralElement</linkto>
// <li> <linkto class="SpectralList">SpectralList</linkto>
// <li> <linkto class="SpectralFit">SpectralFit</linkto>
// </prerequisite>
// <synopsis>
// Fit lists (held in class SpectralList) of SpectralElements to a
// casacore::Vector of data. Each SpectralElement can be one from a variety
// of types. The values of the parameters for each SpectralElement
// provide the initial starting guesses for the fitting process.