Changeset 1143 for trunk/src


Ignore:
Timestamp:
08/16/06 09:42:09 (18 years ago)
Author:
mar637
Message:

Implemented Ticket #45 as scantable.mx_quotient.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r1140 r1143  
    13281328}
    13291329
    1330 CountedPtr< Scantable > 
     1330CountedPtr< Scantable >
    13311331  asap::STMath::mxExtract( const CountedPtr< Scantable > & in,
    13321332                           const std::string & scantype )
     
    13441344  TableCopy::copyRows(tout, tab);
    13451345  if (scantype == "on") {
     1346    // re-index SCANNO to 0
    13461347    TableVector<uInt> vec(tout, "SCANNO");
    13471348    vec = 0;
  • trunk/src/STMath.h

    r1140 r1143  
    5454   */
    5555  bool insitu() const { return insitu_;};
    56  
     56
    5757  /**
    5858   * set the currnt @attr inistu state
     
    9696    * @param mask an optional mask if weight allows one
    9797    * @param weight weighting scheme
    98     * @return 
     98    * @return
    9999    */
    100100  casa::CountedPtr< Scantable >
     
    167167    convertPolarisation( const casa::CountedPtr<Scantable>& in,
    168168                         const std::string& newtype);
    169  
    170   casa::CountedPtr<Scantable>
    171       mxExtract( const casa::CountedPtr<Scantable>& in,
    172                  const std::string& scantype = "on" );
     169
     170  casa::CountedPtr<Scantable>
     171    mxExtract( const casa::CountedPtr<Scantable>& in,
     172               const std::string& srctype = "on");
    173173
    174174private:
Note: See TracChangeset for help on using the changeset viewer.