Main Page | Class List | Directories | File List | Class Members | File Members

ObitUVDesc.h

Go to the documentation of this file.
00001 /* $Id: ObitUVDesc.h,v 1.9 2007/08/31 17:24:49 bcotton Exp $    */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2003-2007                                          */
00004 /*;  Associated Universities, Inc. Washington DC, USA.                */
00005 /*;  This program is free software; you can redistribute it and/or    */
00006 /*;  modify it under the terms of the GNU General Public License as   */
00007 /*;  published by the Free Software Foundation; either version 2 of   */
00008 /*;  the License, or (at your option) any later version.              */
00009 /*;                                                                   */
00010 /*;  This program is distributed in the hope that it will be useful,  */
00011 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00012 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00013 /*;  GNU General Public License for more details.                     */
00014 /*;                                                                   */
00015 /*;  You should have received a copy of the GNU General Public        */
00016 /*;  License along with this program; if not, write to the Free       */
00017 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00018 /*;  MA 02139, USA.                                                   */
00019 /*;                                                                   */
00020 /*;Correspondence about this software should be addressed as follows: */
00021 /*;         Internet email: bcotton@nrao.edu.                         */
00022 /*;         Postal address: William Cotton                            */
00023 /*;                         National Radio Astronomy Observatory      */
00024 /*;                         520 Edgemont Road                         */
00025 /*;                         Charlottesville, VA 22903-2475 USA        */
00026 /*--------------------------------------------------------------------*/
00027 #ifndef OBITUVDESC_H 
00028 #define OBITUVDESC_H 
00029 #include "Obit.h"
00030 #include "ObitErr.h"
00031 #include "ObitInfoList.h"
00032 #include "ObitImageDesc.h"
00033 
00034 /*-------- Obit: Software for the recently deceased ------------------*/
00052 /*----------------- Macroes ---------------------------*/
00058 #define ObitUVDescUnref(in) ObitUnref (in)
00059 
00065 #define ObitUVDescRef(in) ObitRef (in)
00066 
00073 #define ObitUVDescIsA(in) ObitIsA (in, ObitUVDescGetClass())
00074 
00076 #define UV_MAXDIM 7       /* maximum array dimension */
00077 
00078 #define UV_MAX_RANP 14       /* maximum array dimension */
00079 
00080 #define UVLEN_VALUE 41
00081 
00082 #define UVLEN_KEYWORD 21
00083 
00084 /*--------------Class definitions-------------------------------------*/
00090 typedef struct {
00091 #include "ObitUVDescDef.h"  /* Actual definitions */
00092 } ObitUVDesc;
00093 
00094 /*---------------Public functions---------------------------*/
00096 void ObitUVDescClassInit (void);
00097 
00099 ObitUVDesc* newObitUVDesc (gchar *name);
00100 
00102 ObitUVDesc* ObitUVDescCopy (ObitUVDesc* in, ObitUVDesc* out,
00103                             ObitErr *err);
00104 
00106 gconstpointer ObitUVDescGetClass (void);
00107 
00109 void ObitUVDescCopyDesc (ObitUVDesc* in, ObitUVDesc* out,
00110                          ObitErr *err);
00111 
00113 void ObitUVDescIndex (ObitUVDesc* in);
00114 
00116 void ObitUVDescGetFreq (ObitUVDesc* in, Obit *fqtab, gdouble *SouIFOff,
00117                         ObitErr *err);
00118 
00120 void ObitUVDescDate2JD (const gchar* date, gdouble *JD);
00121 
00123 void ObitUVDescJD2Date (gdouble JD, gchar *date);
00124 
00126 void ObitUVDescShiftPhase (ObitUVDesc* uvDesc, 
00127                            ObitImageDesc* imDesc, 
00128                            gfloat dxyzc[3], ObitErr *err);
00129 
00131 void ObitUVDescShiftPosn (ObitUVDesc* uvDesc, 
00132                           gfloat xShift, gfloat yShift, 
00133                           gfloat dxyzc[3], ObitErr *err);
00135 gfloat ObitUVDescRotate(ObitUVDesc *in);
00136 
00138 gboolean ObitUVDescShift3DMatrix (ObitUVDesc *uvDesc, ObitImageDesc* imDesc,
00139                                   gfloat URot3D[3][3], gfloat PRot3D[3][3]);
00140 
00141 /*-------------------Class Info--------------------------*/
00147 typedef struct  {
00148 #include "ObitUVDescClassDef.h" /* Actual definition */
00149 } ObitUVDescClassInfo; 
00150 
00151 
00152 #endif /* OBITUVDESC_H */ 
00153 

Generated on Fri Aug 31 22:13:04 2007 for Obit by  doxygen 1.3.9.1