27 #ifndef FLAGGING_RFROWCLIPPER_H
28 #define FLAGGING_RFROWCLIPPER_H
void markSigma(casacore::uInt ifr)
marks a noise estimate as updated without changing it
casacore::Matrix< casacore::Float > sig0
casacore::Float updateSigma(casacore::uInt &ifrmax, casacore::uInt &itmax, casacore::Bool flagrows=true, bool clear_flags=true)
recompute updated estimates and optionally do row flagging
casacore::Float sigma0(casacore::uInt ifr, casacore::uInt it)
returns the current noise estimate
RFRowClipper: flags rows based on their noise level.
ostream-like interface to creating log messages.
RFFlagCube: a cube of flags.
casacore::Matrix< casacore::Float > sig
void init(casacore::uInt ni, casacore::uInt nt)
initialize for an [NI,NT] matrix
RFRowClipper(RFChunkStats &chunk, RFFlagCube &flag, casacore::Float clip, casacore::uInt hw=6, casacore::uInt maxp=5)
construct from a chunk accessor and flag cube.
void cleanup()
deallocate matrices
casacore::Vector< casacore::Bool > sigupdated
bool Bool
Define the standard types used by Casacore.
void reset()
reset at start of pass
casacore::Float clip_level
FlaggerEnums: collection of enums for various flagger classes.
~RFRowClipper()
destructor
RFChunkStats: vital information and flagging stats for a visibility chunk.
void setSigma(casacore::uInt ifr, casacore::uInt it, casacore::Float level)
sets a new noise estimate