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

ObitTableSUUtil.h File Reference

ObitTableSU class utility routine definition. More...

#include "Obit.h"
#include "ObitErr.h"
#include "ObitTableSU.h"
#include "ObitSourceList.h"

Go to the source code of this file.

Functions

ObitIOCode ObitTableSULookup (ObitTableSU *in, gint32 *dim, gchar *inlist, gint Qual, gchar souCode[5], gint *outlist, gboolean *select, gint *Number, ObitErr *err)
 Public: Lookup a list of sources.
ObitSourceListObitTableSUGetList (ObitTableSU *in, ObitErr *err)
 Public: Read a source list into a ObitSourceList.


Detailed Description

ObitTableSU class utility routine definition.


Function Documentation

ObitSourceList* ObitTableSUGetList ObitTableSU in,
ObitErr err
 

Public: Read a source list into a ObitSourceList.

Parameters:
in Table to obtain data from
*err ObitErr error stack.
Returns:
requested ObitSourceList

ObitIOCode ObitTableSULookup ObitTableSU in,
gint32 *  dim,
gchar *  inlist,
gint  Qual,
gchar  souCode[5],
gint *  outlist,
gboolean *  xselect,
gint *  Number,
ObitErr err
 

Public: Lookup a list of sources.

This is intended for finding user selected sources.

Parameters:
in Table to obtain data from
dim dimensionality of inlist, first, the length if the source names, then the number of entries.
inlist List of source names in single array with no nulls, any leading '-' is stripped; Any nonblank entries that are not found in the SU table will generate a warning.
Qual Desired source qualifier, -1 => any
souCode Source Cal code desired, ' ' => any code selected '* ' => any non blank code (calibrators only) '-CAL' => blank codes only (no calibrators)
outlist List of source IDs corresponding to inlist, -1 => not found. Nothing done if this is NULL.
xselect TRUE if source list selected, always TRUE as the list returned is those that match selection or don't match deselection.
Number on input, the size allocated to outList, on output, the number found
*err ObitErr error stack.
Returns:
I/O Code OBIT_IO_OK = OK.


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