Source
std::vector<Double>({232., 246., 281., 296., 312., 328., 344., 357., 382., 392., 403., 421., 458., 470., 1040, 1104, 1168, 1232, 1296, 1360, 1424, 1488, 1552, 1680, 1744, 1808, 1872, 1936, 2000})
//# PBMath1DEVLA.cc: Implementation for PBMath1DEVLA
//# Copyright (C) 2016
//# 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 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 General Public
//# License for more details.
//#
//# You should have received a copy of the GNU 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
//#
//#
//# $Id$
using namespace casacore;
namespace casa { //# NAMESPACE CASA - BEGIN
PBMath1DEVLA::PBMath1DEVLA(): pbMathPoly_p(0) {
wideFit_p = true;
init();
maxRad_p=casacore::Quantity(1.0, "deg");
}
PBMath1DEVLA::PBMath1DEVLA(Quantity maxRad, Bool useSymmetricBeam, Double freqToUse): pbMathPoly_p(0), maxRad_p(maxRad), useSymmetric_p(useSymmetricBeam){
wideFit_p=True;
init();
nearestVPArray(freqToUse, False);
}
PBMathInterface::PBClass PBMath1DEVLA::whichPBClass(){
if(pbMathPoly_p)
return pbMathPoly_p->whichPBClass();
return PBMathInterface::COMMONPB;
}
void PBMath1DEVLA::fillPBArray(){
///This is a dummy to make compiler happy
///as in this class we recalculate vp_p when needed
nearestVPArray(1.425e9, False);
}