Module birli::flags [−][src]
Expand description
Methods for manipulating flagmasks and flagging imagesets
Functions
Shorthand for flag_jones_array_existing
with flag_array
as None.
Flag an ndarray of Jones
visibilities, given a CxxAOFlagger
instance,
a [CxxStrategy
] filename, returning an ndarray::Array3
of boolean flags.
Perform the binary or operation on the flag buffer of this_flagmask
with
the buffer of other_flagmask
, storing the result in this_flagmask
Set the flag buffer of this_flagmask
from the buffer of other_flagmask
,
storing the result in this_flagmask
Produce a vector of flags for antennas whose imputs are flagged in context
Produce a vector of timesteps which can be used for creating imagesets and
flagmasks for aoflagger flagging, given an mwalib::CorrelatorContext
.
Initialize an array of bool
flags for each timestep, channel provided.
Write flags to disk, given an observation’s [mwalib::CorrelatorContext
], a vector of
CxxFlagMask
s for each baseline in the observation, a filename template and a vector of
gpubox IDs.