casa
$Rev:20696$
|
00001 //# EPointVJMRec.h: EPointVisJones cal_main table record access & creation 00002 //# Copyright (C) 1996,1997,1998,2003 00003 //# Associated Universities, Inc. Washington DC, USA. 00004 //# 00005 //# This library is free software; you can redistribute it and/or modify it 00006 //# under the terms of the GNU Library General Public License as published by 00007 //# the Free Software Foundation; either version 2 of the License, or (at your 00008 //# option) any later version. 00009 //# 00010 //# This library is distributed in the hope that it will be useful, but WITHOUT 00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 //# License for more details. 00014 //# 00015 //# You should have received a copy of the GNU Library General Public License 00016 //# along with this library; if not, write to the Free Software Foundation, 00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 00018 //# 00019 //# Correspondence concerning AIPS++ should be adressed as follows: 00020 //# Internet email: aips2-request@nrao.edu. 00021 //# Postal address: AIPS++ Project Office 00022 //# National Radio Astronomy Observatory 00023 //# 520 Edgemont Road 00024 //# Charlottesville, VA 22903-2475 USA 00025 //# 00026 //# 00027 //# $Id$ 00028 00029 #ifndef CALIBRATION_EPOINTVJMREC_H 00030 #define CALIBRATION_EPOINTVJMREC_H 00031 00032 #include <casa/aips.h> 00033 #include <synthesis/CalTables/SolvableVJMRec.h> 00034 00035 namespace casa { 00036 00037 // <summary> 00038 // EPointVisJonesMRec: EPointVisJones cal_main table record access/creation 00039 // </summary> 00040 00041 // <use visibility=export> 00042 00043 // <reviewed reviewer="" date="" tests="" demos=""> 00044 00045 // <prerequisite> 00046 // <li> <linkto class="CalMainRecord">CalMainRecord</linkto> module 00047 // <li> <linkto class="VisJonesMRec">VisJonesMRec</linkto> module 00048 // <li> <linkto class="TimeVarVisJonesMRec">TimeVarVisJonesMRec</linkto> module 00049 // </prerequisite> 00050 // 00051 // <etymology> 00052 // From "solvable VisJones" and "main record". 00053 // </etymology> 00054 // 00055 // <synopsis> 00056 // The EPointVisJonesMRec class allows the creation of records for the 00057 // main calibration table of EPointVisJones type, and provides access 00058 // to the individual record fields. Specializations for GJones, DJones, 00059 // TJones and BJones calibration table records are provided through 00060 // inheritance. 00061 // </etymology> 00062 // 00063 // <example> 00064 // <srcblock> 00065 // </srcblock> 00066 // </example> 00067 // 00068 // <motivation> 00069 // Encapsulate access to EPointVisJones calibration table records. 00070 // </motivation> 00071 // 00072 // <todo asof="98/01/01"> 00073 // (i) Deal with non-standard columns. 00074 // </todo> 00075 00076 class EPointVisJonesMRec : public SolvableVisJonesMRec 00077 { 00078 public: 00079 // Default null constructor, and destructor 00080 EPointVisJonesMRec(); 00081 ~EPointVisJonesMRec() {}; 00082 00083 // Construct from an existing record 00084 EPointVisJonesMRec (const Record& inpRec); 00085 00086 // Field accessors 00087 // Note: uses protected functions defined in CalMainRecord, 00088 // as fit parameters are used elsewhere in the inheritance 00089 // tree for baseline-based and image plane calibration tables. 00090 // a) define 00091 void definePointingOffset(const Array<Float>& pointingOffset); 00092 // {dPointingOffset(pointingOffset);} 00093 00094 // b) get 00095 void getPointingOffset (Array<Float>& pointingOffset); 00096 // {gPointingOffset (pointingOffset);}; 00097 }; 00098 00099 } 00100 #endif