Changeset 1788 for branches/newfiller
- Timestamp:
- 07/30/10 16:59:08 (14 years ago)
- Location:
- branches/newfiller/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newfiller/src/FillerBase.cpp
r1786 r1788 25 25 26 26 void FillerBase::setSpectrum(const Vector<Float>& spectrum, 27 const Vector<uChar>& flags) 27 const Vector<uChar>& flags, 28 const Vector<Float>& tsys) 28 29 { 29 30 RecordFieldPtr< Array<Float> > specCol(row_.record(), "SPECTRA"); 30 31 RecordFieldPtr< Array<uChar> > flagCol(row_.record(), "FLAGTRA"); 32 RecordFieldPtr< Array<Float> > tsysCol(row_.record(), "TSYS"); 33 31 34 *specCol = spectrum; 32 35 *flagCol = flags; 36 *tsysCol = tsys; 37 } 38 39 40 void FillerBase::setOpacity(Float opacity) 41 { 42 RecordFieldPtr<Float> tauCol(row_.record(), "OPACITY") ; 43 *tauCol = opacity ; 33 44 } 34 45 -
branches/newfiller/src/FillerBase.h
r1787 r1788 57 57 virtual void setHeader(const STHeader& header); 58 58 virtual void setSpectrum(const casa::Vector<casa::Float>& spectrum, 59 const casa::Vector<casa::uChar>& flags) ; 59 const casa::Vector<casa::uChar>& flags, 60 const casa::Vector<casa::Float>& tsys) ; 61 virtual void setOpacity(casa::Float opacity=0.0f); 60 62 virtual void setIndex(casa::uInt scanno, casa::uInt cycleno, 61 63 casa::uInt ifno, casa::uInt polno,
Note:
See TracChangeset
for help on using the changeset viewer.