casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MakeApproxPSFAlgorithm.h
Go to the documentation of this file.
1 //# MakeApproxPSFAlgorithm.h: parallelized version of approximate PSF formation
2 //# Copyright (C) 1996,1997,1998,1999,2000,2002
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 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //# $Id$
27 
28 #ifndef SYNTHESIS_MAKEAPPROXPSFALGORITHM_H
29 #define SYNTHESIS_MAKEAPPROXPSFALGORITHM_H
30 
31 #include <casa/BasicSL/String.h>
34 #include <msvis/MSVis/VisSet.h>
35 #include <msvis/MSVis/VisSetUtil.h>
41 
42 namespace casa { //# NAMESPACE CASA - BEGIN
43 
44 // <summary> Parallelized version of approximate PSF formation </summary>
45 
46 // <use visibility=export>
47 
48 // <reviewed reviewer="" date="" tests="" demos="">
49 
50 // <prerequisite>
51 // <li> <linkto module="FTMachine">FTMachine</linkto> module
52 // <li> <linkto module="Algorithm">Algorithm</linkto> module
53 // </prerequisite>
54 //
55 // <etymology>
56 // Parallelized version of approximate PSF formation
57 // </etymology>
58 //
59 // <synopsis>
60 // Parallelized version of approximate PSF formation. Inherits
61 // from Algorithm to fit within the AIPS++ parallelization
62 // framework.
63 // </synopsis>
64 //
65 // <example>
66 // <srcblock>
67 
68 // </srcblock>
69 // </example>
70 //
71 // <motivation>
72 // Parallel PSF formation is one part of parallelized wide-field imaging.
73 // </motivation>
74 //
75 // <todo asof="02/02/05">
76 // <li> Full I/O profiling and temp image management.
77 // </todo>
78 
80 public:
81  // Default constructor and destructor
84 
85  // Get the input data and parameters from the controller
86  void get();
87 
88  // Return the results to the controller
89  void put();
90 
91  // Return the name of the algorithm
93 
94  private:
95  // Local copies of the data and input parameters
99 
105 
106  // Form and fit the PSF/beam
107  void task();
108 };
109 
110 
111 
112 } //# NAMESPACE CASA - END
113 
114 #endif
casacore::TempImage< casacore::Float > * psf_p
Defines a computational unit for parallel processing.
Definition: Algorithm.h:89
casacore::Matrix< casacore::Float > weight_p
void task()
Form and fit the PSF/beam.
casacore::Array< casacore::Float > * beamArray_p
casacore::Vector< casacore::Float > beam_p
Parallelized version of approximate PSF formation.
casacore::String & name()
Return the name of the algorithm.
MakeApproxPSFAlgorithm()
Default constructor and destructor.
void put()
Return the results to the controller.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
casacore::TempImage< casacore::Complex > * cImage_p
Local copies of the data and input parameters.
defines interface for the Fourier Transform Machine
Definition: FTMachine.h:120