Changeset 1391 for trunk/src/STMath.h
- Timestamp:
- 07/30/07 11:59:36 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.h
r1374 r1391 132 132 bool preserve = true ); 133 133 134 /** 135 * Calibrate total power scans (translated from GBTIDL) 136 * @param calon uncalibrated Scantable with CAL noise signal 137 * @param caloff uncalibrated Scantable with no CAL signal 138 * @param tcal optional scalar Tcal, CAL temperature (K) 139 * @return casa::CountedPtr<Scantable> which holds a calibrated Scantable 140 * (spectrum - average of the two CAL on and off spectra; 141 * tsys - mean Tsys = <caloff>*Tcal/<calon-caloff> + Tcal/2) 142 */ 143 casa::CountedPtr<Scantable> dototalpower( const casa::CountedPtr<Scantable>& calon, 144 const casa::CountedPtr<Scantable>& caloff, 145 casa::Float tcal=1.0 ); 146 147 /** 148 * Combine signal and reference scans (translated from GBTIDL) 149 * @param sig Scantable which contains signal scans 150 * @param ref Scantable which contains reference scans 151 * @param smoothref optional Boxcar smooth width of the reference scans 152 * default: no smoothing (=1) 153 * @param tsysv optional scalar Tsys value at the zenith, required to 154 * set tau, as well 155 * @param tau optional scalar Tau value 156 * @return casa::CountedPtr<Scantable> which holds combined scans 157 * (spectrum = (sig-ref)/ref * Tsys ) 158 */ 159 casa::CountedPtr<Scantable> dosigref( const casa::CountedPtr<Scantable>& sig, 160 const casa::CountedPtr<Scantable>& ref, 161 int smoothref=1, 162 casa::Float tsysv=0.0, 163 casa::Float tau=0.0 ); 164 165 /** 166 * Calibrate GBT Nod scan pairs (translated from GBTIDL) 167 * @param s Scantable which contains Nod scans 168 * @param scans Vector of scan numbers 169 * @param smoothref optional Boxcar smooth width of the reference scans 170 * @param tsysv optional scalar Tsys value at the zenith, required to 171 * set tau, as well 172 * @param tau optional scalar Tau value 173 * @param tcal optional scalar Tcal, CAL temperature (K) 174 * @return casa::CountedPtr<Scantable> which holds calibrated scans 175 */ 176 casa::CountedPtr<Scantable> donod( const casa::CountedPtr<Scantable>& s, 177 const std::vector<int>& scans, 178 int smoothref=1, 179 casa::Float tsysv=0.0, 180 casa::Float tau=0.0, 181 casa::Float tcal=0.0 ); 182 183 /** 184 * Calibrate frequency switched scans (translated from GBTIDL) 185 * @param s Scantable which contains frequency switched scans 186 * @param scans Vector of scan numbers 187 * @param smoothref optional Boxcar smooth width of the reference scans 188 * @param tsysv optional scalar Tsys value at the zenith, required to 189 * set tau, as well 190 * @param tau optional scalar Tau value 191 * @param tcal optional scalar Tcal, CAL temperature (K) 192 * @return casa::CountedPtr<Scantable> which holds calibrated scans 193 */ 194 casa::CountedPtr<Scantable> dofs( const casa::CountedPtr<Scantable>& s, 195 const std::vector<int>& scans, 196 int smoothref=1, 197 casa::Float tsysv=0.0, 198 casa::Float tau=0.0, 199 casa::Float tcal=0.0 ); 200 201 134 202 casa::CountedPtr<Scantable> 135 203 freqSwitch( const casa::CountedPtr<Scantable>& in );
Note: See TracChangeset
for help on using the changeset viewer.