- Timestamp:
- 08/04/06 12:11:11 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/RowAccumulator.h
r1104 r1114 10 10 // 11 11 // 12 #ifndef ASAPROWACCUMULATOR_H 13 #define ASAPROWACCUMULATOR_H 12 14 13 15 #include <casa/aips.h> … … 35 37 ~RowAccumulator(); 36 38 37 38 39 40 41 42 43 44 39 /** 40 * add a new "row" to the accumulator 41 * @param v the spectrum 42 * @param m the mask for the spectrum 43 * @param tsys the Tsys corresponing to the spectrum 44 * @param interval the intergration time 45 * @param the time of the observation 46 */ 45 47 void add(const casa::Vector<casa::Float>& v, 46 48 const casa::Vector<casa::Bool>& m, … … 48 50 casa::Double interval, 49 51 casa::Double time); 50 51 52 53 54 52 /** 53 * Also set a user mask which get combined with the individual masks 54 * from the spectra 55 * @param m a boolean mask of teh same length as the spectrum 56 */ 55 57 void setUserMask(const casa::Vector<casa::Bool>& m); 56 57 58 59 58 /** 59 * Get the spectrum. Applies the normalisation (averaging) 60 * @return the spectrum vector 61 */ 60 62 casa::Vector<casa::Float> getSpectrum() const; 61 62 63 64 63 /** 64 * Get the Tsys. Applies the normalisation (averaging) 65 * @return the Tsys vector 66 */ 65 67 casa::Vector<casa::Float> getTsys() const; 66 67 68 69 68 /** 69 * Get the spectrum's mask. Applies the normalisation (averaging) 70 * @return the mask vector 71 */ 70 72 casa::Vector<casa::Bool> getMask() const; 71 72 73 74 73 /** 74 * Get the total interval. 75 * @return the integration time 76 */ 75 77 casa::Double getInterval() const; 76 77 78 79 */ 78 /** 79 * Get the time of the observation. Retrieves the "mean" time. 80 * @return the integration time 81 */ 80 82 casa::Double getTime() const; 81 82 83 83 /** 84 * Reset the acummulator to the state at construction. 85 */ 84 86 void reset(); 85 87 … … 107 109 108 110 } 111 #endif
Note:
See TracChangeset
for help on using the changeset viewer.