Skip to main content

resample_complex_onto

Function resample_complex_onto 

Source
pub fn resample_complex_onto(
    magnitude: &[f64],
    phase: &[f64],
    src_dims: (usize, usize, usize),
    src_affine: &[f64; 16],
    dst_dims: (usize, usize, usize),
    dst_affine: &[f64; 16],
) -> Option<(Vec<f64>, Vec<f64>)>
Expand description

Resample magnitude and wrapped phase from one grid onto another, through the complex domain so the wraps survive. Returns (magnitude, phase).