Coming from AIPS¶
This page goes through the AIPS tasks that visplot takes the place of
for inspecting and editing visibility data: TVFLG, SPFLG, FTFLG and
EDITR for editing, and VPLOT, UVPLT, POSSM and LISTR’s matrix listing
for display. For each display mode, option and menu item it gives the
visplot equivalent: the Python argument, the value, or the setting in
the window.
visplot does not copy the AIPS menus or keyboard use. It is designed
for a web window, so one AIPS menu item may correspond to a setting
plus a mouse action.
Review status
This table was compiled on 2026-11-16 from AIPS Memo 127 (Interactive
flagging in AIPS, 2025), the AIPS CookBook and the visplot source,
and no row has been reviewed yet. When a tester confirms a row, the
Reviewed column gets their initials and the date. Corrections are
welcome, especially for rows marked Different.
Status means:
Same: works the same way.
Different: available, but works differently; the note says how.
Partial: some of it is available.
Not yet: not available.
N/A: does not apply to how
visplotworks.
TVFLG: what is shown¶
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
Baseline × time display |
|
Same |
Either axis can be on either side |
||
SORT BY LENGTH / SORT BY BASELINE |
|
Same |
|||
DPARM(3): show both n−m and m−n |
N/A |
Each baseline is shown once |
|||
ENTER CHANNEL, NCHAV (one channel, or channels averaged) |
|
Different |
A Baseline × Time cell averages every selected channel; single channels cannot be selected yet |
||
ENTER IF, LOAD NEXT IF/ST |
|
Same |
|||
DISPLAY STOKES |
|
Partial |
One correlation, or the parallel hands averaged; no conversion to Stokes |
||
AMPLITUDE, PHASE |
|
Same |
Vector averaged by default; scalar available |
||
RMS, RMS/MEAN (scalar amplitude) |
Not yet |
Requested |
|||
VECT RMS, VRMS/VAVG |
|
Different |
|
||
AMP V DIFF |
|
Different |
Compared with the mean of the other samples in the window (the sample itself is left out); the windows are fixed blocks |
||
PHASE DIFF |
|
Different |
As for AMP V DIFF |
||
AMPL DIFF (scalar amplitude difference) |
Not yet |
||||
DPARM(4): divide by the source’s flux density |
Not yet |
TVFLG: averaging¶
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
DPARM(6): master grid interval |
N/A |
Rasters are drawn at the data’s own integrations |
|||
ENTER SMOOTH TIME (in multiples of DPARM(6)) |
Not yet |
Requested: averaging by a number of integrations. Raster cells cannot yet be averaged in time |
|||
Averages weighted by the data weights |
Different |
|
|||
ENTER SCAN TIME (window for the DIFF displays) |
|
Different |
A scan (the default) or a length in seconds, not in integrations |
TVFLG: flagging¶
The reaches widen a box the way TVFLG’s flagging switches do. The baseline, spectral-window, scan and field reaches apply to a raster box with the All selected filter; with other filters only the channel and correlation reaches apply (see How the filters decide).
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
FLAG PIXEL, FLAG AREA, FLAG BASELINE-DT |
flag box |
Same |
A box of any size |
||
FLAG TIME, FLAG TIME RANGE (all baselines) |
flag box with the all baselines reach, or a full-width box |
Same |
|||
FLAG ANTENNA-DT (all baselines to an antenna) |
flag box with the shared antenna reach ( |
Same |
Drag across two or more baselines of the antenna |
||
FLAG BASELINE (all times) |
full-height flag box |
Same |
|||
FLAG/CONFIRM |
|
Different |
Each box is shown as a proposal, with counts and highlighted samples, to accept or reject |
||
CLIP BY SET #S, CLIP BY FORM |
Value range flag filter |
Partial |
Only the samples within the box are clipped |
||
CLIP INTERACTIV |
Not yet |
||||
SWITCH ALL-CH FLAG |
|
Same |
|||
SWITCH ALL-IF FLAG |
|
Partial |
All selected spectral windows; no IF range |
||
SWITCH SOURCE FLAG |
|
Same |
|||
ENTER STOKES FLAG |
|
Partial |
All correlations, or the one shown |
||
|
(more) |
Every integration of the scans a box touches |
|||
LIST FLAGS |
flag report |
Same |
|||
UNDO FLAGS, REDO FLAGS |
undo, redo |
Same |
|||
SET REASON |
|
Same |
|||
FC table (work survives an interruption) |
JSON export of pending flags |
Different |
Pending flags are kept in memory until written; export them to keep a record |
||
EXIT: copy the FG table, then add flags |
write to the MS |
Same |
A backup of the flags it changes is saved first |
||
DPARM(5): extend flags in time |
N/A |
Flags apply to exactly the samples selected |
TVFLG: display options¶
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
OFFCOLOR, TVPSEUDO, TVPHLAME, OFMCOLOR |
|
Partial |
Seven colormaps. The circular (cyclic) scheme is used automatically for Phase and cannot be chosen by name |
||
Cookbook advice: circular pseudo-coloring for phase |
Same |
Automatic for Phase |
|||
TVTRANSF; LOAD LOG, SQRT, LOG2, LIN |
color scaling |
Same |
Also histogram-equalized (the default), square, gamma or power, threshold |
||
ENTER AMP / PHS / RMS PIXRANGE |
color range |
Same |
|||
TVZOOM, AUTO Y ZOOM, ENTER BLC / TRC |
zoom and pan |
Same |
Zoom re-samples the data already read |
||
LOAD NEXT / LAST PIECE |
|
Different |
Narrow the selection; there is no piece-by-piece loading. A raster over 2 million cells skips rows and columns until the selection is narrowed |
SPFLG¶
Everything above for TVFLG applies, with these differences:
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
Channel × time display, one baseline |
|
Same |
|||
ENTER BASELINE, LOAD NEXT / LAST BASELINE, LIST BASLS |
stepping through baselines; baseline list |
Same |
Stepping skips baselines with no data |
||
ENTER CH SMOOTH (Gaussian, in channels) |
Not yet |
Channel averaging is for scatter plots only |
|||
DPARM(2): cross, auto or both |
|
Same |
|
||
SWITCH BASLIN FLAG (n−m, n−*, m−*, *−*) |
baselines reach |
Same |
As drawn, all baselines to the shared antenna, to every antenna drawn, or all |
||
FLAG A CHANNEL, FLAG CHANNEL RANGE, FLAG CHANNEL-DT |
flag box (full height for all times) |
Same |
|||
TVPSEUDO: rainbow, circular, step |
Partial |
See the TVFLG display options |
|||
DOCAT=2 / IN2SEQ: build the master grid now, use it later |
N/A |
There is no master grid |
FTFLG¶
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
Channel × time, all baselines vector averaged |
|
Different |
The preset combines baselines by maximum, so interference on a few baselines is not diluted. Mean, median and coherent (the FTFLG vector average) are also available |
||
Each flag applies to all baselines |
flag box |
Same |
A box on such a plot flags every selected baseline |
EDITR¶
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
Baselines to one antenna against time |
stepping through antennas, with a Baseline × Time raster or a time series |
Different |
|||
Second data set, or second observable (DOTWO) |
two panels |
Partial |
Two panels show two observables of the same data set |
||
SHOW COHERENCE |
|
Different |
|
Display tasks¶
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
VPLOT: a quantity against time, one baseline per plot |
|
Same |
|||
UVPLT / VPLOT axes: amplitude, phase, real, imaginary, time, u, v, uv distance, frequency, channel |
scatter axes |
Same |
|||
UVPLT / VPLOT axes: hour angle, elevation, azimuth, parallactic angle, position angle, w, log amplitude, weight |
Not yet |
||||
UVPLT: uv coverage |
|
Same |
|||
SOLINT (time averaging, in minutes) |
|
Different |
In seconds, or |
||
XINC (plot every n-th sample) |
N/A |
Every sample is drawn, as density |
|||
DO3COL (separate IFs, channels, sources or times by color) |
scatter layer coloring |
Partial |
By scan, field, antenna, baseline, spectral window or correlation; not by channel or time |
||
POSSM: spectra averaged in time |
|
Partial |
Each scan averaged, per baseline. Spectra averaged over baselines are not yet available on scatter plots |
||
POSSM: plot bandpass and other calibration tables |
Not yet |
||||
LISTR OPTYPE=’MATX’: baseline matrix listing |
|
Different |
A raster image rather than a listing, averaged over the whole selection. Narrow by |
Automatic flagging tasks¶
AIPS |
visplot |
Status |
Notes |
See |
Reviewed |
|---|---|---|---|---|---|
RFLAG (statistical flagging) |
Z-Score; the Z-Score, Outlier from neighbours and Amplitude outlier flag filters |
Different |
Interactive: the filters act within a box that is drawn |
||
CLIP (by limits) |
Value range flag filter |
Partial |
Within a box |
||
UVFLG (flags from a list) |
Not yet |
Flags can be exported as JSON |
Sources¶
E. W. Greisen, Interactive flagging in AIPS, AIPS Memo 127 (2025).
The AIPS CookBook: More editing of uv data, Plotting, Tools for data examination.