Changeset 2566 for branches/hpc33/src/STMath.h
- Timestamp:
- 06/13/12 18:08:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STMath.h
r2563 r2566 402 402 flagsFromMA(const casa::MaskedArray<casa::Float>& ma); 403 403 404 vector<float> getSpectrumFromTime( string reftime, casa::CountedPtr<Scantable>& s, string mode = "before" ) ;405 404 casa::Vector<casa::Float> getSpectrumFromTime( double reftime, const casa::Vector<casa::Double> &v, const vector<int> &idx, const casa::Matrix<casa::Float>& sp, string mode = "before" ) ; 406 vector<float> getTcalFromTime( string reftime, casa::CountedPtr<Scantable>& s, string mode="before" ) ;407 405 casa::Vector<casa::Float> getTcalFromTime( double reftime, const casa::Vector<casa::Double> &v, const vector<int> &idx, const casa::CountedPtr<Scantable>& s, string mode="before" ) ; 408 vector<float> getTsysFromTime( string reftime, casa::CountedPtr<Scantable>& s, string mode="before" ) ;409 406 casa::Vector<casa::Float> getTsysFromTime( double reftime, const casa::Vector<casa::Double> &v, const vector<int> &idx, const casa::CountedPtr<Scantable>& s, string mode="before" ) ; 410 vector<int> getRowIdFromTime( string reftime, casa::CountedPtr<Scantable>& s ) ;411 407 vector<int> getRowIdFromTime( double reftime, const casa::Vector<casa::Double>& t ) ; 412 408 … … 420 416 const casa::Vector<casa::uInt> &rows, 421 417 const casa::String &antname ) ; 422 vector<float> getCalibratedSpectra( casa::CountedPtr<Scantable>& on, 423 casa::CountedPtr<Scantable>& off, 424 casa::CountedPtr<Scantable>& sky, 425 casa::CountedPtr<Scantable>& hot, 426 casa::CountedPtr<Scantable>& cold, 427 int index, 428 string antname ) ; 418 429 419 // Tsys * (ON-OFF)/OFF 430 420 void calibrateALMA( casa::CountedPtr<Scantable>& out, … … 432 422 const casa::CountedPtr<Scantable>& off, 433 423 const casa::Vector<casa::uInt>& rows ) ; 434 vector<float> getFSCalibratedSpectra( casa::CountedPtr<Scantable>& sig, 435 casa::CountedPtr<Scantable>& ref, 436 casa::CountedPtr<Scantable>& sky, 437 casa::CountedPtr<Scantable>& hot, 438 casa::CountedPtr<Scantable>& cold, 439 int index ) ; 440 vector<float> getFSCalibratedSpectra( casa::CountedPtr<Scantable>& sig, 441 casa::CountedPtr<Scantable>& ref, 442 vector< casa::CountedPtr<Scantable> >& sky, 443 vector< casa::CountedPtr<Scantable> >& hot, 444 vector< casa::CountedPtr<Scantable> >& cold, 445 int index ) ; 446 double getMJD( string strtime ) ; 424 425 // Frequency switching 426 void calibrateFS( casa::CountedPtr<Scantable> &sig, 427 casa::CountedPtr<Scantable> &ref, 428 const casa::CountedPtr<Scantable> &rsig, 429 const casa::CountedPtr<Scantable> &rref, 430 const casa::CountedPtr<Scantable> &sky, 431 const casa::CountedPtr<Scantable> &hot, 432 const casa::CountedPtr<Scantable> &cold, 433 const casa::Vector<casa::uInt> &rows ) ; 434 void calibrateAPEXFS( casa::CountedPtr<Scantable> &sig, 435 casa::CountedPtr<Scantable> &ref, 436 const vector< casa::CountedPtr<Scantable> > &on, 437 const vector< casa::CountedPtr<Scantable> > &sky, 438 const vector< casa::CountedPtr<Scantable> > &hot, 439 const vector< casa::CountedPtr<Scantable> > &cold, 440 const casa::Vector<casa::uInt> &rows ) ; 447 441 void copyRows( casa::Table &out, 448 442 const casa::Table &in,
Note: See TracChangeset
for help on using the changeset viewer.