casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
ASTEReader.h
Go to the documentation of this file.
00001 //#---------------------------------------------------------------------------
00002 //# ASTEReader.h: Class to read ASTE data.
00003 //#---------------------------------------------------------------------------
00004 //# Copyright (C) 2000-2006
00005 //# Associated Universities, Inc. Washington DC, USA.
00006 //#
00007 //# This library is free software; you can redistribute it and/or modify it
00008 //# under the terms of the GNU Library General Public License as published by
00009 //# the Free Software Foundation; either version 2 of the License, or (at your
00010 //# option) any later version.
00011 //#
00012 //# This library is distributed in the hope that it will be useful, but WITHOUT
00013 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00015 //# License for more details.
00016 //#
00017 //# You should have received a copy of the GNU Library General Public License
00018 //# along with this library; if not, write to the Free Software Foundation,
00019 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00020 //#
00021 //# Correspondence concerning AIPS++ should be addressed as follows:
00022 //#        Internet email: aips2-request@nrao.edu.
00023 //#        Postal address: AIPS++ Project Office
00024 //#                        National Radio Astronomy Observatory
00025 //#                        520 Edgemont Road
00026 //#                        Charlottesville, VA 22903-2475 USA
00027 //#
00028 //# $Id$
00029 //#---------------------------------------------------------------------------
00030 //# Original: 2008/10/30, Takeshi Nakazato, NAOJ
00031 //#---------------------------------------------------------------------------
00032 
00033 #ifndef ASTE_READER_H
00034 #define ASTE_READER_H
00035 
00036 #include <casa/aips.h>
00037 #include <casa/Arrays/Matrix.h>
00038 #include <casa/Arrays/Vector.h>
00039 #include <casa/BasicSL/Complex.h>
00040 
00041 #include <string> 
00042 
00043 using namespace std ;
00044 
00045 // <summary>
00046 // Class to read ASTE data.
00047 // </summary>
00048 //
00049 // <prerequisite>
00050 //   <li> <linkto class=NROReader>NROReader</linkto>
00051 //   <li> <linkto class=NRODataRecord>NRODataset</linkto>
00052 //   <li> <linkto class=ASTEDataset>ASTEDataset</linkto>
00053 // </prerequisite>
00054 //
00055 // <reviewed reviewer="" date="" tests="" demos="">
00056 // </reviewed>
00057 //
00058 // <etymology>
00059 // This class is a reader class for ASTE OTF data. The class uses 
00060 // <linkto class=ASTEDataset>ASTEDataset</linkto> object to access data. 
00061 // </etymology>
00062 //
00063 // <synopsis>
00064 // Reader class for ASTE OTF data.
00065 // </synopsis>
00066 //
00067 
00068 #include <casa/namespace.h>
00069 #include <atnf/PKSIO/NROReader.h>
00070 
00071 class ASTEReader : public NROReader
00072 {
00073   public:
00074   // Constructor 
00075   ASTEReader( string name ) ;
00076 
00077   // Destructor.
00078   ~ASTEReader() ;
00079 
00080   // Read data header
00081   virtual int read() ;
00082 
00083  protected:
00084   // Get Antenna Position in ITRF coordinate
00085   virtual vector<double> getAntennaPosition() ;
00086 
00087 };
00088 
00089 #endif /* ASTE_READER_H */