PENDING: names of parameters to be discussed (for combined models).
Public Methods |
virtual void | setModel (const char *)=0 |
| Set model function as a combination of letters: G (Gaussian), E (Exponential), Pn (Polynomial of order n). The number of models and their naming depends of underlying implementation. However some standard naming rules apply. PENDING: exact syntax for combinations to be defined PENDING: at present only basic models supported.
|
virtual void | setData (const IVector *)=0 |
| Set data vector.
|
virtual bool | chiSquareFit ()=0 |
| Perform chi-square fit of previosly defined model function and data vector.
|
virtual bool | setParameter (const char *nameId, double start, double step=1.0)=0 |
| Set starting point for given parameter. Other atrributes are set to their default values. Parameters are identified by case-insensitive nameId. If nameId does not exist return false.
|
virtual IFitParameter * | fitParameter (const char *nameId)=0 |
| Retrieve fit parameter (identified by nameId). Return null pointer if nameId does not exist.
|
virtual bool | includePoint (int i)=0 |
| Include single point. Return false if index out of bounds (see IVector).
|
virtual bool | excludePoint (int i)=0 |
| Exclude single point. Return false if index out of bounds (see IVector).
|
virtual bool | includeRange (int iMin, int iMax)=0 |
| Include all points from iMin to iMax inclusively. Return false if range invalid (see also indexing in IVector).
|
virtual bool | excludeRange (int iMin, int iMax)=0 |
| Exclude all points from iMin to iMax inclusively. Return false if range invalid (see also indexing in IVector).
|
virtual void | includeAll ()=0 |
| Include all points (remove all previous exclusions).
|
virtual void | excludeAll ()=0 |
| Exclude all points. Should be followed by some point inclusion otherwise no data for fitting.
|
virtual void | printParameters (std::ostream &os=std::cout)=0 |
virtual void | printResult (std::ostream &os=std::cout)=0 |
virtual IVector * | fittedVector (IVectorManager *)=0 |
| Vector representation of the fitted curve. PENDING: not fully discussed (ownership).
|
virtual | ~IFitter () |