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

This class gives Proxy to Fitting connection. More...

#include <FittingProxy.h>

Classes

class  FitType
 Class to aid in distributing different fitters. More...
 

Public Member Functions

 FittingProxy ()
 
virtual ~FittingProxy ()
 
Int getid ()
 
Record getstate (Int id)
 
Bool init (Int id, Int n, Int tp, Double colfac, Double lmfac)
 
Bool done (Int id)
 
Bool reset (Int id)
 
Bool set (Int id, Int nin, Int tpin, Double colfac, Double lmfac)
 
Record functional (Int id, const Record &fnc, const Vector< Double > &xval, const Vector< Double > &yval, const Vector< Double > &wt, Int mxit, const Record &constraint)
 
Record linear (Int id, const Record &fnc, const Vector< Double > &xval, const Vector< Double > &yval, const Vector< Double > &wt, const Record &constraint)
 
Record cxfunctional (Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, Int mxit, const Record &constraint)
 
Record cxlinear (Int id, const Record &fnc, const Vector< DComplex > &xval, const Vector< DComplex > &yval, const Vector< DComplex > &wt, const Record &constraint)
 

Private Attributes

uInt nFitter_p
 Number of FitType obkects present. More...
 
FitType ** list_p
 List of FitTypes. More...
 

Detailed Description

This class gives Proxy to Fitting connection.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Distributed Object and fitting

Synopsis

The class makes the connection between the Fitting module and other object system. It provides a series of proxy callable methods. See Note 197 for details.
Operations supported are all the fitting methods supported in the Fitting module

Example

Motivation

To provide a direct user interface between the user and Fitting related calculations.

To Do

Definition at line 78 of file FittingProxy.h.

Constructor & Destructor Documentation

casacore::FittingProxy::FittingProxy ( )
virtual casacore::FittingProxy::~FittingProxy ( )
virtual

Member Function Documentation

Record casacore::FittingProxy::cxfunctional ( Int  id,
const Record fnc,
const Vector< DComplex > &  xval,
const Vector< DComplex > &  yval,
const Vector< DComplex > &  wt,
Int  mxit,
const Record constraint 
)
Record casacore::FittingProxy::cxlinear ( Int  id,
const Record fnc,
const Vector< DComplex > &  xval,
const Vector< DComplex > &  yval,
const Vector< DComplex > &  wt,
const Record constraint 
)
Bool casacore::FittingProxy::done ( Int  id)
Record casacore::FittingProxy::functional ( Int  id,
const Record fnc,
const Vector< Double > &  xval,
const Vector< Double > &  yval,
const Vector< Double > &  wt,
Int  mxit,
const Record constraint 
)
Int casacore::FittingProxy::getid ( )
Record casacore::FittingProxy::getstate ( Int  id)
Bool casacore::FittingProxy::init ( Int  id,
Int  n,
Int  tp,
Double  colfac,
Double  lmfac 
)
Record casacore::FittingProxy::linear ( Int  id,
const Record fnc,
const Vector< Double > &  xval,
const Vector< Double > &  yval,
const Vector< Double > &  wt,
const Record constraint 
)
Bool casacore::FittingProxy::reset ( Int  id)
Bool casacore::FittingProxy::set ( Int  id,
Int  nin,
Int  tpin,
Double  colfac,
Double  lmfac 
)

Member Data Documentation

FitType** casacore::FittingProxy::list_p
private

List of FitTypes.

Definition at line 183 of file FittingProxy.h.

uInt casacore::FittingProxy::nFitter_p
private

Number of FitType obkects present.

Definition at line 181 of file FittingProxy.h.


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