casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PointingOffsets.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //# PointingOffsets.h: Definition of the PointingOffsets class
3 //# Copyright (C) 1997,1998,1999,2000,2001,2002,2003
4 //# Associated Universities, Inc. Washington DC, USA.
5 //#
6 //# This library is free software; you can redistribute it and/or modify it
7 //# under the terms of the GNU Library General Public License as published by
8 //# the Free Software Foundation; either version 2 of the License, or (at your
9 //# option) any later version.
10 //#
11 //# This library is distributed in the hope that it will be useful, but WITHOUT
12 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14 //# License for more details.
15 //#
16 //# You should have received a copy of the GNU Library General Public License
17 //# along with this library; if not, write to the Free Software Foundation,
18 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
19 //#
20 //# Correspondence concerning AIPS++ should be addressed as follows:
21 //# Internet email: aips2-request@nrao.edu.
22 //# Postal address: AIPS++ Project Office
23 //# National Radio Astronomy Observatory
24 //# 520 Edgemont Road
25 //# Charlottesville, VA 22903-2475 USA
26 //#
27 //# $Id$
28 //
29 #ifndef SYNTHESIS_TRANSFORM2_POINTINGOFFSETS_H
30 #define SYNTHESIS_TRANSFORM2_POINTINGOFFSETS_H
31 
38 #include <msvis/MSVis/VisBuffer2.h>
39 
40 class SolvableVisJones;
41 namespace casa { //# NAMESPACE CASA - BEGIN
42  namespace refim{
43  //
44  //-------------------------------------------------------------------------------------------
45  //
47  {
48  public:
50  {
51  convOversampling_p = convOversampling;
52  PO_DEBUG_P = SynthesisUtils::getenv("PO_DEBUG",0);
53  cerr << "PO_DEBUG = " << PO_DEBUG_P << endl;
54  }
57 
58  void setEPJones(SolvableVisJones* epJ) {epJ_p = epJ;};
60  const vi::VisBuffer2& vb, const casacore::Bool& doPointing=false);
61 
63  const vi::VisBuffer2& vb, const casacore::Bool& doPointing=true);
64 
66  const vi::VisBuffer2& vb, const casacore::Bool doPointing=false);
67 
70  const casacore::MDirection& dir1, const casacore::MDirection& dir2);
72 
73  void setDoPointing(const bool& dop=false) {doPointing_p = dop;}
74 
75  private:
76 
92 
94  };
95  //
96  //-------------------------------------------------------------------------------------------
97  //
98 };
99 };
100 #endif
casacore::Vector< casacore::Double > & toPix(const vi::VisBuffer2 &vb, const casacore::MDirection &dir1, const casacore::MDirection &dir2)
A Measure: astronomical direction.
Definition: MDirection.h:174
A 1-D Specialization of the Array class.
void storeImageParams(const casacore::ImageInterface< casacore::Complex > &iimage, const vi::VisBuffer2 &vb)
void setEPJones(SolvableVisJones *epJ)
casacore::MDirection::Convert pointToPix_p
casacore::MEpoch::Types timeMType_p
virtual casacore::Vector< casacore::Vector< casacore::Double > > findPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb, const casacore::Bool doPointing=false)
void setDoPointing(const bool &dop=false)
casacore::MeasFrame pointFrame_p
Container for Measure frame.
Definition: MeasFrame.h:137
casacore::MDirection direction2_p
casacore::CountedPtr< SolvableVisJones > epJ_p
Store miscellaneous information related to an observation.
Definition: ObsInfo.h:97
casacore::DirectionCoordinate imageDC_p
defines physical units
Definition: Unit.h:189
casacore::Vector< double > gradPerPixel(const casacore::Vector< double > &p)
Referenced counted pointer for constant data.
Definition: VisModelData.h:42
Interconvert pixel positions and directions (e.g. RA/DEC).
PointingOffsets & operator=(const PointingOffsets &other)
casacore::MDirection direction1_p
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
T getenv(const char *name, const T defaultVal)
casacore::ObsInfo imageObsInfo_p
casacore::CoordinateSystem csys_p
casacore::Vector< double > thePix_p
VisBuffer2s encapsulate one chunk of visibility data for processing.
Definition: VisBuffer2.h:141
virtual casacore::Vector< casacore::Vector< casacore::Double > > findMosaicPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb, const casacore::Bool &doPointing=false)
SolvableVisJones
PointingOffsets(const int &convOversampling)
casacore::Vector< double > pixFieldGrad_p
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
Definition: MEpoch.h:117
virtual casacore::Vector< casacore::Vector< casacore::Double > > findAntennaPointingOffset(const casacore::ImageInterface< casacore::Complex > &image, const vi::VisBuffer2 &vb, const casacore::Bool &doPointing=true)
casacore::DirectionCoordinate dc_p
Interconvert pixel and world coordinates.