Counter
count the number of flags per baseline, frequency, and correlation. A flagging step also counts how many visibilities it flagged. Counts can be saved to a table to be plotted later using function plotflags in python module lofar.dppp.
inputs
type
- type:
string- doc:
Case-insensitive step type; must be ‘counter’ (or ‘count’). Note that the type defaults to the step name, so if step name
countis used, nothing more needs to be specified.
jsonfilename
- type:
string- default:
FlagPercentagePerStation.JSON- doc:
Filename for the JSON output.
path
- type:
string- default:
""- doc:
The directory where to create the flag percentages table. If empty, the path of the input MS is used.
save
- type:
bool- default:
False- doc:
If true, the flag percentages per frequency are saved to a table with extension
.flagfreqand percentages per station to a table with extension.flagstat. The basename of the table is the MS name (without extension) followed by the stepname and extension.
savetojson
- type:
bool- default:
False- doc:
If true, the flag ratios per antenna are saved as a JSON file.
showfullyflagged
- type:
bool- doc:
If true, all fully flagged baselines are shown in the baseline selection format using their antenna indices (not names). For example: 0&1; 3&7.
- default:
False
warnperc
- type:
double- default:
0- doc:
If > 0, print an extra message for each baseline or channel with a percentage flagged higher than this value. Such a message line can be easily grep-ed.