Struct birli::CxxImageSet
source · [−]#[repr(C)]pub struct CxxImageSet { /* private fields */ }
Expand description
CXX Wrapper for aoflagger::ImageSet
, a set of time-frequency ‘images’ which
together contain data for one correlated baseline.
Please see the aoflagger documentation for more details.
Implementations
Get the width (number of timesteps) of the CxxImageSet
Get the height (number of coarse × fine frequency channels) of the CxxImageSet
Get the count (number of polarizations × complex components) of the CxxImageSet
Get the total number of floats in one row of the CxxImageSet
Row might have been padded to allow for SSE instructions and other optimizations. Therefore, one should add the horizontal stride to a data pointer to get the float in the next row (channel).
(Immutably) access the raw float buffer at imgIndex
in the CxxImageSet
(Mutably) access the raw float buffer at imgIndex
in the CxxImageSet
(Mutably) access the raw float buffer at imgIndex
in the CxxImageSet
without pins
TODO: document safety
Trait Implementations
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more