Changeset 67 for trunk/src/SDContainer.cc
- Timestamp:
- 07/19/04 10:58:42 (20 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.