Ignore:
Timestamp:
08/10/06 14:16:19 (18 years ago)
Author:
mar637
Message:

added linecatalog to python inteface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/LineCatalog.h

    r1113 r1126  
    4949   * @param fmax the upper frequency bound
    5050   */
    51   void setFrequencyLimits(float fmin, float fmax);
     51  void setFrequencyLimits(double fmin, double fmax);
    5252  /**
    5353    * select a subset of the table by line strength range
     
    5555    * @param smin the upper strength bound
    5656    */
    57   void setStrengthLimits(float smin, float smax);
     57  void setStrengthLimits(double smin, double smax);
    5858  /**
    5959    * select a subset of the data by name pattern match (unix-style)
     
    7171  /**
    7272    * Return a string representation of this table
    73     * @param an integer descriing the row number to show
     73    * @param row an integer describing the row number to show
    7474    * default -1 is all rows
    7575    * @return std::string
     
    7777  std::string summary(int row=-1) const;
    7878
     79  /**
     80   * Return the rest frequency value for a specific row
     81   * @param row the row number
     82   * @return a double rest frequency value
     83   */
    7984  double getFrequency(uint row) const;
    8085
     86  /**
     87   *
     88   * @param row
     89   * @return
     90   */
    8191  std::string getName(uint row) const;
     92
     93  int nrow() const  { return table_.nrow(); }
     94
     95  void reset() { table_ = baseTable_; }
    8296
    8397private:
    8498  /**
    85    * utility function to hadle range limits
     99   * utility function to handle range limits
    86100   * @param lmin the lower limit
    87101   * @param lmax the upper limit
     
    89103   * @return a new casa::Table
    90104   */
    91   casa::Table setLimits(float lmin, float lmax, const std::string& colname);
     105  casa::Table setLimits(double lmin, double lmax, const std::string& colname);
    92106
    93107  // the table with seelection
Note: See TracChangeset for help on using the changeset viewer.