![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaRef |
|
||
2.2.1 Produce a smoothed calibration table
Description
This function provides for time-dependent smoothing of sampled calibration
solutions. Currently supported types are ’G’, ’B’, and ’T’. (Smoothing on the
frequency axis for ’B’ will be supported in the near future.)
Two (sliding) smoothing types are currenlty supported: ’median’ or ’mean’, one of these options should be specified in smoothtype. The full width (in seconds) of the smoothing filter should be specified in smoothtime. Amplitude and (ambiguity-corrected) phase are smoothed separately.
Use field to limit the smoothing operation to a subset of the fields (standard selection syntax) found in the calibration table (other fields will pass to the output table unsmoothed). If field is left blank, all fields in the table will be smoothed.
The smoothing is always done independently for each field, but scan boundaries are not observed. Thus, if the smoothtime is large enough, smoothing may occur over many boundaries.
Flagged solutions in the input table will not participate in the smoothing calculation, but will be replaced with smoothed values if the smoothing window covers one or more unflagged solutions when centered on the flagged point.
Pending improvements:
Arguments
| Inputs |
| ||
| tablein |
| Input calibration table
| |
| allowed: | string |
|
| Default: |
| |
| tableout |
| Output calibration table
| |
| allowed: | string |
|
| Default: |
|
|
| field |
| Limit smoothing to these fields (default is all fields)
| |
| allowed: | any |
|
| Default: | variant |
|
| smoothtype |
| The smoothing type: ’mean’ or ’median’
| |
| allowed: | string |
|
| Default: | mean median |
|
| smoothtime |
| Smoothing filter time constant (sec)
| |
| allowed: | double |
|
| Default: | 60.0 |
|
Example
In this example, ’G’ solutions for all fields in the table ’in.gcal’ are smoothed using a median filter with a full-width of 60 seconds, and the result written to ’out.gcal’.
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.