Expand description
Methods for manipulating flagmasks and flagging imagesets
Structs
Which timesteps, channels and baselines are flagged in a given observation
Builder for FlagContext
.
Enums
Error type for FlagContextBuilder
Functions
Create an aoflagger CxxFlagMask
for a from the given flag array view
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.
Convert the given ndarray of boolean flags to an ndarray of float weights
Get the weight factor of an observation’s corr_ctx
.
Create an aoflagger CxxImageSet
for a particular baseline from the given jones array
Write flags to disk, given an observation’s marlu::mwalib::CorrelatorContext
, a vector of
CxxFlagMask
s for each baseline in the observation, a filename template and a vector of
gpubox IDs.