Changeset 2641 for trunk/src/Scantable.h


Ignore:
Timestamp:
08/10/12 20:49:54 (12 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: parameter of tool functions

Test Programs:

Put in Release Notes: No

Module(s): sd.scantable

Description: added a new parameter csvformat.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r2595 r2641  
    580580                                   int whichrow,
    581581                                   bool verbose=false,
     582                                   bool csvformat=false,
    582583                                   int start=-1,
    583584                                   int count=-1,
     
    590591                                            const std::string& masklist,
    591592                                            int whichrow,
    592                                             bool verbose=false) const;
     593                                            bool verbose=false,
     594                                            bool csvformat=false) const;
    593595  std::vector<uint> getMoleculeIdColumnData() const;
    594596  void setMoleculeIdColumnData(const std::vector<uint>& molids);
     
    757759                                bool verbose=false);
    758760  std::vector<int> getMaskEdgeIndices(const std::vector<bool>& mask);
    759   std::string formatBaselineParamsHeader(int whichrow, const std::string& masklist, bool verbose) const;
    760   std::string formatBaselineParamsFooter(float rms, int nClipped, bool verbose) const;
     761  std::string formatBaselineParamsHeader(int whichrow, const std::string& masklist, bool verbose, bool csvformat) const;
     762  std::string formatBaselineParamsFooter(float rms, int nClipped, bool verbose, bool csvformat) const;
    761763  std::vector<bool> getCompositeChanMask(int whichrow, const std::vector<bool>& inMask);
    762764  //std::vector<bool> getCompositeChanMask(int whichrow, const std::vector<bool>& inMask, const std::vector<int>& edge, const int minEdgeSize, STLineFinder& lineFinder);
    763   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);
    764   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);
    765   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);
     765  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);
     766  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);
     767  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);
    766768  void parseProgressInfo(const std::string& progressInfo, bool& showProgress, int& minNRow);
    767769  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.