#[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

type Id

A type-level representation of the type’s C++ namespace and type name. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.