casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Private Member Functions | List of all members
casa::SpectralListFactory Class Reference

create a SpectralList More...

#include <SpectralListFactory.h>

Static Public Member Functions

static SpectralList create (casacore::LogIO &log, const casac::variant &pampest, const casac::variant &pcenterest, const casac::variant &pfwhmest, const casac::variant &pfix=casac::initialize_variant(""), const casac::variant &gmncomps=casac::initialize_variant(""), const casac::variant &gmampcon=casac::initialize_variant(""), const casac::variant &gmcentercon=casac::initialize_variant(""), const casac::variant &gmfwhmcon=casac::initialize_variant(""), const std::vector< double > &gmampest=std::vector< double >(0), const std::vector< double > &gmcenterest=std::vector< double >(0), const std::vector< double > &gmfwhmest=std::vector< double >(0), const casac::variant &gmfix=casac::initialize_variant(""), const casac::variant &pfunc=casac::initialize_variant(""), const casac::variant &plpest=casac::initialize_variant(""), const casac::variant &plpfix=casac::initialize_variant(""), const casac::variant &ltpest=casac::initialize_variant(""), const casac::variant &ltpfix=casac::initialize_variant(""))
 Create a SpectralList object log logger pampest initial amplitude estimates for pfc functions pcenterest initial center estimates for pfc functions pfwhmest initial FWHM estimates for pfc functions pfix fixed parameters for pfc functions. More...
 

Static Private Member Functions

static void _addGaussianMultiplets (SpectralList &spectralList, casacore::LogIO &log, const std::vector< int > &mygmncomps, std::vector< double > &mygmampcon, std::vector< double > &mygmcentercon, std::vector< double > &mygmfwhmcon, const std::vector< double > &gmampest, const std::vector< double > &gmcenterest, const std::vector< double > &gmfwhmest, const std::vector< string > &mygmfix)
 
static void _addPowerLogPolynomial (SpectralList &spectralList, casacore::LogIO &log, std::vector< double > &myplpest, std::vector< bool > &myplpfix)
 
static void _addLogTransformedPolynomial (SpectralList &spectralList, std::vector< double > &myltpest, std::vector< bool > &myltpfix)
 

Detailed Description

create a SpectralList

Definition at line 38 of file SpectralListFactory.h.

Member Function Documentation

static void casa::SpectralListFactory::_addGaussianMultiplets ( SpectralList spectralList,
casacore::LogIO log,
const std::vector< int > &  mygmncomps,
std::vector< double > &  mygmampcon,
std::vector< double > &  mygmcentercon,
std::vector< double > &  mygmfwhmcon,
const std::vector< double > &  gmampest,
const std::vector< double > &  gmcenterest,
const std::vector< double > &  gmfwhmest,
const std::vector< string > &  mygmfix 
)
staticprivate
static void casa::SpectralListFactory::_addLogTransformedPolynomial ( SpectralList spectralList,
std::vector< double > &  myltpest,
std::vector< bool > &  myltpfix 
)
staticprivate
static void casa::SpectralListFactory::_addPowerLogPolynomial ( SpectralList spectralList,
casacore::LogIO log,
std::vector< double > &  myplpest,
std::vector< bool > &  myplpfix 
)
staticprivate
static SpectralList casa::SpectralListFactory::create ( casacore::LogIO log,
const casac::variant pampest,
const casac::variant pcenterest,
const casac::variant pfwhmest,
const casac::variant pfix = casac::initialize_variant(""),
const casac::variant gmncomps = casac::initialize_variant(""),
const casac::variant gmampcon = casac::initialize_variant(""),
const casac::variant gmcentercon = casac::initialize_variant(""),
const casac::variant gmfwhmcon = casac::initialize_variant(""),
const std::vector< double > &  gmampest = std::vector< double >(0),
const std::vector< double > &  gmcenterest = std::vector< double >(0),
const std::vector< double > &  gmfwhmest = std::vector< double >(0),
const casac::variant gmfix = casac::initialize_variant(""),
const casac::variant pfunc = casac::initialize_variant(""),
const casac::variant plpest = casac::initialize_variant(""),
const casac::variant plpfix = casac::initialize_variant(""),
const casac::variant ltpest = casac::initialize_variant(""),
const casac::variant ltpfix = casac::initialize_variant("") 
)
static

Create a SpectralList object log logger pampest initial amplitude estimates for pfc functions pcenterest initial center estimates for pfc functions pfwhmest initial FWHM estimates for pfc functions pfix fixed parameters for pfc functions.

Any combination of "p", "f", and "c" plpest initial estimates for power log polynomial coefficients plpfix fixed parameters for power log polynomial coefficients (true means fix the coefficient during fitting).


The documentation for this class was generated from the following file: