Skip to main content

ReadComplexFile

Function ReadComplexFile 

Source
pub unsafe extern "C" fn ReadComplexFile(
    mag: *mut *mut *mut f32,
    phase: *mut *mut *mut f32,
    rifile: *mut c_char,
    linelen: c_long,
    nlines: c_long,
    tileparams: *mut tileparamT,
) -> c_int
Expand description

Reads file of complex floats of the form real,imag,real,imag… ncol is the number of complex samples (half the number of real floats per line). Ensures that phase values are in the range [0,2pi).