Changeset 957 for trunk/src/STPol.h
- Timestamp:
- 03/31/06 17:01:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STPol.h
r904 r957 52 52 else if ( mode == "linpol" ) 53 53 return getLinPol(index); 54 else if ( mode == "ci cular" )55 return get LinPol(index);54 else if ( mode == "circular" ) 55 return getCircular(index); 56 56 else 57 57 throw(casa::AipsError("Polarisation type unknown")); … … 82 82 { basespectra_.resize(); basespectra_ = spec; } 83 83 84 void setPhaseCorrections(casa::Float, casa::Float, casa::Float) {} 84 85 void setPhaseCorrections(casa::Float parangle=0.0, casa::Float totalfeed=0.0, 86 casa::Float feedhand=1.0) 87 { totalfeed_=totalfeed;parangle_=parangle;feedhand_=feedhand;} 88 89 casa::Float getTotalPhase() const { return totalfeed_+parangle_; } 90 casa::Float getFeedHand() const { return feedhand_; } 85 91 86 92 static std::pair<int, std::string> polFromString(const std::string& key); … … 93 99 static std::map<std::string, std::map<int, std::string> > labelmap_; 94 100 95 casa:: Vector<casa::Float> phaseCorrections_;101 casa::Float totalfeed_,parangle_,feedhand_; 96 102 std::string mode_; 97 103 casa::Matrix<casa::Float> basespectra_;
Note: See TracChangeset
for help on using the changeset viewer.