Changeset 2360 for trunk/src/STGrid.h


Ignore:
Timestamp:
12/06/11 13:13:24 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2816

Ready for Test: No

Interface Changes: Yes

What Interface Changed: Added interface to select polarization

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Polarization selection support.
Default is all polarization components.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.h

    r2356 r2360  
    1616#include <fstream>
    1717#include <string>
     18#include <vector>
    1819
    1920#include <casa/BasicSL/String.h>
    2021#include <casa/Arrays/Vector.h>
    21 // #include <casa/Arrays/Matrix.h>
    22 // #include <casa/Arrays/Cube.h>
     22#include <casa/Arrays/Matrix.h>
     23#include <casa/Arrays/Cube.h>
    2324// #include <casa/Arrays/ArrayMath.h>
    2425// #include <casa/Inputs/Input.h>
     
    4748
    4849  void setFileIn( const string infile ) ;
    49 //   void setFileOut( const string outfile ) ;
     50
     51  void setPolList( vector<unsigned int> pols ) ;
    5052
    5153  void defineImage( int nx=-1,
     
    7476 
    7577  void getData( String &infile,
    76                 Matrix<Float> &spectra,
     78                Cube<Float> &spectra,
    7779                Matrix<Double> &direction,
    78                 Matrix<uChar> &flagtra,
    79                 Vector<uInt> &rflag ) ;
     80                Cube<uChar> &flagtra,
     81                Matrix<uInt> &rflag ) ;
    8082
    81   void toInt( Matrix<uChar> &u, Matrix<Int> &v ) ;
    82   void toInt( Vector<uInt> &u, Vector<Int> &v ) ;
     83  void toInt( Array<uChar> *u, Array<Int> *v ) ;
     84  void toInt( Array<uInt> *u, Array<Int> *v ) ;
    8385
    8486  void toPixel( Matrix<Double> &world, Matrix<Double> &pixel ) ;
     
    101103  Int convSampling_ ;
    102104  Array<Float> data_ ;
     105  Vector<uInt> pollist_ ;
    103106
    104107  Table tab_ ;
Note: See TracChangeset for help on using the changeset viewer.