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

ObitTableVLUtil.h File Reference

ObitTableVL class utility routine definition. More...

#include "Obit.h"
#include "ObitErr.h"
#include "ObitTableVL.h"
#include "ObitTableVZ.h"
#include "ObitFitRegionList.h"

Go to the source code of this file.

Functions

void ObitTableVLAppend (ObitTableVL *in, ObitTableVL *out, ObitErr *err)
 Public: Append one VL table to another.
void ObitTableVLIndex (ObitTableVL *in, ObitErr *err)
 Public: Index a VL table.
void ObitTableVLMerge (ObitTableVL *in, ObitErr *err)
 Public: Merge overlapping components.
void ObitTableVLSelect (ObitTableVL *in, ObitTableVL *out, ObitErr *err)
 Public: Select significant components.
void ObitTableVLPurge (ObitTableVL *in, gchar *field, ObitErr *err)
 Public: Remove entries from a given field.
void ObitTableVLRedun (ObitTableVL *in, ObitTableVL *out, ObitErr *err)
 Public: Remove redundant entries.
void ObitTableVLCal (ObitTableVL *in, ObitErr *err)
 Public: Apply final calibration and error analysis.
void ObitTableVLPrint (ObitTableVL *in, ObitImage *image, FILE *prtFile, ObitErr *err)
 Public: Write human readable version of an VL table to a FILE.
ObitTableVZObitTableVL2VZ (ObitTableVL *in, ObitData *data, ObitErr *err)
 Public: Convert a VL table to a VZ (short) table.
ObitTableVZObitTableVZSel (ObitTableVZ *in, ObitData *data, ObitErr *err)
 Public: Select entries in a VZ (short) table.


Detailed Description

ObitTableVL class utility routine definition.


Function Documentation

ObitTableVZ* ObitTableVL2VZ ObitTableVL in,
ObitData data,
ObitErr err
 

Public: Convert a VL table to a VZ (short) table.

Parameters:
in Input VL table Control parameters on info object:
  • "minFlux" OBIT_float (1,1,1) Minimum acceptable flux density (Jy)
data Data object onto which the output VZ table it to be attached Frequency in data header assumed to be that of the VL table
err ObitErr error stack.

void ObitTableVLAppend ObitTableVL in,
ObitTableVL out,
ObitErr err
 

Public: Append one VL table to another.

Drops deselected entries (both AIPS and FITS).

Parameters:
in Input VL table
out Output VL table
*err ObitErr error stack.

void ObitTableVLCal ObitTableVL in,
ObitErr err
 

Public: Apply final calibration and error analysis.

Parameters:
in Input VL table
*err ObitErr error stack.

void ObitTableVLIndex ObitTableVL in,
ObitErr err
 

Public: Index a VL table.

Parameters:
in Input VL table
*err ObitErr error stack.

void ObitTableVLMerge ObitTableVL in,
ObitErr err
 

Public: Merge overlapping components.

The resultant position is the weighted average and the flux is the sum. This should be run on a table with all entries derived from the same image. Adopted from the AIPSish task VLMRG

Parameters:
in Input VL table Control parameters on info object:
  • "Radius" OBIT_float (1,1,1) The radius in pixels within which to sum components. [def 3.01]
  • "Cutoff" OBIT_float (1,1,1) The minimum acceptable fraction of summed flux. [def 0.05]
  • "begRow" OBIT_int (1,1,1) First row to include [def 1]
  • "endRow" OBIT_int (1,1,1) last row to include [def or 0 = all]
*err ObitErr error stack.

void ObitTableVLPrint ObitTableVL in,
ObitImage image,
FILE *  prtFile,
ObitErr err
 

Public: Write human readable version of an VL table to a FILE.

Parameters:
in VL table to print
prtFile Where to write
*err ObitErr error stack.

void ObitTableVLPurge ObitTableVL in,
gchar *  field,
ObitErr err
 

Public: Remove entries from a given field.

Parameters:
in Input VL table
field Field name to purge (8 char, blank filled)
*err ObitErr error stack.

void ObitTableVLRedun ObitTableVL in,
ObitTableVL out,
ObitErr err
 

Public: Remove redundant entries.

If a positional match (maxDist) is found then the one closest to the center of its image (centerPix) is chosen. The other entry is flagged in the input table. When the search over the RA range from the original source is finished the final accepted entry is written to the output table. Adopted from the AIPSish task VREDN

Parameters:
in Input VL table, will be sorted if needed Control parameters on in->info object:
  • "centerPix" OBIT_int (2,1,1) Center pixel in images [def 512,512]
  • "maxDist" OBIT_float (1,1,1) How far (") to search for matches [def 15"]
  • "begRow" OBIT_int (1,1,1) First row to include [def 1]
  • "endRow" OBIT_int (1,1,1) last row to include [def or 0 = all]
out Output VL table
*err ObitErr error stack.

void ObitTableVLSelect ObitTableVL in,
ObitTableVL out,
ObitErr err
 

Public: Select significant components.

For any non zero entry in Steps, if the entry has a peak weaker than fraction of the total within radius then it is not copied to the output. This should be run on a table with all entries derived from the same image. Adopted from the AIPSish task VLSEL

Parameters:
in Input VL table Control parameters on info object:
  • "Steps" OBIT_float (2,?,1) Pairs of values giving (radius(cells), fraction), empty entries zero filled Example: {{2.0,0.05}, {3.0,0.02}, {4.0,0.01}}
  • "BLC" OBIT_int (2,1,1) Lowest x,y pixel number selected [def 1,1]
  • "TRC" OBIT_int (2,1,1) Highest pixel number selected [def or 0 = all]
  • "begRow" OBIT_int (1,1,1) First row to include [def 1]
  • "endRow" OBIT_int (1,1,1) last row to include [def or 0 = all]
out Output VL table
*err ObitErr error stack.

ObitTableVZ* ObitTableVZSel ObitTableVZ in,
ObitData data,
ObitErr err
 

Public: Select entries in a VZ (short) table.

Parameters:
in Input VZ table Control parameters on info object:
  • "clip" OBIT_float scalar Minimum acceptable for clipping (Jy) (used if doClip, no default)
  • "nearest" OBIT_float scalar Minimum nearest neighbor to be considered isolated (deg) (used if doIsol, doAver, no default)
  • "distAvg" OBIT_float scalar Distance within to average sources (deg) (used if doAver, no default)
  • "ignore" OBIT_float scalar Minimum acceptable flux density (Jy) (used if doAver, doIsol, no default)
  • "crowd" OBIT_float scalar Distance (deg) for crowding test (used if doAver, default=nearest)
  • "doClip" OBIT_boolean scalar Clipping by minPeak [def FALSE]
  • "doIsol" OBIT_boolean scalar Select isolated entries within nearest ignore entries fainter than ignore [def FALSE]
  • "doAver" OBIT_boolean scalar Average entries within distAvg reject outliers [def FALSE] If the brightest source within nearest is fainter than ignore then the source is passed, else: If a component is the brightest within nearest then all components within distAvg are merged. If the source has no companions within nearest it is passed. If the component has brighter companions within nearest, it is dropped.
data Data object onto which the output VZ table is to be attached
*err ObitErr error stack.


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