Changeset 1977 for trunk/src/MSWriter.h


Ignore:
Timestamp:
01/24/11 17:41:48 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2718

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...

Almost finished a writer. Ready to test.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MSWriter.h

    r1975 r1977  
    2020#include <casa/Utilities/CountedPtr.h>
    2121#include <casa/Arrays/Vector.h>
     22#include <casa/Arrays/Matrix.h>
    2223#include <casa/Logging/LogIO.h>
     24#include <casa/Containers/Record.h>
    2325
    2426#include <tables/Tables/Table.h>
     
    2931
    3032#include <measures/Measures/MEpoch.h>
     33
     34#include <atnf/PKSIO/SrcType.h>
    3135
    3236#include "Scantable.h"
     
    6064  void fillProcessor() ;
    6165  void fillSource() ;
     66  void fillWeather() ;
     67  void fillSysCal() ;
    6268
    6369  // add rows to subtables
     
    6571  void addSpectralWindow( casa::Int spwid, casa::Int freqid ) ;
    6672  void addField( casa::Int fid, casa::String fieldname, casa::String srcname, casa::Double t, casa::Vector<casa::Double> scanrate ) ;
     73  void addPointing( casa::String &name, casa::MEpoch &me, casa::Double &interval, casa::Matrix<casa::Double> &dir ) ;
    6774  casa::Int addPolarization( casa::Vector<casa::Int> polnos ) ;
    6875  casa::Int addDataDescription( casa::Int polid, casa::Int spwid ) ;
     76  casa::Int addState( casa::Int type, casa::Int &subscan ) ;
    6977
    7078  // utility
    7179  casa::Vector<casa::Int> toCorrType( casa::Vector<casa::Int> polnos ) ;
    7280  void getValidTimeRange( casa::MEpoch &me, casa::Double &interval, casa::Table &tab ) ;
     81  void queryType( casa::Int type, casa::String &stype, casa::Bool &b ) ;
    7382
    7483  casa::CountedPtr<Scantable> table_ ;
     
    7685  casa::CountedPtr<casa::MeasurementSet> mstable_ ;
    7786
    78   casa::Bool isFloatData_ ;
    79   casa::Bool isData_ ;
     87  casa::Bool useFloatData_ ;
     88  casa::Bool useData_ ;
     89  casa::Bool tcalSpec_ ;
     90  casa::Bool tsysSpec_ ;
     91
    8092  casa::String polType_ ;
    8193
     
    8395
    8496  casa::LogIO os_ ;
     97
     98  casa::Record tcalIdRec_ ;
    8599 
    86100  MSWriter();
Note: See TracChangeset for help on using the changeset viewer.