casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
casa::denoising::GslMultifitWeightedLinear Class Reference

#include <DenoisingLib.h>

Inheritance diagram for casa::denoising::GslMultifitWeightedLinear:
casa::denoising::GslMultifitLinearBase casa::denoising::IterativelyReweightedLeastSquares

Public Member Functions

 GslMultifitWeightedLinear ()
 
 GslMultifitWeightedLinear (GslLinearModelBase< Double > &model)
 
 ~GslMultifitWeightedLinear ()
 
void setWeights (Vector< Float > &weights)
 
void setFlags (Vector< Bool > &flags, Bool goodIsTrue=True)
 
void setWeightsAndFlags (Vector< Float > &weights, Vector< Bool > &flags, Bool goodIsTrue=True)
 
- Public Member Functions inherited from casa::denoising::GslMultifitLinearBase
 GslMultifitLinearBase ()
 
 GslMultifitLinearBase (GslLinearModelBase< Double > &model)
 
 ~GslMultifitLinearBase ()
 
void resetModel (GslLinearModelBase< Double > &model)
 
void resetNComponents (size_t ncomponents)
 
void setDebug (Bool debug)
 
Vector< Complex > calcFitCoeff (Vector< Complex > &data)
 
template<class T >
Vector< T > calcFitCoeff (Vector< T > &data)
 
void getFitCoeff (Vector< Complex > &coeff)
 
template<class T >
void getFitCoeff (Vector< T > &coeff)
 
void calcFitModelStd (Vector< Complex > &model, Vector< Complex > &std)
 
template<class T >
void calcFitModelStd (Vector< T > &model, Vector< T > &std)
 
void calcFitModel (Vector< Complex > &model)
 
template<class T >
void calcFitModel (Vector< T > &model)
 

Protected Member Functions

void setModel (GslLinearModelBase< Double > &model)
 
virtual void calcFitCoeffCore (Vector< Double > data, gsl_vector *coeff)
 
- Protected Member Functions inherited from casa::denoising::GslMultifitLinearBase
void allocGslResources ()
 
void freeGslResources ()
 
void setData (Vector< Float > &data)
 
void setData (Vector< Double > &data)
 
void setData (Vector< Complex > &data)
 
template<class T >
void calcFitModelStdCore (Vector< T > &model, Vector< T > &std, gsl_vector *coeff)
 
template<class T >
void calcFitModelCore (Vector< T > &model, gsl_vector *coeff)
 

Protected Attributes

Vector< Doubleweights_p
 Weights. More...
 
gsl_vector gls_weights_p
 
- Protected Attributes inherited from casa::denoising::GslMultifitLinearBase
size_t ndata_p
 Model. More...
 
size_t ncomponents_p
 
size_t max_ncomponents_p
 
gsl_matrix gsl_model_p
 
GslLinearModelBase< Double > * model_p
 
gsl_vector * gsl_coeff_real_p
 GSL Resources. More...
 
gsl_vector * gsl_coeff_imag_p
 
gsl_matrix * gsl_covariance_p
 
gsl_multifit_linear_workspace * gsl_workspace_p
 
Matrix< Doubledata_p
 Data. More...
 
int errno_p
 Fit result. More...
 
double chisq_p
 
Bool debug_p
 Misc. More...
 

Detailed Description

Definition at line 304 of file DenoisingLib.h.

Constructor & Destructor Documentation

casa::denoising::GslMultifitWeightedLinear::GslMultifitWeightedLinear ( )
casa::denoising::GslMultifitWeightedLinear::GslMultifitWeightedLinear ( GslLinearModelBase< Double > &  model)
casa::denoising::GslMultifitWeightedLinear::~GslMultifitWeightedLinear ( )

Member Function Documentation

virtual void casa::denoising::GslMultifitWeightedLinear::calcFitCoeffCore ( Vector< Double data,
gsl_vector *  coeff 
)
protectedvirtual
void casa::denoising::GslMultifitWeightedLinear::setFlags ( Vector< Bool > &  flags,
Bool  goodIsTrue = True 
)
void casa::denoising::GslMultifitWeightedLinear::setModel ( GslLinearModelBase< Double > &  model)
protectedvirtual
void casa::denoising::GslMultifitWeightedLinear::setWeights ( Vector< Float > &  weights)
void casa::denoising::GslMultifitWeightedLinear::setWeightsAndFlags ( Vector< Float > &  weights,
Vector< Bool > &  flags,
Bool  goodIsTrue = True 
)

Member Data Documentation

gsl_vector casa::denoising::GslMultifitWeightedLinear::gls_weights_p
protected

Definition at line 327 of file DenoisingLib.h.

Vector<Double> casa::denoising::GslMultifitWeightedLinear::weights_p
protected

Weights.

Definition at line 326 of file DenoisingLib.h.


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