Changeset 493 for trunk/src/SDMemTable.h
- Timestamp:
- 02/21/05 18:05:23 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r490 r493 94 94 virtual std::vector<bool> getMask(casa::Int whichRow=0) const; 95 95 96 // When we can handle input correlations being either circular or97 // linear, we should probably have functions; getLinear,98 // getCircular, getStokes since one can inter-convert between all99 // three regardless of the input provided there are 4100 // polarizations. For now, we are assuming, if there are 4101 // polarizations, that we have linears. getSpectrum is then102 // 'getLinear', getStokesSpectrum is 'getStokes' and103 // getCircularSpectrum is 'getCircular'104 105 96 // Get length of STokes spectrum. XX & YY -> I 106 97 // Anything else the length stays the same. 107 int stokesLength() const;98 int nStokes() const; 108 99 109 100 // Get specific Stokes at cursor location. One of either I,Q,U,V or I,P,PA,V (doPol=True) … … 114 105 casa::Float paOffset=0.0) const; 115 106 116 // Returns String for selected Stokes (polSel_) 117 std::string getStokesSpectrumLabel (casa::Bool doPol) const; 118 119 // Get RR or LL at cursor location (except not polSel_) 120 virtual std::vector<float> getCircularSpectrum(casa::Int whichRow=0, 121 casa::Bool rr=casa::True) const; 122 123 // Get circular label 124 std::string getCircularSpectrumLabel (casa::Bool rr=casa::True) const; 107 // Returns Label for polarization selected by polSel_ (or over-ridden 108 // with arg. polIdx). If doStokes is False, 109 // returns label for raw correlations (linear or circular). If True returns label for 110 // Stokes. If doPol=False, I,Q,U,V else I,P,PA,V 111 std::string getPolarizationLabel (casa::Bool linear, casa::Bool stokes, 112 casa::Bool linPol, casa::Int polIdx=-1) const; 113 114 // Convert Stokes to linear or circular polarizations (specified by polIdx=0:3). 115 // Presently, only conversion to RR or LL is supported. 116 virtual std::vector<float> stokesToPolSpectrum (casa::Int whichRow, casa::Bool toLinear, 117 casa::uInt polIdx) const; 125 118 126 119 // Get all Stokes at the specified Beam/IF cursor location (ignoring
Note: See TracChangeset
for help on using the changeset viewer.