Changeset 2189 for trunk/src/Scantable.h


Ignore:
Timestamp:
06/09/11 19:17:30 (13 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: Yes CAS-3149

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: scantable.*_baseline() parameter

Test Programs:

Put in Release Notes: No

Module(s):

Description: Added two parameters 'showprogress' and 'minnrow' to scantable.*_baseline() to enable to show progress status during time-consuming processes.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r2186 r2189  
    502502                    int order,
    503503                    bool getResidual=true,
    504                     bool outLogger=false,
     504                    const std::string& progressInfo="true,1000",
     505                    const bool outLogger=false,
    505506                    const std::string& blfile="");
    506507  void autoPolyBaseline(const std::vector<bool>& mask,
     
    510511                        int chanAvgLimit=1,
    511512                        bool getResidual=true,
    512                         bool outLogger=false,
     513                        const std::string& progressInfo="true,1000",
     514                        const bool outLogger=false,
    513515                        const std::string& blfile="");
    514516  void cubicSplineBaseline(const std::vector<bool>& mask,
     
    517519                           int nIterClip,
    518520                           bool getResidual=true,
    519                            bool outLogger=false,
     521                           const std::string& progressInfo="true,1000",
     522                           const bool outLogger=false,
    520523                           const std::string& blfile="");
    521524  void autoCubicSplineBaseline(const std::vector<bool>& mask,
     
    527530                               int chanAvgLimit=1,
    528531                               bool getResidual=true,
    529                                bool outLogger=false,
     532                               const std::string& progressInfo="true,1000",
     533                               const bool outLogger=false,
    530534                               const std::string& blfile="");
    531535  void sinusoidBaseline(const std::vector<bool>& mask,
     
    538542                        int nIterClip,
    539543                        bool getResidual=true,
    540                         bool outLogger=false,
     544                        const std::string& progressInfo="true,1000",
     545                        const bool outLogger=false,
    541546                        const std::string& blfile="");
    542547  void autoSinusoidBaseline(const std::vector<bool>& mask,
     
    552557                            int chanAvgLimit=1,
    553558                            bool getResidual=true,
    554                             bool outLogger=false,
     559                            const std::string& progressInfo="true,1000",
     560                            const bool outLogger=false,
    555561                            const std::string& blfile="");
    556562  std::vector<float> execFFT(const int whichrow,
     
    741747  void outputFittingResult(bool outLogger, bool outTextFile, const std::vector<bool>& chanMask, int whichrow, const casa::String& coordInfo, bool hasSameNchan, std::ofstream& ofs, const casa::String& funcName, const std::vector<int>& edge, const std::vector<float>& params);
    742748  void outputFittingResult(bool outLogger, bool outTextFile, const std::vector<bool>& chanMask, int whichrow, const casa::String& coordInfo, bool hasSameNchan, std::ofstream& ofs, const casa::String& funcName, const std::vector<float>& params);
    743   void showProgressOnTerminal(const int nProcessed, const int nTotal, const int nTotalThreshold=1000);
     749  void parseProgressInfo(const std::string& progressInfo, bool& showProgress, int& minNRow);
     750  void showProgressOnTerminal(const int nProcessed, const int nTotal, const bool showProgress=true, const int nTotalThreshold=1000);
    744751
    745752  void applyChanFlag( casa::uInt whichrow, const std::vector<bool>& msk, casa::uChar flagval);
Note: See TracChangeset for help on using the changeset viewer.