Changeset 2375 for trunk/src/STGrid.h


Ignore:
Timestamp:
12/19/11 19:40:37 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2816

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Several bug fixes and updates

  • fixed misunderstanding of array shape when getting data
  • load flag data as Int (originally uChar/uInt) at the beginning of gridding
  • do not plot observed position and grid position by default
  • use Array (instead of Vector/Matrix/Cube?) as much as possible


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.h

    r2374 r2375  
    8686                Array<Float> &gwgt ) ;
    8787 
    88   void getData( Cube<Complex> &spectra,
    89                 Matrix<Double> &direction,
    90                 Cube<uChar> &flagtra,
    91                 Matrix<uInt> &rflag,
    92                 Matrix<Float> &weight ) ;
     88  void getData( Array<Complex> &spectra,
     89                Array<Double> &direction,
     90                Array<uChar> &flagtra,
     91                Array<uInt> &rflag,
     92                Array<Float> &weight ) ;
     93  void getData( Array<Complex> &spectra,
     94                Array<Double> &direction,
     95                Array<Int> &flagtra,
     96                Array<Int> &rflag,
     97                Array<Float> &weight ) ;
    9398
    94   void getWeight( Matrix<Float> &w,
    95                   Cube<Float> &tsys,
    96                   Matrix<Double> &tint ) ;
     99  void getWeight( Array<Float> &w,
     100                  Array<Float> &tsys,
     101                  Array<Double> &tint ) ;
    97102
    98   void toInt( Array<uChar> *u, Array<Int> *v ) ;
    99   void toInt( Array<uInt> *u, Array<Int> *v ) ;
     103  void toInt( Array<uChar> &u, Array<Int> &v ) ;
     104  void toInt( Array<uInt> &u, Array<Int> &v ) ;
    100105
    101   void toPixel( Matrix<Double> &world, Matrix<Double> &pixel ) ;
     106  void toPixel( Array<Double> &world, Array<Double> &pixel ) ;
    102107 
    103108  void boxFunc( Vector<Float> &convFunc, Int &convSize ) ;
     
    111116  Double polMean( const Double *p ) ;
    112117
    113   void updatePolList( Table &tab ) ;
     118  void setupArray( Table &tab ) ;
    114119
    115120  void prepareTable( Table &tab, String &name ) ;
Note: See TracChangeset for help on using the changeset viewer.