Function make_grid
Source pub fn make_grid<T: Float>(size: usize, pixel_size: T) -> Array1<T>
Expand description
Generate a centered coordinate grid.
Creates a 1D array of coordinates centered around zero with specified size and pixel spacing.
§Arguments
size - Number of points in the grid
pixel_size - Physical size of each pixel
§Returns
A 1D array of evenly spaced coordinates