[1757] | 1 | //#--------------------------------------------------------------------------- |
---|
| 2 | //# ASTEFXDataset.h: Class for ASTE data header. |
---|
| 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_FX_DATASET_H |
---|
| 34 | #define ASTE_FX_DATASET_H |
---|
| 35 | |
---|
| 36 | #define ASTE_ARYMAX_FX 12 |
---|
| 37 | |
---|
[2782] | 38 | #include <atnf/PKSIO/ASTEDataset.h> |
---|
[1757] | 39 | |
---|
| 40 | #include <string> |
---|
| 41 | |
---|
| 42 | using namespace std ; |
---|
| 43 | |
---|
| 44 | // <summary> |
---|
| 45 | // Accessor class for ASTE FX data. |
---|
| 46 | // </summary> |
---|
| 47 | // |
---|
| 48 | // <prerequisite> |
---|
| 49 | // <li> <linkto class=ASTEFXReader>ASTEFXReader</linkto> |
---|
[2782] | 50 | // <li> <linkto class=ASTEDataset>ASTEDataset</linkto> |
---|
[1757] | 51 | // <li> <linkto class=NRODataset>NRODataset</linkto> |
---|
| 52 | // </prerequisite> |
---|
| 53 | // |
---|
| 54 | // <reviewed reviewer="" date="" tests="" demos=""> |
---|
| 55 | // </reviewed> |
---|
| 56 | // |
---|
| 57 | // <etymology> |
---|
| 58 | // This class actually accesses data from NRO telescopes. This is specialized class |
---|
| 59 | // for ASTE telescope with FX spectrometer. Only fillHeader method is implemented here. |
---|
| 60 | // The fillRecord method is implemented in <linkto class=NRODataset>NRODataset</linkto>. |
---|
| 61 | // </etymology> |
---|
| 62 | // |
---|
| 63 | // <synopsis> |
---|
| 64 | // Accessor class for ASTE FX data. |
---|
| 65 | // </synopsis> |
---|
| 66 | // |
---|
| 67 | |
---|
[2782] | 68 | class ASTEFXDataset : public ASTEDataset |
---|
[1757] | 69 | { |
---|
| 70 | public: |
---|
| 71 | // constructor |
---|
| 72 | ASTEFXDataset( string name ) ; |
---|
| 73 | |
---|
| 74 | // destructor |
---|
| 75 | virtual ~ASTEFXDataset() ; |
---|
| 76 | |
---|
| 77 | protected: |
---|
[2777] | 78 | // return ARRAYMAX |
---|
| 79 | virtual int arrayMax() { return ASTE_ARYMAX_FX; } ; |
---|
[1757] | 80 | } ; |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | #endif /* ASTE_FX_DATASET_H */ |
---|