Source
xxxxxxxxxx
virtual casacore::String longTypeName() { return "Dfgen Jones (frequency-dependent instrumental polarization"; };
//# DJones.h: Declaration of standard Polarization Calibration types
//# Copyright (C) 1996,1997,2000,2001,2002,2003,2011
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be adressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//#
namespace casa { //# NAMESPACE CASA - BEGIN
// Forward declarations
class VisEquation;
// **********************************************************
// DJones
//
class DJones : public SolvableVisJones {
public:
// Constructor
DJones(VisSet& vs);
DJones(casacore::String msname,casacore::Int MSnAnt,casacore::Int MSnSpw);
DJones(const MSMetaInfoForCal& msmc);
DJones(const casacore::Int& nAnt);
virtual ~DJones();
// Local setapply
using SolvableVisJones::setApply;
virtual void setApply(const casacore::Record& apply);
// D-specific solve setup
using SolvableVisJones::setSolve;
void setSolve(const casacore::Record& solvepar);
// Return the type enum
virtual Type type() { return VisCal::D; };
// Return type name as string
virtual casacore::String typeName() { return "Dgen Jones"; };
virtual casacore::String longTypeName() { return "Dgen Jones (instrumental polarization"; };
// Type of Jones matrix according to nPar()
// Do GENERAL matrix algebra
virtual Jones::JonesType jonesType() { return Jones::General; };
// We can solve for polarization with D
virtual casacore::Int solvePol() { return solvePol_; };
// Specialization that conditions raw data & model for OTF pol solving
virtual void setUpForPolSolve(vi::VisBuffer2& vb);
// Hazard a guess at parameters
virtual void guessPar(VisBuffer& vb);
virtual void guessPar(SDBList& sdbs);
virtual void guessPar(SDBList&,const casacore::Bool&); // VI2
// Update the parameters from solving
// (in linear approx, we always set the source update to zero, for now!)