Skip to main content

halo_width

Function halo_width 

Source
pub fn halo_width(
    cutoff: f64,
    depth: u32,
    bin_width: [f64; 3],
) -> Result<[u32; 3], Error>
Expand description

Bin radii that cover a length of cutoff * depth.

Axis i gets the smallest integer r with r * bin_width[i] at least that length. depth is the number of cutoff shells the caller must cover. Zero cutoff or zero depth is a zero radius.