casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIMapperImageMosaic.h
Go to the documentation of this file.
1 //# SIMapper.h: Imager functionality sits here;
2 //# Copyright (C) 1996,1997,1998,1999,2000,2001,2002,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 //#
25 //# $Id$
26 
27 #ifndef SYNTHESIS_VB2_SIMAPPERMOSAIC_H
28 #define SYNTHESIS_VB2_SIMAPPERMOSAIC_H
29 
30 #include <casa/aips.h>
31 #include <casa/OS/Timer.h>
32 #include <casa/Containers/Record.h>
34 #include <casa/Arrays/IPosition.h>
35 #include <casa/Quanta/Quantum.h>
37 
40 
41 namespace casacore{
42 
43 template<class T> class ImageInterface;
44 }
45 
46 namespace casa { //# NAMESPACE CASA - BEGIN
47  namespace refim {
48 
49 // Forward declarations
50  class ComponentFTMachine;
51  class SkyJones;
52 
53 // <summary> Class that contains functions needed for imager </summary>
54 
56 {
57  public:
58  // Default constructor
59 
63  // casacore::CountedPtr<VPSkyJones>& vp);
65  casacore::String& whichMachine);
66  // casacore::CountedPtr<VPSkyJones>& vp);
67  virtual ~SIMapperImageMosaic();
68 
70 
72  void initializeGrid( vi::VisBuffer2& vb, casacore::Bool dopsf, casacore::Bool firstaccess=false);
73  void grid( vi::VisBuffer2& vb, casacore::Bool dopsf, FTMachine::Type col);
74  void finalizeGrid( vi::VisBuffer2& vb, casacore::Bool dopsf);
75  void initializeDegrid( vi::VisBuffer2& vb, const casacore::Int row=-1);
76  void degrid(vi::VisBuffer2& vb);
77  // void finalizeDegrid();
78 
80  // casacore::Bool getCLRecord(casacore::Record& rec);
81  // casacore::Bool getFTMRecord(casacore::Record& rec);
82 
83  virtual casacore::String getImageName(){return itsImages->getName();};
85  virtual casacore::Bool releaseImageLocks(){return itsImages->releaseLocks();};
86 
87 protected:
88  // casacore::Bool changedSkyJonesLogic(const vi::VisBuffer2& vb, casacore::Bool& firstRow, casacore::Bool& internalRow, const casacore::Bool grid=true);
90  // casacore::Bool changedSkyJonesLogic(const VisBuffer& vb, casacore::Bool& firstRow, casacore::Bool& internalRow, const casacore::Bool grid=true);
92 
94  // casacore::CountedPtr<VPSkyJones> ejgrid_p, ejdegrid_p;
96 
98 
99 };
100 
101  } //# namespace refim
102 } //# NAMESPACE CASA - END
103 
104 #endif
void finalizeGrid(vi::VisBuffer2 &vb, casacore::Bool dopsf)
int Int
Definition: aipstype.h:50
virtual casacore::Bool releaseImageLocks()
casacore::CountedPtr< vi::VisBuffer2 > ovb_p
casacore::CountedPtr&lt;VPSkyJones&gt; ejgrid_p, ejdegrid_p;
Referenced counted pointer for constant data.
Definition: VisModelData.h:42
A base class for astronomical images.
void grid(vi::VisBuffer2 &vb, casacore::Bool dopsf, FTMachine::Type col)
void initializeGrid(vi::VisBuffer2 &vb, casacore::Bool dopsf, casacore::Bool firstaccess=false)
Type
Types of known Images that may be made using the makeImage method.
Definition: FTMachine.h:127
virtual casacore::String getImageName()
void finalizeDegrid();
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
void initializeDegrid(vi::VisBuffer2 &vb, const casacore::Int row=-1)
SIMapperImageMosaic(casacore::CountedPtr< SIImageStore > &imagestore, casacore::CountedPtr< FTMachine > &ftm, casacore::CountedPtr< FTMachine > &iftm)
Default constructor.
Class that contains functions needed for imager.
void degrid(vi::VisBuffer2 &vb)
casacore::CountedPtr< SIImageStore > itsImages
Definition: SIMapper.h:98
virtual ~SIMapperImageMosaic()
casacore::CountedPtr&lt;VPSkyJones&gt;&amp; vp);
ComponentList clCorrupted_p
casacore::Bool changedSkyJonesLogic(const vi::VisBuffer2&amp; vb, casacore::Bool&amp; firstRow, casacore::Bool&amp; internalRow, const casacore::Bool grid=true); //////////OLD vb version casacore::Bool changedSkyJonesLogic(const VisBuffer&amp; vb, casacore::Bool&amp; firstRow, casacore::Bool&amp; internalRow, const casacore::Bool grid=true); ////////////////////////////////////////
VisBuffer2s encapsulate one chunk of visibility data for processing.
Definition: VisBuffer2.h:141
virtual casacore::CountedPtr< SIImageStore > imageStore()
A class for manipulating groups of components.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42