#include "ObitErr.h"
#include "ObitUV.h"
Go to the source code of this file.
Functions | |
| void | ObitUVEditTD (ObitUV *inUV, ObitUV *outUV, ObitErr *err) |
| Public: Time domain editing, FG table out. | |
| void | ObitUVEditFD (ObitUV *inUV, ObitUV *outUV, ObitErr *err) |
| Public: Frequency domain editing, FG table out. | |
| void | ObitUVEditStokes (ObitUV *inUV, ObitUV *outUV, ObitErr *err) |
| Public: Edit by excessive amplitude in given Stokes, FG table out. | |
| ObitUV * | ObitUVEditClip (ObitUV *inUV, gboolean scratch, ObitUV *outUV, ObitErr *err) |
| Public: Clip raw visibilities, uv data out. | |
| ObitUV * | ObitUVEditClipStokes (ObitUV *inUV, gboolean scratch, ObitUV *outUV, ObitErr *err) |
| Public: Flag visibilities by Stokes, uv data out. | |
| void | ObitUVEditMedian (ObitUV *inUV, ObitUV *outUV, ObitErr *err) |
| Public: Flag visibilities by running median. | |
This utility module contains utility functions for editing uv data.
|
||||||||||||||||||||
|
Public: Clip raw visibilities, uv data out. Writes edited UV data Control parameters are on the inUV info member:
|
|
||||||||||||||||||||
|
Public: Flag visibilities by Stokes, uv data out. Writes edited UV data Data with amplitudes of the selected stokes in excess of maxAmp are flagged. Optionally all correlations associated may be flagged. Stokes conversion as needed for test. Control parameters are on the inUV info member:
|
|
||||||||||||||||
|
Public: Frequency domain editing, FG table out. Editing is done independently for each visibility measure. First clipping is done on correlator and Vpol amplitudes. Following this, an average and RMS is determined for each channel in each timeAvg period and a spectral baseline is established for the average values, either using a median window filter (FDwidMW>0) or a linear baseline fit (FDwidMW<=0) to specified channels. Channels with excessive RMSes or residual amplitudes are flagged. Flagging is done by entering the offending data in FG table flagTab on outUV. Routine adopted from the AIPSish FDEDIT.FOR/FDEDIT
|
|
||||||||||||||||
|
Public: Flag visibilities by running median. A running estimate of the amplitude of each baseline/correlation is determined using a quasi median window (alpha is used to control) filter. Amplitudes in excess of flagSig time a robust RMS in the window will be flagged. Data to be flagged are indicated in FG table flagTab on outUV. Control parameters are on the inUV info member:
|
|
||||||||||||||||
|
Public: Edit by excessive amplitude in given Stokes, FG table out. If a fraction of bad baselines on any antenna/channel/IF exceeds maxBad, then all data to that correlator is flagged. The actual clipping level is the lesser of maxAmp[0] and if maxAmp[1]<=0, a value determined from a statistical analysis of each interval intended to flag the most discrepant 3 percent of the data. Flagging entries are written into FG table flagTab. Results are unpredictable for uncalibrated data. Control parameters on info member of inUV:
|
|
||||||||||||||||
|
Public: Time domain editing, FG table out. All correlations are clipped on each baseline if the RMS is larger than the maximum. The clipping is done independently in each time interval defined by timeAvg. The clipping level is given by MIN (A, MAX (B,C)) where: A = sqrt (maxRMS[0]**2 + (avg_amp * maxRMS[1])**2) and avg_amp is the average amplitude on each baseline. B = median RMS + 3 * sigma of the RMS distribution. C = level corresponding to 3% of the data. All data on a given baseline/correlator are flagged if the RMS exceeds the limit. If a fraction of bad baselines on any correlator exceeds maxBad, then all data to that correlator is flagged. In addition, if the offending correlator is a parallel hand correlator then any corresponding cross hand correlations are also flagged. Flagging entries are written into FG table flagTab. Control parameters on info member of inUV:
|
1.3.9.1