casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BriggsCubeWeightor.h
Go to the documentation of this file.
1 //# BriggsCubeWeight.h: Definition for Briggs weighting for cubes
2 //# Copyright (C) 2018-2019
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 General Public License as published by
7 //# the Free Software Foundation; either version 3 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 General Public
13 //# License for more details.
14 //#
15 //# https://www.gnu.org/licenses/
16 //#
17 //# You should have received a copy of the GNU 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 //# Queries concerning CASA should be submitted at
22 //# https://help.nrao.edu
23 //#
24 //# Postal address: CASA Project Manager
25 //# National Radio Astronomy Observatory
26 //# 520 Edgemont Road
27 //# Charlottesville, VA 22903-2475 USA
28 //#
29 //#
30 
31 #ifndef SYNTHESIS_TRANSFORM2_BRIGGSCUBEWEIGHTOR_H
32 #define SYNTHESIS_TRANSFORM2_BRIGGSCUBEWEIGHTOR_H
33 
36 
37 namespace casacore{
38  class RecordInterface;
39 }
40 namespace casa{ //# namespace casa
41 
42  namespace vi{ class VisBuffer2;
43  class VisibilityIterator2;
44  }
45 namespace refim{ //# namespace for refactored imaging code with vi2/vb2
47  public:
48 
51  const casacore::Quantity& noise, const casacore::Double robust,
53  const casacore::RecordInterface& inrec,
54  const casacore::Int superUniformBox=0,
55  const casacore::Bool multiField=false);
56  //This constructor will require that init be called at a later stage
58  const casacore::Quantity& noise,
59  const casacore::Double robust,const
60  casacore::Int superUniformBox=0,
61  const casacore::Bool multiField=false);
62 
64  //initialize
65  // inRec is a record interface from FTMachine that is used to set the state of the weight gridder ftmachines
66  //contains frame info etc.
68  private:
72 
74  std::map<casacore::String, casacore::Int> multiFieldMap_p;
89  };
90  }//# end namespace refim
91 } // end namespace casa
92 
93 
94 #endif
95 
96 
int Int
Definition: aipstype.h:50
Object to hold type of imaging weight scheme to be used on the fly and to provide facilities to do th...
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
std::map< casacore::String, casacore::Int > multiFieldMap_p
casacore::InterpolateArray1D< casacore::Double, casacore::Complex >::InterpolationMethod freqInterpMethod_p
void cube2Matrix(const casacore::Cube< casacore::Bool > &fcube, casacore::Matrix< casacore::Bool > &fMat)
void init(vi::VisibilityIterator2 &vi, const casacore::ImageInterface< casacore::Complex > &templateimage, const casacore::RecordInterface &inRec)
initialize inRec is a record interface from FTMachine that is used to set the state of the weight gri...
void weightUniform(casacore::Matrix< casacore::Float > &imweight, const vi::VisBuffer2 &vb)
InterpolationMethod
Interpolation methods.
double Double
Definition: aipstype.h:55
casacore::Block< casacore::Vector< casacore::Float > > f2_p
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
float Float
Definition: aipstype.h:54
simple 1-D array
void initializeFTMachine(const casacore::uInt index, const casacore::ImageInterface< casacore::Complex > &templateimage, const casacore::RecordInterface &inrec)
VisBuffer2s encapsulate one chunk of visibility data for processing.
Definition: VisBuffer2.h:141
String: the storage and methods of handling collections of characters.
Definition: String.h:223
casacore::Block< casacore::Vector< casacore::Float > > d2_p
Abstract base class for Record classes.
casacore::Block< casacore::CountedPtr< casacore::ImageInterface< casacore::Float > > > grids_p
casacore::Block< casacore::CountedPtr< refim::GridFT > > ft_p
unsigned int uInt
Definition: aipstype.h:51
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42