Ignore:
Timestamp:
02/17/05 14:46:17 (19 years ago)
Author:
mar637
Message:

Added SDFitTable to handle fits and expose them to python vi the sdfit class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDContainer.cc

    r453 r465  
    582582}
    583583
    584 // SDFitTable
    585 
    586 
    587 const Vector<Double>& SDFitTable::getFitParameters(uInt whichRow) const
    588 {
    589   if (whichRow <= n_)
    590     return fitParms_[whichRow];
    591 }
    592 
    593 const Vector<Bool>& SDFitTable::getFitParameterMask(uInt whichRow) const
    594 {
    595   if (whichRow <= n_)
    596     return parMask_[whichRow];
    597 }
    598 
    599 const Vector<Int>& SDFitTable::getFitComponents(uInt whichRow) const
    600 {
    601   if (whichRow <= n_)
    602     return fitComps_[whichRow];
    603 }
    604 
    605 const Vector<String>& SDFitTable::getFitFunctions(uInt whichRow) const
    606 {
    607   if (whichRow <= n_)
    608     return fitFuncs_[whichRow];
    609 }
    610 
    611 void SDFitTable::putFitParameters(uInt whichRow, const Vector<Double>& arr)
    612 {
    613   if (whichRow <= n_)
    614     fitParms_[whichRow] = arr;
    615 }
    616 
    617 void SDFitTable::putFitParameterMask(uInt whichRow, const Vector<Bool>& arr)
    618 {
    619   if (whichRow <= n_)
    620     parMask_[whichRow] = arr;
    621 }
    622 
    623 void SDFitTable::putFitComponents(uInt whichRow, const Vector<Int>& arr)
    624 {
    625   if (whichRow <= n_)
    626     fitComps_[whichRow] = arr;
    627 }
    628 void SDFitTable::putFitFunctions(uInt whichRow, const Vector<String>& arr)
    629 {
    630   if (whichRow <= n_)
    631     fitFuncs_[whichRow] = arr;
    632 }
    633 
    634 
    635584// SDDataDesc
    636585
Note: See TracChangeset for help on using the changeset viewer.