Ignore:
Timestamp:
12/18/08 13:15:57 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1043

Ready to Release: Yes

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: Execute following commands:


asap_init()
s=sd.scantable(filename,average=False)

where filename should be NRO data.

Put in Release Notes: Yes/No?

Description: Modified STFiller class is able to import

NRO OTF raw data. STFiller automatically
identifies if a type of input file is NRO
raw data or not.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STFiller.h

    r1388 r1458  
    2727
    2828class PKSreader;
     29class NROReader;
    2930
    3031namespace asap {
     
    6162    */
    6263  explicit STFiller( const std::string& filename, int whichIF=-1,
    63                   int whichBeam=-1 );
     64                     int whichBeam=-1 );
    6465
    6566  /**
     
    9394  casa::CountedPtr<Scantable> getTable() const { return table_;}
    9495
     96  /**
     97   * For NRO data
     98   *
     99   * 2008/11/11 Takeshi Nakazato
     100   *
     101   * openNRO  : NRO version of open(), which performs to open file and
     102   *            read header data.
     103   * 
     104   * readNRO  : NRO version of read(), which performs to read scan
     105   *            records.
     106   *
     107   * fileCheck: Identify a type (NRO data or not) of filename_.
     108   **/
     109  void openNRO( int whichIF=-1, int whichBeam=-1 ) ;
     110  int readNRO() ;
     111  casa::Bool fileCheck() ;
     112
    95113private:
    96114
     
    102120  casa::uInt ifOffset_, beamOffset_;
    103121  casa::Vector<casa::Bool> haveXPol_;
     122  NROReader *nreader_ ;
     123  casa::Bool isNRO_ ;
    104124};
    105125
Note: See TracChangeset for help on using the changeset viewer.