Struct birli::CxxAOFlagger [−][src]
#[repr(C)]pub struct CxxAOFlagger { /* fields omitted */ }
Expand description
CXX Wrapper for aoflagger::AOFlagger
, the main class for access to the flagger functionality.
Please see the aoflagger documentation for more details.
Implementations
Get the AOFlagger library version number separated in major, minor and subminor fields.
Examples
use birli::cxx_aoflagger_new;
use std::os::raw::c_short;
let mut major: c_short = -1;
let mut minor: c_short = -1;
let mut sub_minor: c_short = -1;
let aoflagger = unsafe { cxx_aoflagger_new() };
aoflagger.GetVersion(&mut major, &mut minor, &mut sub_minor);
assert!(major >= 3);
assert!(minor >= 0);
assert!(sub_minor >= 0);
pub unsafe fn MakeImageSet(
&self,
width: usize,
height: usize,
count: usize,
initialValue: f32,
widthCapacity: usize
) -> UniquePtr<CxxImageSet>
pub unsafe fn MakeImageSet(
&self,
width: usize,
height: usize,
count: usize,
initialValue: f32,
widthCapacity: usize
) -> UniquePtr<CxxImageSet>
Create a new CxxImageSet
with specified dimensions and initial value.
Undefined Behavior
TODO: what if widthCapacity < width?
pub unsafe fn MakeFlagMask(
&self,
width: usize,
height: usize,
initialValue: bool
) -> UniquePtr<CxxFlagMask>
pub unsafe fn MakeFlagMask(
&self,
width: usize,
height: usize,
initialValue: bool
) -> UniquePtr<CxxFlagMask>
Create a new CxxFlagMask
with specified dimensions and initial value.
Find a Lua strategy filename for a Generic telescope.
Find a Lua strategy filename for the MWA telescope.
Load a strategy from disk.
Trait Implementations
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more