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

ObitTableCCUtil.h

Go to the documentation of this file.
00001 /* $Id: ObitTableCCUtil.h,v 1.11 2007/08/31 17:24:48 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 OBITTABLECCUTIL_H 
00029 #define OBITTABLECCUTIL_H 
00030 
00031 #include "Obit.h"
00032 #include "ObitErr.h"
00033 #include "ObitTableCC.h"
00034 #include "ObitImage.h"
00035 #include "ObitImageDesc.h"
00036 #include "ObitFArray.h"
00037 
00038 /*-------- Obit: Software for the recently deceased ------------------*/
00044 /*-------------- enumerations -------------------------------------*/
00049 enum obitCCCompType {
00051   OBIT_CC_PointMod,
00053   OBIT_CC_GaussMod,  
00055   OBIT_CC_CGaussMod,  
00057   OBIT_CC_USphereMod, 
00059   OBIT_CC_Unknown 
00060 }; /* end enum obitCCCompType */
00062 typedef enum obitCCCompType ObitCCCompType;
00063 
00064 /*---------------Public functions---------------------------*/
00066 ObitIOCode ObitTableCCUtilGrid (ObitTableCC *in, glong OverSample, 
00067                                 glong *first, glong *last, gboolean noNeg,
00068                                 gfloat factor, gfloat minFlux, gfloat maxFlux,
00069                                 ObitImageDesc *desc, ObitFArray **grid, 
00070                                 gfloat gparm[3], glong *ncomps,
00071                                 ObitErr *err);
00072 
00074 ObitFArray* 
00075 ObitTableCCUtilCrossList (ObitTableCC *inCC, ObitImageDesc *inDesc,  
00076                           ObitImageDesc *outDesc, gfloat gparm[3], 
00077                           glong *ncomps, ObitErr *err);
00078 
00080 ObitIOCode ObitTableCCUtilMerge (ObitTableCC *in, ObitTableCC *out, 
00081                                  ObitErr *err);
00082 
00084 ObitFArray* ObitTableCCUtilMergeSel (ObitTableCC *in, gint startComp, 
00085                                      gint endComp, gfloat *parms,
00086                                      ObitErr *err);
00087 
00089 ObitTableCC* 
00090 ObitTableCCUtilMergeSel2Tab (ObitImage *image, glong inCCver, glong *outCCver,
00091                              gint startComp, gint endComp, 
00092                              gfloat range[2], ObitErr *err);
00093 
00095 void ObitTableCCUtilScale (ObitTableCC *in, gint startComp, 
00096                            gint endComp, gfloat scale, ObitErr *err);
00097 
00099 void ObitTableCCUtilAppend  (ObitTableCC *inCC, ObitTableCC *outCC, 
00100                              gint startComp, gint endComp, ObitErr *err);
00101 
00103 gboolean ObitTableCCUtilFiltCC (ObitTableCC *CCTab, gfloat radius, gfloat minFlux, 
00104                                 ObitErr* err);
00105 #endif /* OBITTABLECCUTIL_H */ 

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