Skip to main content

ExtractFlow

Function ExtractFlow 

Source
pub unsafe extern "C" fn ExtractFlow(
    unwrappedphase: *mut *mut f32,
    flowsptr: *mut *mut *mut c_short,
    nrow: c_long,
    ncol: c_long,
) -> *mut *mut f32
Expand description

Given an unwrapped phase array, parse the data and find the flows. Assumes only integer numbers of cycles have been added to get the unwrapped phase from the wrapped pase. Gets memory and writes wrapped phase to passed pointer. Assumes flows fit into short ints.