Changeset 1633 for branches/alma/src/STMath.h
- Timestamp:
- 09/16/09 17:11:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/STMath.h
r1609 r1633 200 200 201 201 /** 202 * Calibrate data with Chopper-Wheel like calibration method 203 * which adopts position switching by antenna motion, 204 * wobbler (nutator) switching and On-The-Fly observation. 205 * 206 * The method is applicable to APEX, and other telescopes other than GBT. 207 * 208 * @param a Scantable which contains ON and OFF scans 209 * @param a string that indicates calibration mode 210 * @param a string that indicates antenna name 211 **/ 212 casa::CountedPtr<Scantable> cwcal( const casa::CountedPtr<Scantable>& s, 213 const casa::String calmode, 214 const casa::String antname ); 215 216 /** 217 * Calibrate frequency switched scans with Chopper-Wheel like 218 * calibration method. 219 * 220 * The method is applicable to APEX, and other telescopes other than GBT. 221 * 222 * @param a Scantable which contains ON and OFF scans 223 * @param a string that indicates antenna name 224 **/ 225 casa::CountedPtr<Scantable> cwcalfs( const casa::CountedPtr<Scantable>& s, 226 const casa::String antname ); 227 228 229 /** 202 230 * Folding frequency-switch data 203 231 * @param sig … … 207 235 casa::CountedPtr<Scantable> dofold( const casa::CountedPtr<Scantable> &sig, 208 236 const casa::CountedPtr<Scantable> &ref, 209 casa::Int choffset ); 237 casa::Double choffset, 238 casa::Double choffset = 0.0 ); 210 239 211 240 casa::CountedPtr<Scantable> … … 330 359 flagsFromMA(const casa::MaskedArray<casa::Float>& ma); 331 360 361 vector<float> getSpectrumFromTime( string reftime, casa::CountedPtr<Scantable>& s, string mode = "before" ) ; 362 vector<float> getTcalFromTime( string reftime, casa::CountedPtr<Scantable>& s, string mode="before" ) ; 363 vector<int> getRowIdFromTime( string reftime, casa::CountedPtr<Scantable>& s ) ; 364 vector<float> getCalibratedSpectra( casa::CountedPtr<Scantable>& on, 365 casa::CountedPtr<Scantable>& off, 366 casa::CountedPtr<Scantable>& sky, 367 casa::CountedPtr<Scantable>& hot, 368 casa::CountedPtr<Scantable>& cold, 369 int index, 370 string antname ) ; 371 vector<float> getFSCalibratedSpectra( casa::CountedPtr<Scantable>& sig, 372 casa::CountedPtr<Scantable>& ref, 373 casa::CountedPtr<Scantable>& sky, 374 casa::CountedPtr<Scantable>& hot, 375 casa::CountedPtr<Scantable>& cold, 376 int index ) ; 377 vector<float> getFSCalibratedSpectra( casa::CountedPtr<Scantable>& sig, 378 casa::CountedPtr<Scantable>& ref, 379 vector< casa::CountedPtr<Scantable> >& sky, 380 vector< casa::CountedPtr<Scantable> >& hot, 381 vector< casa::CountedPtr<Scantable> >& cold, 382 int index ) ; 383 double getMJD( string strtime ) ; 384 332 385 bool insitu_; 333 386 };
Note: See TracChangeset
for help on using the changeset viewer.