darkhistory.utilities.get_grid¶
- darkhistory.utilities.get_grid(a, b)¶
Returns a 2D grid of coordinates from 2 1D arrays.
- Parameters:
- andarray
First array.
- bndarray
Second array.
- Returns:
- ndarray
2D array with grid values from a and b.
Notes
This function returns an array that when passed to
scipy.interpolate.RegularGridInterpolatorproduces the same result asscipy.interpolate.interp2d(a, b).
