pub fn gaussian_kernel_1d(
sigma: f64,
truncate: f64,
) -> Result<Vec<f64>, ErrorsJSL>Expand description
A normalised 1D Gaussian kernel with standard deviation sigma (in pixels), truncated at
truncate standard deviations (4 is conventional) and always of odd length.