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/STMathWrapper.h

    r2900 r2952  
    7070  ScantableWrapper
    7171    unaryOperate( const ScantableWrapper& in, float val,
    72                   const std::string& mode, bool tsys=false )
    73   { return ScantableWrapper(STMath::unaryOperate(in.getCP(), val, mode, tsys)); }
     72                  const std::string& mode, bool tsys=false,
     73                  bool skip_flaggedrow=false )
     74  { return ScantableWrapper(STMath::unaryOperate(in.getCP(), val, mode, tsys, skip_flaggedrow)); }
    7475
    7576  ScantableWrapper arrayOperate( const ScantableWrapper& in,
    7677                                 const std::vector<float> val,
    7778                                 const std::string& mode,
    78                                  bool tsys=false )
    79   { return ScantableWrapper(STMath::arrayOperateChannel(in.getCP(), val, mode, tsys)); }
     79                                 bool tsys=false,
     80                                 bool skip_flaggedrow=false )
     81  { return ScantableWrapper(STMath::arrayOperateChannel(in.getCP(), val, mode, tsys, skip_flaggedrow)); }
    8082
    8183  ScantableWrapper array2dOperate( const ScantableWrapper& in,
Note: See TracChangeset for help on using the changeset viewer.