00001 /* $Id: ObitUVUtil.h,v 1.14 2007/08/31 17:24:49 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2004-2007 */ 00004 /*; Associated Universities, Inc. Washington DC, USA. */ 00005 /*; */ 00006 /*; This program is free software; you can redistribute it and/or */ 00007 /*; modify it under the terms of the GNU General Public License as */ 00008 /*; published by the Free Software Foundation; either version 2 of */ 00009 /*; the License, or (at your option) any later version. */ 00010 /*; */ 00011 /*; This program is distributed in the hope that it will be useful, */ 00012 /*; but WITHOUT ANY WARRANTY; without even the implied warranty of */ 00013 /*; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ 00014 /*; GNU General Public License for more details. */ 00015 /*; */ 00016 /*; You should have received a copy of the GNU General Public */ 00017 /*; License along with this program; if not, write to the Free */ 00018 /*; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, */ 00019 /*; MA 02139, USA. */ 00020 /*; */ 00021 /*;Correspondence about this software should be addressed as follows: */ 00022 /*; Internet email: bcotton@nrao.edu. */ 00023 /*; Postal address: William Cotton */ 00024 /*; National Radio Astronomy Observatory */ 00025 /*; 520 Edgemont Road */ 00026 /*; Charlottesville, VA 22903-2475 USA */ 00027 /*--------------------------------------------------------------------*/ 00028 #ifndef OBITUVUTIL_H 00029 #define OBITUVUTIL_H 00030 00031 #include "ObitErr.h" 00032 #include "ObitUV.h" 00033 #include "ObitSourceList.h" 00034 00035 /*-------- Obit: Software for the recently deceased ------------------*/ 00044 /*---------------Public functions---------------------------*/ 00046 void ObitUVUtilUVWExtrema (ObitUV *inUV, gfloat *MaxBL, gfloat *MaxW, 00047 ObitErr *err); 00048 00050 ObitUV* ObitUVUtilCopyZero (ObitUV *inUV, gboolean scratch, ObitUV *outUV, 00051 ObitErr *err); 00052 00054 void ObitUVUtilVisDivide (ObitUV *inUV1, ObitUV *inUV2, ObitUV *outUV, 00055 ObitErr *err); 00056 00059 void ObitUVUtilVisSub (ObitUV *inUV1, ObitUV *inUV2, ObitUV *outUV, 00060 ObitErr *err); 00061 00063 gfloat ObitUVUtilVisCompare (ObitUV *inUV1, ObitUV *inUV2, ObitErr *err); 00064 00066 void ObitUVUtilIndex (ObitUV *inUV, ObitErr *err); 00067 00069 ObitSourceList* ObitUVUtilWhichSources (ObitUV *inUV, ObitErr *err); 00070 00072 ObitUV* ObitUVUtilAvgF (ObitUV *inUV, gboolean scratch, ObitUV *outUV, 00073 ObitErr *err); 00074 00076 ObitUV* ObitUVUtilAvgT (ObitUV *inUV, gboolean scratch, ObitUV *outUV, 00077 ObitErr *err); 00078 00080 ObitInfoList* ObitUVUtilCount (ObitUV *inUV, gfloat timeInt, ObitErr *err); 00081 00082 #endif /* OBITIUVUTIL_H */
1.3.9.1