- Timestamp:
- 03/10/06 13:29:22 (19 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile
r897 r901 83 83 Logger.o \ 84 84 STAttr.o \ 85 S DContainer.o \85 STHeader.o \ 86 86 STFiller.o \ 87 87 STMath.o \ … … 114 114 Logger.h \ 115 115 STAttr.h \ 116 S DContainer.h \116 STHeader.h \ 117 117 Scantable.h \ 118 118 STFiller.h \ -
trunk/src/SDFITSImageWriter.cc
r833 r901 59 59 60 60 #include "STDefs.h" 61 #include "S DContainer.h"61 #include "STHeader.h" 62 62 #include "SDMemTable.h" 63 63 #include "SDPol.h" … … 81 81 // Get global Header from Table 82 82 83 S DHeader header = sdTable.getSDHeader();83 STHeader header = sdTable.getSTHeader(); 84 84 MEpoch::Ref timeRef(sdTable.getTimeReference()); 85 85 MDirection::Types dirRef = sdTable.getDirectionReference(); -
trunk/src/STFiller.cpp
r895 r901 30 30 31 31 #include "STFiller.h" 32 #include "STHeader.h" 32 33 33 34 using namespace casa; … … 103 104 104 105 if (header_) delete header_; 105 header_ = new S DHeader();106 header_ = new STHeader(); 106 107 header_->nchan = nChan_; 107 108 header_->npol = nPol_; -
trunk/src/STFiller.h
r894 r901 23 23 24 24 #include "Scantable.h" 25 #include "S DContainer.h"25 #include "STHeader.h" 26 26 #include "Logger.h" 27 27 … … 96 96 97 97 PKSreader* reader_; 98 S DHeader* header_;98 STHeader* header_; 99 99 casa::String filename_; 100 100 casa::CountedPtr< Scantable > table_; -
trunk/src/STHeader.cpp
r900 r901 1 1 //#--------------------------------------------------------------------------- 2 //# S DContainer.cc: A container class for single dish integrations2 //# STHeader.cpp: A container class for single dish integrations 3 3 //#--------------------------------------------------------------------------- 4 4 //# Copyright (C) 2004 … … 41 41 42 42 #include "STDefs.h" 43 #include "S DContainer.h"43 #include "STHeader.h" 44 44 45 45 using namespace casa; … … 48 48 49 49 50 bool S DHeader::conformant( const SDHeader& other )50 bool STHeader::conformant( const STHeader& other ) 51 51 { 52 52 bool conforms; … … 59 59 } 60 60 61 void S DHeader::print() const {61 void STHeader::print() const { 62 62 MVTime mvt(this->utc); 63 63 mvt.setFormat(MVTime::YMD); -
trunk/src/STHeader.h
r900 r901 1 1 //#--------------------------------------------------------------------------- 2 //# S DContainer.h: A container class for single dish integrations2 //# STHeader.h: A container class for single dish integrations 3 3 //#--------------------------------------------------------------------------- 4 4 //# Copyright (C) 2004 … … 29 29 //# $Id: 30 30 //#--------------------------------------------------------------------------- 31 #ifndef S DCONTAINER_H32 #define S DCONTAINER_H31 #ifndef STHEADER_H 32 #define STHEADER_H 33 33 34 34 #include <vector> … … 45 45 46 46 47 struct S DHeader {47 struct STHeader { 48 48 49 bool conformant(const S DHeader& other);49 bool conformant(const STHeader& other); 50 50 51 51 casa::Int nchan; -
trunk/src/STWriter.cpp
r844 r901 49 49 //#include "SDFITSImageWriter.h" 50 50 //#include "STAsciiWriter.h" 51 //#include "SDPol.h" 52 #include "SDContainer.h" 51 #include "STHeader.h" 53 52 54 53 #include "STWriter.h" … … 131 130 132 131 // Extract the header from the table. 133 S DHeader hdr = in->getHeader();132 STHeader hdr = in->getHeader(); 134 133 const Int nPol = hdr.npol; 135 134 const Int nChan = hdr.nchan; -
trunk/src/Scantable.cpp
r896 r901 278 278 } 279 279 280 void Scantable::setHeader(const S DHeader& sdh)280 void Scantable::setHeader(const STHeader& sdh) 281 281 { 282 282 table_.rwKeywordSet().define("nIF", sdh.nif); … … 298 298 } 299 299 300 S DHeader Scantable::getHeader() const301 { 302 S DHeader sdh;300 STHeader Scantable::getHeader() const 301 { 302 STHeader sdh; 303 303 table_.keywordSet().get("nBeam",sdh.nbeam); 304 304 table_.keywordSet().get("nIF",sdh.nif); -
trunk/src/Scantable.h
r896 r901 31 31 32 32 #include "Logger.h" 33 #include "S DContainer.h"33 #include "STHeader.h" 34 34 #include "STFrequencies.h" 35 35 #include "STWeather.h" … … 115 115 /** 116 116 * set the header 117 * @param[in] sdh an S DHeader object118 */ 119 void setHeader( const S DHeader& sdh );117 * @param[in] sdh an STHeader object 118 */ 119 void setHeader( const STHeader& sth ); 120 120 121 121 /** 122 122 * get the header information 123 * @return an S DHeader object124 */ 125 S DHeader getHeader( ) const;123 * @return an STHeader object 124 */ 125 STHeader getHeader( ) const; 126 126 /** 127 127 * Checks if the "other" Scantable is conformant with this, -
trunk/src/ScantableWrapper.h
r896 r901 18 18 19 19 #include "MathUtils.h" 20 #include "S DFitTable.h"20 #include "STFit.h" 21 21 #include "Scantable.h" 22 22
Note:
See TracChangeset
for help on using the changeset viewer.