Line data Source code
1 : //# EPointVJMRec.cc: Implementation of EPointVJMRec.h 2 : //# Copyright (C) 1996,1997,1998,2003 3 : //# Associated Universities, Inc. Washington DC, USA. 4 : //# 5 : //# This library is free software; you can redistribute it and/or modify it 6 : //# under the terms of the GNU Library General Public License as published by 7 : //# the Free Software Foundation; either version 2 of the License, or (at your 8 : //# option) any later version. 9 : //# 10 : //# This library is distributed in the hope that it will be useful, but WITHOUT 11 : //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 : //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 13 : //# License for more details. 14 : //# 15 : //# You should have received a copy of the GNU Library General Public License 16 : //# along with this library; if not, write to the Free Software Foundation, 17 : //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 18 : //# 19 : //# Correspondence concerning AIPS++ should be addressed as follows: 20 : //# Internet email: aips2-request@nrao.edu. 21 : //# Postal address: AIPS++ Project Office 22 : //# National Radio Astronomy Observatory 23 : //# 520 Edgemont Road 24 : //# Charlottesville, VA 22903-2475 USA 25 : //# 26 : //# $Id$ 27 : //---------------------------------------------------------------------------- 28 : #include <msvis/MSVis/MSCalEnums.h> 29 : #include <synthesis/CalTables/SolvableVJMRec.h> 30 : #include <synthesis/CalTables/EPointVJMRec.h> 31 : 32 : using namespace casacore; 33 : namespace casa { 34 : 35 : //---------------------------------------------------------------------------- 36 : 37 0 : EPointVisJonesMRec::EPointVisJonesMRec() : SolvableVisJonesMRec() 38 : { 39 : // Null constructor 40 : // 41 0 : }; 42 : 43 : //---------------------------------------------------------------------------- 44 : 45 0 : EPointVisJonesMRec::EPointVisJonesMRec (const Record& inpRec) : 46 0 : SolvableVisJonesMRec (inpRec) 47 : { 48 : // Construct from an input record 49 : // Input: 50 : // inpRec Record Input record 51 : // 52 0 : }; 53 : 54 : //---------------------------------------------------------------------------- 55 : 56 0 : void EPointVisJonesMRec::getPointingOffset(Array<Float>& pointingOffset) 57 : { 58 0 : record().get (MSC::fieldName(MSC::POINTING_OFFSET), pointingOffset); 59 0 : }; 60 : 61 : // //---------------------------------------------------------------------------- 62 : 63 0 : void EPointVisJonesMRec::definePointingOffset (const Array<Float>& pointingOffset) 64 : { 65 0 : Record newRec; 66 0 : newRec.define (MSC::fieldName(MSC::POINTING_OFFSET), pointingOffset); 67 0 : addRec(newRec); 68 0 : } 69 : 70 : }