source: branches/hpc34/external-alma/atnf/PKSIO/NRO45Reader.h@ 2936

Last change on this file since 2936 was 2154, checked in by Takeshi Nakazato, 14 years ago

New Development: No

JIRA Issue: Yes CAS-2819

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

Bug fix on nif and nbeam.
For BEARS (MULT2), nif and nbeam is fixed as 1 and 25, respectively.
Otherwise, nif is number of arrays used and nbeam is 1.


File size: 2.9 KB
Line 
1//#---------------------------------------------------------------------------
2//# NRO45Reader.h: Class to read NRO 45m OTF data.
3//#---------------------------------------------------------------------------
4//# Copyright (C) 2000-2006
5//# Associated Universities, Inc. Washington DC, USA.
6//#
7//# This library is free software; you can redistribute it and/or modify it
8//# under the terms of the GNU Library General Public License as published by
9//# the Free Software Foundation; either version 2 of the License, or (at your
10//# option) any later version.
11//#
12//# This library is distributed in the hope that it will be useful, but WITHOUT
13//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
15//# License for more details.
16//#
17//# You should have received a copy of the GNU Library General Public License
18//# along with this library; if not, write to the Free Software Foundation,
19//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
20//#
21//# Correspondence concerning AIPS++ should be addressed as follows:
22//# Internet email: aips2-request@nrao.edu.
23//# Postal address: AIPS++ Project Office
24//# National Radio Astronomy Observatory
25//# 520 Edgemont Road
26//# Charlottesville, VA 22903-2475 USA
27//#
28//# $Id$
29//#---------------------------------------------------------------------------
30//# Original: 2008/10/30, Takeshi Nakazato, NAOJ
31//#---------------------------------------------------------------------------
32
33#ifndef NRO45_READER_H
34#define NRO45_READER_H
35
36#include <casa/aips.h>
37#include <casa/Arrays/Matrix.h>
38#include <casa/Arrays/Vector.h>
39#include <casa/BasicSL/Complex.h>
40#include <casa/BasicSL/String.h>
41
42#include <casa/namespace.h>
43#include <atnf/PKSIO/NROReader.h>
44
45#include <string>
46
47using namespace std ;
48
49// <summary>
50// Class to read NRO 45m OTF data.
51// </summary>
52//
53// <prerequisite>
54// <li> <linkto class=NROReader>NROReader</linkto>
55// <li> <linkto class=NRODataRecord>NRODataset</linkto>
56// <li> <linkto class=NROOTFDataset>NROOTFDataset</linkto>
57// </prerequisite>
58//
59// <reviewed reviewer="" date="" tests="" demos="">
60// </reviewed>
61//
62// <etymology>
63// This class is a reader class for NRO 45m telescope. This is specialized class
64// for data obtained by OTF observing mode. The class uses
65// <linkto class=NROOTFDataset>NROOTFDataset</linkto> object to access data.
66// </etymology>
67//
68// <synopsis>
69// Reader class for NRO 45m OTF data.
70// </synopsis>
71//
72
73class NRO45Reader : public NROReader
74{
75 public:
76 // Constructor
77 NRO45Reader( string name ) ;
78
79 // Destructor.
80 ~NRO45Reader() ;
81
82 // Read data header
83 virtual int read() ;
84
85 // get number of IF
86 virtual Int getNumIF() ;
87
88 // get number of Beams
89 virtual Int getNumBeam() ;
90
91 protected:
92 // Get Antenna Position in ITRF coordinate
93 virtual vector<double> getAntennaPosition() ;
94
95};
96
97#endif /* NRO45_READER_H */
Note: See TracBrowser for help on using the repository browser.