Changeset 67
- Timestamp:
- 07/19/04 10:58:42 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDContainer.cc
r47 r67 187 187 } 188 188 189 const Array<Float>&SDContainer::getSpectrum(uInt whichBeam, uInt whichIF) const {189 Array<Float> SDContainer::getSpectrum(uInt whichBeam, uInt whichIF) const { 190 190 Matrix<Float> spectra(nChan_, nPol_); 191 191 … … 218 218 } 219 219 220 return spectra ;221 } 222 223 const Array<uChar>&SDContainer::getFlags(uInt whichBeam, uInt whichIF) const220 return spectra.copy(); 221 } 222 223 Array<uChar> SDContainer::getFlags(uInt whichBeam, uInt whichIF) const 224 224 { 225 225 Matrix<uChar> flagtra(nChan_, nPol_); … … 253 253 } 254 254 255 return flagtra ;256 } 257 258 const Array<Float>&SDContainer::getTsys(uInt whichBeam, uInt whichIF) const255 return flagtra.copy(); 256 } 257 258 Array<Float> SDContainer::getTsys(uInt whichBeam, uInt whichIF) const 259 259 { 260 260 Vector<Float> tsys(nPol_); … … 281 281 o0++; 282 282 } 283 return tsys ;283 return tsys.copy(); 284 284 } 285 285 -
trunk/src/SDContainer.h
r47 r67 120 120 Bool putFreqMap(const Vector<uInt>& freqs); 121 121 122 const Array<Float>&getSpectrum(uInt whichBeam, uInt whichIF) const;123 const Array<uChar>&getFlags(uInt whichBeam, uInt whichIF) const;124 const Array<Float>&getTsys(uInt whichBeam, uInt whichIF) const;122 Array<Float> getSpectrum(uInt whichBeam, uInt whichIF) const; 123 Array<uChar> getFlags(uInt whichBeam, uInt whichIF) const; 124 Array<Float> getTsys(uInt whichBeam, uInt whichIF) const; 125 125 126 126 const Array<Float>& getSpectrum() const { return spectrum_; }
Note:
See TracChangeset
for help on using the changeset viewer.