00001 /* $Id: ObitTableOTFTargetUtil.h,v 1.3 2005/11/29 12:47:47 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2003 */ 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 OBITTABLEOTFTARGETUTIL_H 00029 #define OBITTABLEOTFTARGETUTIL_H 00030 00031 #include <string.h> 00032 #include <stdio.h> 00033 #include <stdlib.h> 00034 #include <math.h> 00035 #include <glib.h> 00036 #include "Obit.h" 00037 #include "ObitErr.h" 00038 #include "ObitTableOTFTarget.h" 00039 #include "ObitSourceList.h" 00040 00041 /*-------- Obit: Software for the recently deceased ------------------*/ 00047 /*---------------Public functions---------------------------*/ 00049 ObitIOCode ObitTableOTFTargetLookup (ObitTableOTFTarget *in, gint32 *dim, 00050 gchar *inlist, gint *outlist, 00051 ObitErr *err); 00052 00054 ObitSourceList* ObitTableOTFTargetGetList (ObitTableOTFTarget *in, ObitErr *err); 00055 00057 ObitIOCode ObitTableOTFTargetGetSource (ObitTableOTFTarget *in, gint targID, 00058 gdouble *RA, gdouble *Dec, gfloat *Flux, 00059 ObitErr *err); 00060 00062 ObitIOCode ObitTableOTFTargetSetSource (ObitTableOTFTarget *in, gint targID, 00063 gdouble RA, gdouble Dec, gfloat Flux, 00064 ObitErr *err); 00065 00066 #endif /* OBITTABLEOTFTARGETUTIL_H */