Ignore:
Timestamp:
04/03/06 15:07:08 (18 years ago)
Author:
mar637
Message:

Completed Ticket #7 - storing of fits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ScantableWrapper.h

    r925 r972  
    166166  void addHistory(const std::string& hist)
    167167    { table_->addHistory(hist); }
    168   /*
    169   void addFit(int whichrow, const std::vector<double>& p,
    170               const std::vector<bool>& m, const std::vector<string>& f,
    171               const std::vector<int>& c) {
    172168
    173     casa::Vector<casa::Double> p2(p);
    174     casa::Vector<casa::Bool> m2(m);
    175     casa::Vector<casa::String> f2 = mathutil::toVectorString(f);
    176     casa::Vector<casa::Int> c2(c);
    177     table_->addFit(casa::uInt(whichrow), p2,m2,f2,c2);
    178   }
    179   SDFitTable getSDFitTable(int whichrow) {
    180     return table_->getSDFitTable(casa::uInt(whichrow));
    181   }
    182   */
     169  void addFit(const STFitEntry& fit, int row)
     170    { table_->addFit(fit, row); }
     171
     172  STFitEntry getFit(int whichrow) const
     173  { return table_->getFit(whichrow); }
     174
    183175  void calculateAZEL() { table_->calculateAZEL(); };
    184176
Note: See TracChangeset for help on using the changeset viewer.