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_SIMAPPERMOSAIC_H
28 #define SYNTHESIS_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>
39 
40 namespace casacore{
41 
42 template<class T> class ImageInterface;
43 }
44 
45 namespace casa { //# NAMESPACE CASA - BEGIN
46 
47 // Forward declarations
48  class ComponentFTMachine;
49  namespace refim{class ComponentFTMachine;}
50  class SkyJones;
51 
52 // <summary> Class that contains functions needed for imager </summary>
53 
55 {
56  public:
57  // Default constructor
58 
62  // casacore::CountedPtr<VPSkyJones>& vp);
67  casacore::String& whichMachine);
68  // casacore::CountedPtr<VPSkyJones>& vp);
69  virtual ~SIMapperImageMosaic();
70 
72  void initializeGrid(vi::VisBuffer2& vb, casacore::Bool dopsf, casacore::Bool firstaccess=false);
76  void degrid(vi::VisBuffer2& vb);
78  void initializeGrid(VisBuffer& vb, casacore::Bool dopsf, casacore::Bool firstaccess=false);
79  void grid(VisBuffer& vb, casacore::Bool dopsf, FTMachine::Type col);
80  void finalizeGrid(VisBuffer& vb, casacore::Bool dopsf);
81  void initializeDegrid(VisBuffer& vb, casacore::Int row=-1);
82  void degrid(VisBuffer& vb);
83 
85  // casacore::Bool getCLRecord(casacore::Record& rec);
86  // casacore::Bool getFTMRecord(casacore::Record& rec);
87 
88  virtual casacore::String getImageName(){return itsImages->getName();};
90  virtual casacore::Bool releaseImageLocks(){return itsImages->releaseLocks();};
91 
92 protected:
93  // casacore::Bool changedSkyJonesLogic(const vi::VisBuffer2& vb, casacore::Bool& firstRow, casacore::Bool& internalRow, const casacore::Bool grid=true);
95  // casacore::Bool changedSkyJonesLogic(const VisBuffer& vb, casacore::Bool& firstRow, casacore::Bool& internalRow, const casacore::Bool grid=true);
97 
99  // casacore::CountedPtr<VPSkyJones> ejgrid_p, ejdegrid_p;
102 
104 
105 };
106 
107 
108 } //# NAMESPACE CASA - END
109 
110 #endif
int Int
Definition: aipstype.h:50
VisBuffer ovb_p
casacore::CountedPtr&lt;VPSkyJones&gt; ejgrid_p, ejdegrid_p;
Class that contains functions needed for imager.
Definition: SIMapper.h:57
virtual casacore::Bool releaseImageLocks()
casacore::CountedPtr< SIImageStore > itsImages
Definition: SIMapper.h:115
void initializeDegrid(vi::VisBuffer2 &vb, casacore::Int row=-1)
void finalizeGrid(vi::VisBuffer2 &vb, casacore::Bool dopsf)
Referenced counted pointer for constant data.
Definition: VisModelData.h:42
A base class for astronomical images.
SIMapperImageMosaic(casacore::CountedPtr< SIImageStore > &imagestore, casacore::CountedPtr< FTMachine > &ftm, casacore::CountedPtr< FTMachine > &iftm)
Default constructor.
void grid(vi::VisBuffer2 &vb, casacore::Bool dopsf, refim::FTMachine::Type col)
Type
Types of known Images that may be made using the makeImage method.
Definition: FTMachine.h:127
Type
Types of known Images that may be made using the makeImage method.
Definition: FTMachine.h:125
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
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); ////////////////////////////////////////
void initializeGrid(vi::VisBuffer2 &vb, casacore::Bool dopsf, casacore::Bool firstaccess=false)
virtual ~SIMapperImageMosaic()
casacore::CountedPtr&lt;VPSkyJones&gt;&amp; vp);
VisBuffer2s encapsulate one chunk of visibility data for processing.
Definition: VisBuffer2.h:141
A class for manipulating groups of components.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
Class that contains functions needed for imager.
VisBuffers encapsulate one chunk of visibility data for processing.
Definition: VisBuffer.h:153
void degrid(vi::VisBuffer2 &vb)
virtual casacore::CountedPtr< SIImageStore > imageStore()
*virtual casacore::String getImageName()
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42