Ignore:
Timestamp:
08/10/12 20:18:03 (12 years ago)
Author:
WataruKawasaki
Message:

added a new parameter 'csvformat' to sd.scantable.*baseline() and the relevant functions in the C++ side. (2012/08/10 WK)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/hpc34/src/Scantable.h

    r2435 r2640  
    579579                                   int whichrow,
    580580                                   bool verbose=false,
     581                                   bool csvformat=false,
    581582                                   int start=-1,
    582583                                   int count=-1,
     
    589590                                            const std::string& masklist,
    590591                                            int whichrow,
    591                                             bool verbose=false) const;
     592                                            bool verbose=false,
     593                                            bool csvformat=false) const;
    592594
    593595
     
    754756                                bool verbose=false);
    755757  std::vector<int> getMaskEdgeIndices(const std::vector<bool>& mask);
    756   std::string formatBaselineParamsHeader(int whichrow, const std::string& masklist, bool verbose) const;
    757   std::string formatBaselineParamsFooter(float rms, int nClipped, bool verbose) const;
     758  std::string formatBaselineParamsHeader(int whichrow, const std::string& masklist, bool verbose, bool csvformat) const;
     759  std::string formatBaselineParamsFooter(float rms, int nClipped, bool verbose, bool csvformat) const;
    758760  std::vector<bool> getCompositeChanMask(int whichrow, const std::vector<bool>& inMask);
    759761  //std::vector<bool> getCompositeChanMask(int whichrow, const std::vector<bool>& inMask, const std::vector<int>& edge, const int minEdgeSize, STLineFinder& lineFinder);
    760   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, Fitter& fitter);
    761   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, const int nClipped);
    762   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, const int nClipped);
     762  void outputFittingResult(bool outLogger, bool outTextFile, bool csvFormat, const std::vector<bool>& chanMask, int whichrow, const casa::String& coordInfo, bool hasSameNchan, std::ofstream& ofs, const casa::String& funcName, Fitter& fitter);
     763  void outputFittingResult(bool outLogger, bool outTextFile, bool csvFormat, 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, const int nClipped);
     764  void outputFittingResult(bool outLogger, bool outTextFile, bool csvFormat, 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, const int nClipped);
    763765  void parseProgressInfo(const std::string& progressInfo, bool& showProgress, int& minNRow);
    764766  void showProgressOnTerminal(const int nProcessed, const int nTotal, const bool showProgress=true, const int nTotalThreshold=1000);
Note: See TracChangeset for help on using the changeset viewer.