Changeset 2952 for trunk/src/STMath.h


Ignore:
Timestamp:
06/24/14 19:59:46 (10 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: Yes CAS-6598

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: add a parameter for some functions

Test Programs: test_sdscale

Put in Release Notes:

Module(s): sd

Description: add a parameter 'skip_flaggedrow' for STMath::unaryOperate(), STMath::arrayOperate(), STMath::arrayOperateChannel(), STMath::arrayOperateRow() and their python interfaces if exist. the default value of 'skip_flaggedrow' is false so default behaviour of these functions will not change.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.h

    r2919 r2952  
    1515#include <map>
    1616#include <string>
     17#include <iostream>
    1718
    1819#include <casa/aips.h>
     
    117118  casa::CountedPtr<Scantable>
    118119    unaryOperate( const casa::CountedPtr<Scantable>& in, float val,
    119                   const std::string& mode, bool tsys=false );
     120                  const std::string& mode, bool tsys=false,
     121                  bool skip_flaggedrow=false );
    120122
    121123  // array operation
     
    125127                  const std::string& mode,
    126128                  const std::string& opmode="channel", 
    127                   bool tsys=false );
     129                  bool tsys=false,
     130                  bool skip_flaggedrow=false );
    128131
    129132  // channel operation
     
    131134    arrayOperateChannel( const casa::CountedPtr<Scantable>& in,
    132135                         const std::vector<float> val,
    133                          const std::string& mode, bool tsys=false );
     136                         const std::string& mode, bool tsys=false,
     137                         bool skip_flaggedrow=false );
    134138
    135139  // row operation
     
    137141    arrayOperateRow( const casa::CountedPtr<Scantable>& in,
    138142                     const std::vector<float> val,
    139                      const std::string& mode, bool tsys=false );
     143                     const std::string& mode, bool tsys=false,
     144                     bool skip_flaggedrow=false );
    140145
    141146  // 2d array operation
Note: See TracChangeset for help on using the changeset viewer.