Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/atnf/PKSIO/NRODataset.h

    r2436 r2289  
    4444#include <atnf/PKSIO/NRODataRecord.h>
    4545#include <casa/namespace.h>
    46 #include <casa/iomanip.h>
    4746
    4847#define SCAN_HEADER_SIZE 424
     
    201200  virtual vector<double> getFrequencies( int i ) ;
    202201  virtual uInt getArrayId( string type ) ;
    203   virtual uInt getPolNo( int irow ) ;
    204202
    205203 protected:
     
    240238  virtual double toLSR( double v, double t, double x, double y ) ;
    241239
    242   // POLNO from RX
    243   uInt polNoFromRX( const char *rx ) ;
    244 
    245240  // Type of file record
    246241  string LOFIL ;
     
    523518} ;
    524519
    525 // debug message output
    526 template<class T> inline void nro_debug_output( char *name, int len, vector<T> &val )
    527 {
    528   for ( int i = 0 ; i < len ; i++ ) {
    529     if ( i == 0 ) {
    530       cout << setw(8) << left << name ;
    531     }
    532     else if ( ( i % 5 ) == 0 ) {
    533       cout << endl << "        " ;
    534     }
    535     cout << "\'" << val[i] << "\' " ;
    536   }
    537   cout << endl ;
    538 }
    539 
    540 template<class T> inline void nro_debug_output( char *name, int len1, int len2, vector< vector<T> > &val )
    541 {
    542   for ( int i = 0 ; i < len1 ; i++ ) {
    543     for ( int j = 0 ; j < len2 ; j++ ) {
    544       if ( j == 0 ) {
    545         if ( i < 10 )
    546           cout << name << "0" << i << " " ;
    547         else
    548           cout << name << i << " " ;
    549       }
    550       else if ( ( j % 5 ) == 0 ) {
    551         cout << endl << "        " ;
    552       }
    553       cout << "\'" << val[i][j] << "\' " ;
    554     }
    555     cout << endl ;
    556   }
    557 }
    558 
    559520
    560521#endif /* NRO_HEADER_H */
Note: See TracChangeset for help on using the changeset viewer.