00001 /* $Id: ObitPBUtil.h,v 1.5 2007/08/31 17:24:48 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2004-2005 */ 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 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 OBITPBUTIL_H 00029 #define OBITPBUTIL_H 00030 00031 #include "Obit.h" 00032 #include "ObitImage.h" 00033 #include "ObitTableCC.h" 00034 00035 /*-------- Obit: Software for the recently deceased ------------------*/ 00043 /*---------------Public functions---------------------------*/ 00045 gfloat ObitPBUtilPoly (gdouble Angle, gdouble Freq); 00046 00048 gfloat ObitPBUtilJinc (gdouble Angle, gdouble Freq, gfloat antSize); 00049 00051 gfloat ObitPBUtilRelPB (gdouble Angle, gint nfreq, gdouble *Freq, gfloat antSize, 00052 gdouble refFreq); 00053 00055 gfloat ObitPBUtilPntErr (gdouble Angle, gdouble AngleO, gfloat antSize, 00056 gdouble Freq); 00057 00059 ObitTableCC *ObitPBUtilCCCor(ObitImage *image, glong inCCver, glong *outCCver, 00060 gint nfreq, gdouble *Freq, gfloat antSize, 00061 gdouble refFreq, glong *startCC, glong *endCC, 00062 ObitErr *err); 00063 00065 ObitFArray* ObitPBUtilImageCor(ObitImage *image, gint *inPlane, 00066 gint nfreq, gdouble *Freq, 00067 gfloat antSize, gdouble refFreq, ObitErr *err); 00068 00069 #endif /* OBITPBUTIL_H */
1.3.9.1