Changeset 2378 for trunk/src/STGrid.h


Ignore:
Timestamp:
12/20/11 16:05:47 (12 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...

Preparation for gridding per row.

Speed up setData() by sharing storage for data_ and gridding weight.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.h

    r2375 r2378  
    6666
    6767  void grid() ;
     68  void gridPerRow() ;
    6869 
    6970  string saveData( string outfile="" ) ;
     
    8283                  String &center ) ;
    8384
    84   void setData( Array<Float> &data,
    85                 Array<Complex> &gdata,
     85  void setData( Array<Complex> &gdata,
    8686                Array<Float> &gwgt ) ;
    8787 
     88  void getData( Array<Complex> &spectra,
     89                Array<Double> &direction,
     90                Array<Int> &flagtra,
     91                Array<Int> &rflag,
     92                Array<Float> &weight ) ;
    8893  void getData( Array<Complex> &spectra,
    8994                Array<Double> &direction,
     
    9196                Array<uInt> &rflag,
    9297                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 ) ;
     98  void getDataChunk( Array<Complex> &spectra,
     99                     Array<Double> &direction,
     100                     Array<Int> &flagtra,
     101                     Array<Int> &rflag,
     102                     Array<Float> &weight ) ;
    98103
    99104  void getWeight( Array<Float> &w,
     
    120125  void prepareTable( Table &tab, String &name ) ;
    121126
     127  Bool pastEnd() ;
     128
     129
    122130  String infile_ ;
    123131  Int ifno_ ;
     
    140148
    141149  Table tab_ ;
     150  Int irow_ ;
    142151};
    143152}
Note: See TracChangeset for help on using the changeset viewer.