#include "ObitUVSoln.h"
#include "ObitTableUtil.h"
#include "ObitTableSUUtil.h"
Functions | |
| void | ObitUVSolnInit (gpointer in) |
| Private: Initialize newly instantiated object. | |
| void | ObitUVSolnClear (gpointer in) |
| Private: Deallocate members. | |
| void | smoAmpPh (ObitTableSN *SNTab, ObitUVSel *sel, gchar *smoFunc, gchar *smoType, gfloat alpha, gfloat *smoParm, gint sub, gint ifbeg, gint ifend, gdouble *freqs, gboolean doBlank, gfloat *gncnt, gfloat *gnsum, ObitErr *err) |
| Coherent amplitude/phase smoothing. | |
| void | smoIt (gchar *smmeth, gfloat width, gfloat alpha, gfloat *x, gfloat *t, gfloat *w, gint n, gfloat *xs, gfloat *ws, gfloat *wrk1, gfloat *wrk2, gboolean doBlank) |
| Private: Generic smoothing. | |
| ObitUVSoln * | newObitUVSoln (gchar *name) |
| Public: Default Constructor. | |
| gconstpointer | ObitUVSolnGetClass (void) |
| Public: ClassInfo pointer. | |
| ObitUVSoln * | ObitUVSolnCreate (gchar *name, ObitUV *inUV) |
| Public: Create/initialize ObitUVSoln structures. | |
| void | ObitUVSolnStartUp (ObitUVSoln *in, ObitErr *err) |
| Public: Initialize interpolation. | |
| gboolean | ObitUVSolnGetSN (ObitUVSoln *in, ObitTableSNRow *SNrow, ObitErr *err) |
| Public: interpolate calibration at a given time. | |
| void | ObitUVSolnShutDown (ObitUVSoln *in, ObitErr *err) |
| Public: Shutdown interpolation. | |
| void | ObitUVSolnRefAnt (ObitTableSN *SNTab, gint isuba, gint *refant, ObitErr *err) |
| Refererence phases to a common reference antenna. | |
| void | ObitUVSolnAvgRate (ObitTableSN *SNTab, ObitErr *err) |
| Average fringe rates over IF/poln in an SN table. | |
| void | ObitUVSolnSNSmo (ObitTableSN *SNTab, gint isuba, ObitErr *err) |
| Smooth an SN table and possible interpolate blanked soln. | |
| void | ObitUVSolnDeselSN (ObitTableSN *SNTab, gint isuba, gint fqid, gint nantf, gint *ants, gint nsou, gint *sources, gfloat timerange[2], ObitErr *err) |
| Deselect records in an SN table. | |
| void | ObitUVSolnDeselCL (ObitTableCL *CLTab, gint isuba, gint fqid, gint nantf, gint *ants, gint nsou, gint *sources, gfloat timerange[2], ObitErr *err) |
| Deselect records in a CL table. | |
| void | ObitUVSolnSNSmooth (ObitTableSN *SNTab, gchar *smoFunc, gchar *smoType, gfloat alpha, gfloat *smoParm, gint iif, gint sub, gfloat *gncnt, gfloat *gnsum, gint nxt, gfloat *work1, gfloat *work2, gboolean doBlank, ObitErr *err) |
| Smooth solutions for a given IF and subarray. | |
| void | ObitUVSolnSmooBox (gfloat width, gfloat *x, gfloat *y, gfloat *w, gint n, gfloat *ys, gfloat *ws, gboolean doBlank) |
| Boxcar smoothing with weighting of an irregularly spaced array. | |
| void | ObitUVSolnSmooGauss (gfloat width, gfloat *x, gfloat *y, gfloat *w, gint n, gfloat *ys, gfloat *ws, gfloat *wtsum, gboolean doBlank) |
| Gaussian smoothing with weighting of an irregularly spaced array. | |
| void | ObitUVSolnSmooMWF (gfloat width, gfloat alpha, gfloat *x, gfloat *y, gfloat *w, gint n, gfloat *ys, gfloat *ws, gfloat *yor, gfloat *wor, gboolean doBlank) |
| Median Window smoothing with weighting of an irregularly spaced array. | |
| void | ObitUVSolnClassInit (void) |
| Public: Class initializer. | |
This clas allows manipulation (interpolation) of Solutions in an ObitTableSN. This class is derived from the Obit base class.
|
|
Public: Default Constructor. Initializes class if needed on first call.
|
|
||||||||||||
|
Average fringe rates over IF/poln in an SN table.
|
|
|
Public: Class initializer.
|
|
|
Private: Deallocate members. Does (recursive) deallocation of parent class members.
|
|
||||||||||||
|
Public: Create/initialize ObitUVSoln structures.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Deselect records in a CL table.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Deselect records in an SN table.
|
|
|
Public: ClassInfo pointer.
|
|
||||||||||||||||
|
Public: interpolate calibration at a given time. Input values on an ObitTableSNRow into which the results are added. Data selection is enabled.
|
|
|
Private: Initialize newly instantiated object. Parent classes portions are (recursively) initialized first
|
|
||||||||||||||||||||
|
Refererence phases to a common reference antenna. Leaves the output table sorted in antenna-time order. Routine translated from the AIPSish UVUTIL.FOR/SLFREF
|
|
||||||||||||
|
Public: Shutdown interpolation. Close any open file and destroy structures.
|
|
||||||||||||||||||||||||||||||||||||
|
Boxcar smoothing with weighting of an irregularly spaced array. Only returns blanked values if no valid data found. First good value used for all previous points, last good value used for all subsequent points in which all data are blanked in the boxcar. A datum is blanked if its weight is <= 0 or fblank. Routine translated from the AIPSish SMBOX.FOR/SMBOX
|
|
||||||||||||||||||||||||||||||||||||||||
|
Gaussian smoothing with weighting of an irregularly spaced array. Only returns blanked values if no valid data found. First good value used for all previous points, last good value used for all subsequent points in which all data are blanked in the smoothing interval. A datum is considered blanked if its weight is <= 0 or its value fblank. Routine translated from the AIPSish SMGAUS.FOR/SMGAUS
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Median Window smoothing with weighting of an irregularly spaced array. Only returns blanked values if no valid data found. First good value used for all previous points, last good value used for all subsequent points in which all data are blanked in the smoothing interval. A datum is considered blanked if its weight is <= 0 or its value fblank. Routine translated from the AIPSish SMMWF.FOR/SMMWF
|
|
||||||||||||||||
|
Smooth an SN table and possible interpolate blanked soln. Failed solutions are optionally interpolated. Leaves the output table sorted in antenna-time order. If SmoType='VLMB the host ObitUV of SNTab should have a valid selector and descriptor. All rates are averaged. Routine adapted from the AIPSish UVUTIL.FOR/SLFSMO Table MUST be in Time order when called and will be returned in antenna order Controls on SNTab:
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Smooth solutions for a given IF and subarray. All poln present are smoothed but only one IF. The KOL pointers are presumed to point at the desired IF. An error is returned if there are any non-zero delays, rates, or multi-band delays. If the reference antenna changes and phase is being smoothed, an error is returned. Multiband delays only smoothed if iif==0; Input table must be in antenna-time order. Routine translated from the AIPSish SNSMOO.FOR/SNSMOO
|
|
||||||||||||
|
Public: Initialize interpolation.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Coherent amplitude/phase smoothing. All poln present and the range of IF specified by IFBEG and IFEND are smoothed jointly. The values in a single polarization are averaged after correcting for multiband delay. Any delay and rate smoothing should be done before amplitude and phase smoothing. Any blanked delay and rate values will be set to 0.0. The phases are corrected by the integral of the rate functions from the first time before smoothing. All selected phases in each polarization are averaged and corrected using the integrated phase function for the first IF selected. Routine translated from the AIPSish /export/users/bcotton/Software.dir//AIPS/31DEC02/APL/PGM/NOTST/SNSMO.FOR/SMOAPH Input table must be in antenna-time order.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Private: Generic smoothing. Magic value blanking is supported. Routine adopted from the AIPSish 31DEC02/APL/PGM/NOTST/SNSMO.FOR/SNSMSM
|
1.3.9.1