Ignore:
Timestamp:
12/27/12 17:37:43 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-4141/CSV-1526)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: Added asap.sbseparator.set_lo1root() = SBSeparator::set_lo1root(),

and STSideBandSep::setLO1Root()

Test Programs:

Put in Release Notes: No

Module(s): sbseparator and STSideBandSep

Description:

Added a new python method asap.sbseparator.set_lo1root() to set MS
name to search for LO1 frequency.
Underlying c++ functions are SBSeparator::set_lo1root (interface) and STSideBandSep::setLO1Root().
Also developed a capability to get relevant table names from scantable header and
fill frequencies of image side band.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STSideBandSep.h

    r2707 r2711  
    5454   **/
    5555  void setLO1(const double lo1, string frame="TOPO", double reftime=-1, string refdir="");
    56   void setLO1Asdm(const string asdmname);
     56  void setLO1Root(const string name);
    5757  /**
    5858   * Actual calculation of frequencies of image sideband
     
    6262private:
    6363  Bool checkFile(const string name, string type="");
    64   bool getLo1FromAsdm(string asdmname);
    65   bool getLo1FromTab(casa::CountedPtr< Scantable > &scantab);
     64  bool getLo1FromAsdm(const string asdmname,
     65                      const double refval, const double refpix,
     66                      const double increment, const int nChan);
     67  bool getLo1FromAsisTab(const string msname,
     68                         const double refval, const double refpix,
     69                         const double increment, const int nChan);
     70  bool getLo1FromScanTab(casa::CountedPtr< Scantable > &scantab,
     71                         const double refval, const double refpix,
     72                         const double increment, const int nChan);
    6673
    6774  unsigned int sigIfno_;
     
    7178  double loTime_;
    7279  string loDir_;
    73   string asdmName_;
     80  string asdmName_, asisName_;
    7481
    7582  CountedPtr< Scantable > imgTab_p, sigTab_p;
Note: See TracChangeset for help on using the changeset viewer.