Changeset 2361 for trunk/src/STGrid.h


Ignore:
Timestamp:
12/06/11 19:18:40 (12 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 method to set weight type

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Weighting type can be specified.
Supported types are:

UNIFORM
TINT
TSYS
TINTSYS


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.h

    r2360 r2361  
    5858  void setOption( string convtype="box",
    5959                  int convsupport=-1 ) ;
     60
     61  void setWeight( const string wType="uniform" ) ;
     62
    6063  void grid() ;
    6164 
     
    7982                Matrix<Double> &direction,
    8083                Cube<uChar> &flagtra,
    81                 Matrix<uInt> &rflag ) ;
     84                Matrix<uInt> &rflag,
     85                Matrix<Float> &weight ) ;
     86
     87  void getWeight( Matrix<Float> &w,
     88                  Cube<Float> &tsys,
     89                  Matrix<Double> &tint ) ;
    8290
    8391  void toInt( Array<uChar> *u, Array<Int> *v ) ;
     
    95103  Int nx_ ;
    96104  Int ny_ ;
     105  Int npol_ ;
     106  Int nchan_ ;
     107  Int nrow_ ;
     108  Int ngrid_ ;
    97109  Double cellx_ ;
    98110  Double celly_ ;
     
    104116  Array<Float> data_ ;
    105117  Vector<uInt> pollist_ ;
     118  String wtype_ ;
    106119
    107120  Table tab_ ;
Note: See TracChangeset for help on using the changeset viewer.