Changeset 527 for trunk/src/SDMemTable.h
- Timestamp:
- 03/01/05 15:02:15 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r504 r527 98 98 int nStokes() const; 99 99 100 // Get specific Stokes at cursor location. One of either I,Q,U,V or I,P,PA,V (doPol=True)101 // (determined by the polSel cursor location 0->3)102 // If the latter, you can add a PA offset (degrees)100 // Get specific Stokes at cursor location. One of either I,Q,U,V or 101 // I,P,PA,V (doPol=True) (determined by the polSel cursor location 102 // 0->3) If the latter, you can add a PA offset (degrees) 103 103 virtual std::vector<float> getStokesSpectrum(casa::Int whichRow=0, 104 104 casa::Bool doPol=casa::False) const; 105 105 106 // Returns Label for polarization selected by polSel_ (or over-ridden 107 // with arg. polIdx). If doStokes is False, 108 // returns label for raw correlations (linear or circular). If True returns label for 109 // Stokes. If doPol=False, I,Q,U,V else I,P,PA,V 110 std::string getPolarizationLabel (casa::Bool linear, casa::Bool stokes, 111 casa::Bool linPol, casa::Int polIdx=-1) const; 112 113 // Convert Stokes to linear or circular polarizations (specified by polIdx=0:3). 114 // Presently, only conversion to RR or LL is supported. 115 virtual std::vector<float> stokesToPolSpectrum (casa::Int whichRow, casa::Bool toLinear, 116 casa::uInt polIdx) const; 106 // Returns Label for polarization selected by polSel_ (or 107 // over-ridden with arg. polIdx). If doStokes is False, returns 108 // label for raw correlations (linear or circular). If True returns 109 // label for Stokes. If doPol=False, I,Q,U,V else I,P,PA,V 110 std::string getPolarizationLabel(casa::Bool linear, casa::Bool stokes, 111 casa::Bool linPol, 112 casa::Int polIdx=-1) const; 113 114 // Convert Stokes to linear or circular polarizations (specified by 115 // polIdx=0:3). Presently, only conversion to RR or LL is 116 // supported. 117 virtual std::vector<float> stokesToPolSpectrum(casa::Int whichRow, 118 casa::Bool toLinear, 119 casa::uInt polIdx) const; 117 120 118 121 // Get all Stokes at the specified Beam/IF cursor location (ignoring
Note: See TracChangeset
for help on using the changeset viewer.