casa
$Rev:20696$
|
00001 //#--------------------------------------------------------------------------- 00002 //# NRO45Reader.h: Class to read NRO 45m OTF 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 NRO45_READER_H 00034 #define NRO45_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 #include <casa/BasicSL/String.h> 00041 00042 #include <casa/namespace.h> 00043 #include <atnf/PKSIO/NROReader.h> 00044 00045 #include <string> 00046 00047 using namespace std ; 00048 00049 // <summary> 00050 // Class to read NRO 45m OTF data. 00051 // </summary> 00052 // 00053 // <prerequisite> 00054 // <li> <linkto class=NROReader>NROReader</linkto> 00055 // <li> <linkto class=NRODataRecord>NRODataset</linkto> 00056 // <li> <linkto class=NROOTFDataset>NROOTFDataset</linkto> 00057 // </prerequisite> 00058 // 00059 // <reviewed reviewer="" date="" tests="" demos=""> 00060 // </reviewed> 00061 // 00062 // <etymology> 00063 // This class is a reader class for NRO 45m telescope. This is specialized class 00064 // for data obtained by OTF observing mode. The class uses 00065 // <linkto class=NROOTFDataset>NROOTFDataset</linkto> object to access data. 00066 // </etymology> 00067 // 00068 // <synopsis> 00069 // Reader class for NRO 45m OTF data. 00070 // </synopsis> 00071 // 00072 00073 class NRO45Reader : public NROReader 00074 { 00075 public: 00076 // Constructor 00077 NRO45Reader( string name ) ; 00078 00079 // Destructor. 00080 ~NRO45Reader() ; 00081 00082 // Read data header 00083 virtual int read() ; 00084 00085 protected: 00086 // Get Antenna Position in ITRF coordinate 00087 virtual vector<double> getAntennaPosition() ; 00088 00089 }; 00090 00091 #endif /* NRO45_READER_H */