Changeset 1140 for trunk/src/STMath.h


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

add mxExtract the first step to do MX quotients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.h

    r1106 r1140  
    6262
    6363
    64         /**
    65           * average a vector of Scantables
    66           * @param in the vector of Scantables to average
    67           * @param an optional mask to apply on specific weights
    68           * @param weight weighting scheme
    69           * @param avmode the mode ov averaging. Per "SCAN" or "ALL".
    70           * @return a casa::CountedPtr<Scantable> which either holds a new Scantable
    71           * or returns the imput pointer.
    72           */
     64  /**
     65    * average a vector of Scantables
     66    * @param in the vector of Scantables to average
     67    * @param an optional mask to apply on specific weights
     68    * @param weight weighting scheme
     69    * @param avmode the mode ov averaging. Per "SCAN" or "ALL".
     70    * @return a casa::CountedPtr<Scantable> which either holds a new Scantable
     71    * or returns the imput pointer.
     72    */
    7373  casa::CountedPtr<Scantable>
    7474    average( const std::vector<casa::CountedPtr<Scantable> >& in,
     
    7777             const std::string& avmode = "SCAN");
    7878
    79         /**
    80           * median average a vector of Scantables. See also STMath::average
    81           * @param in the Scantable to average
    82           * @param mode the averaging mode. Currently only "MEDIAN"
    83           * @param avmode the mode ov averaging. Per "SCAN" or "ALL".
    84           * @return a casa::CountedPtr<Scantable> which either holds a new Scantable
    85           * or returns the imput pointer.
    86           */
     79  /**
     80    * median average a vector of Scantables. See also STMath::average
     81    * @param in the Scantable to average
     82    * @param mode the averaging mode. Currently only "MEDIAN"
     83    * @param avmode the mode ov averaging. Per "SCAN" or "ALL".
     84    * @return a casa::CountedPtr<Scantable> which either holds a new Scantable
     85    * or returns the imput pointer.
     86    */
    8787  casa::CountedPtr<Scantable>
    8888    averageChannel( const casa::CountedPtr<Scantable> & in,
     
    9090                    const std::string& avmode = "SCAN");
    9191
     92  /**
     93    * average polarisations together. really only useful if only linears are
     94    *  available.
     95    * @param in the input Scantable
     96    * @param mask an optional mask if weight allows one
     97    * @param weight weighting scheme
     98    * @return
     99    */
    92100  casa::CountedPtr< Scantable >
    93101    averagePolarisations( const casa::CountedPtr< Scantable > & in,
    94                                 const std::vector<bool>& mask,
    95                                 const std::string& weight );
     102                          const std::vector<bool>& mask,
     103                          const std::string& weight );
    96104
    97105  casa::CountedPtr<Scantable>
     
    159167    convertPolarisation( const casa::CountedPtr<Scantable>& in,
    160168                         const std::string& newtype);
     169 
     170  casa::CountedPtr<Scantable>
     171      mxExtract( const casa::CountedPtr<Scantable>& in,
     172                 const std::string& scantype = "on" );
    161173
    162174private:
Note: See TracChangeset for help on using the changeset viewer.