Skip to main content

scan_taper

Function scan_taper 

Source
pub fn scan_taper(coordinates: &[f64], fraction: f64) -> Vec<f64>
Expand description

Raised-cosine edge weights for scan coordinates: 1 in the inner 1 − fraction of the half-extent, rolling smoothly to 0 at the edges. Multiply the sampled fields by w(x_i) w(y_j) to suppress truncation ripple in planar_near_to_far.