Changeset 901 for trunk/src


Ignore:
Timestamp:
03/10/06 13:29:22 (19 years ago)
Author:
mar637
Message:

SDContainer -> STHeader

Location:
trunk/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r897 r901  
    8383             Logger.o \
    8484             STAttr.o \
    85              SDContainer.o \
     85             STHeader.o \
    8686             STFiller.o \
    8787             STMath.o \
     
    114114             Logger.h \
    115115             STAttr.h \
    116              SDContainer.h \
     116             STHeader.h \
    117117             Scantable.h \
    118118             STFiller.h \
  • trunk/src/SDFITSImageWriter.cc

    r833 r901  
    5959
    6060#include "STDefs.h"
    61 #include "SDContainer.h"
     61#include "STHeader.h"
    6262#include "SDMemTable.h"
    6363#include "SDPol.h"
     
    8181// Get global Header from Table
    8282
    83    SDHeader header = sdTable.getSDHeader();
     83   STHeader header = sdTable.getSTHeader();
    8484   MEpoch::Ref timeRef(sdTable.getTimeReference());
    8585   MDirection::Types dirRef = sdTable.getDirectionReference();
  • trunk/src/STFiller.cpp

    r895 r901  
    3030
    3131#include "STFiller.h"
     32#include "STHeader.h"
    3233
    3334using namespace casa;
     
    103104
    104105  if (header_) delete header_;
    105   header_ = new SDHeader();
     106  header_ = new STHeader();
    106107  header_->nchan = nChan_;
    107108  header_->npol = nPol_;
  • trunk/src/STFiller.h

    r894 r901  
    2323
    2424#include "Scantable.h"
    25 #include "SDContainer.h"
     25#include "STHeader.h"
    2626#include "Logger.h"
    2727
     
    9696
    9797  PKSreader* reader_;
    98   SDHeader* header_;
     98  STHeader* header_;
    9999  casa::String filename_;
    100100  casa::CountedPtr< Scantable > table_;
  • trunk/src/STHeader.cpp

    r900 r901  
    11//#---------------------------------------------------------------------------
    2 //# SDContainer.cc: A container class for single dish integrations
     2//# STHeader.cpp: A container class for single dish integrations
    33//#---------------------------------------------------------------------------
    44//# Copyright (C) 2004
     
    4141
    4242#include "STDefs.h"
    43 #include "SDContainer.h"
     43#include "STHeader.h"
    4444
    4545using namespace casa;
     
    4848
    4949
    50 bool SDHeader::conformant( const SDHeader& other )
     50bool STHeader::conformant( const STHeader& other )
    5151{
    5252  bool conforms;
     
    5959}
    6060
    61 void SDHeader::print() const {
     61void STHeader::print() const {
    6262  MVTime mvt(this->utc);
    6363  mvt.setFormat(MVTime::YMD);
  • trunk/src/STHeader.h

    r900 r901  
    11//#---------------------------------------------------------------------------
    2 //# SDContainer.h: A container class for single dish integrations
     2//# STHeader.h: A container class for single dish integrations
    33//#---------------------------------------------------------------------------
    44//# Copyright (C) 2004
     
    2929//# $Id:
    3030//#---------------------------------------------------------------------------
    31 #ifndef SDCONTAINER_H
    32 #define SDCONTAINER_H
     31#ifndef STHEADER_H
     32#define STHEADER_H
    3333
    3434#include <vector>
     
    4545
    4646
    47 struct SDHeader {
     47struct STHeader {
    4848
    49   bool conformant(const SDHeader& other);
     49  bool conformant(const STHeader& other);
    5050
    5151  casa::Int nchan;
  • trunk/src/STWriter.cpp

    r844 r901  
    4949//#include "SDFITSImageWriter.h"
    5050//#include "STAsciiWriter.h"
    51 //#include "SDPol.h"
    52 #include "SDContainer.h"
     51#include "STHeader.h"
    5352
    5453#include "STWriter.h"
     
    131130
    132131  // Extract the header from the table.
    133   SDHeader hdr = in->getHeader();
     132  STHeader hdr = in->getHeader();
    134133  const Int nPol  = hdr.npol;
    135134  const Int nChan = hdr.nchan;
  • trunk/src/Scantable.cpp

    r896 r901  
    278278}
    279279
    280 void Scantable::setHeader(const SDHeader& sdh)
     280void Scantable::setHeader(const STHeader& sdh)
    281281{
    282282  table_.rwKeywordSet().define("nIF", sdh.nif);
     
    298298}
    299299
    300 SDHeader Scantable::getHeader() const
    301 {
    302   SDHeader sdh;
     300STHeader Scantable::getHeader() const
     301{
     302  STHeader sdh;
    303303  table_.keywordSet().get("nBeam",sdh.nbeam);
    304304  table_.keywordSet().get("nIF",sdh.nif);
  • trunk/src/Scantable.h

    r896 r901  
    3131
    3232#include "Logger.h"
    33 #include "SDContainer.h"
     33#include "STHeader.h"
    3434#include "STFrequencies.h"
    3535#include "STWeather.h"
     
    115115  /**
    116116   * set the header
    117    * @param[in] sdh an SDHeader object
    118    */
    119   void setHeader( const SDHeader& sdh );
     117   * @param[in] sdh an STHeader object
     118   */
     119  void setHeader( const STHeader& sth );
    120120
    121121  /**
    122122   * get the header information
    123    * @return an SDHeader object
    124    */
    125   SDHeader getHeader( ) const;
     123   * @return an STHeader object
     124   */
     125  STHeader getHeader( ) const;
    126126  /**
    127127   * Checks if the "other" Scantable is conformant with this,
  • trunk/src/ScantableWrapper.h

    r896 r901  
    1818
    1919#include "MathUtils.h"
    20 #include "SDFitTable.h"
     20#include "STFit.h"
    2121#include "Scantable.h"
    2222
Note: See TracChangeset for help on using the changeset viewer.