source: branches/hpc34/external-alma/atnf/PKSIO/ASTEReader.h@ 2737

Last change on this file since 2737 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.8 KB
Line 
1//#---------------------------------------------------------------------------
2//# ASTEReader.h: Class to read ASTE 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 ASTE_READER_H
34#define ASTE_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
41#include <string>
42
43using namespace std ;
44
45// <summary>
46// Class to read ASTE data.
47// </summary>
48//
49// <prerequisite>
50// <li> <linkto class=NROReader>NROReader</linkto>
51// <li> <linkto class=NRODataRecord>NRODataset</linkto>
52// <li> <linkto class=ASTEDataset>ASTEDataset</linkto>
53// </prerequisite>
54//
55// <reviewed reviewer="" date="" tests="" demos="">
56// </reviewed>
57//
58// <etymology>
59// This class is a reader class for ASTE OTF data. The class uses
60// <linkto class=ASTEDataset>ASTEDataset</linkto> object to access data.
61// </etymology>
62//
63// <synopsis>
64// Reader class for ASTE OTF data.
65// </synopsis>
66//
67
68#include <casa/namespace.h>
69#include <atnf/PKSIO/NROReader.h>
70
71class ASTEReader : public NROReader
72{
73 public:
74 // Constructor
75 ASTEReader( string name ) ;
76
77 // Destructor.
78 ~ASTEReader() ;
79
80 // Read data header
81 virtual int read() ;
82
83 // get number of IF
84 virtual Int getNumIF() ;
85
86 // get number of Beams
87 virtual Int getNumBeam() ;
88
89 protected:
90 // Get Antenna Position in ITRF coordinate
91 virtual vector<double> getAntennaPosition() ;
92
93};
94
95#endif /* ASTE_READER_H */
Note: See TracBrowser for help on using the repository browser.