make_derivative_matrix
- hcipy.util.make_derivative_matrix(grid, axis='x')
Make the derivative operator using the central difference approximation.
- Parameters:
- gridGrid
The grid for which the derivative matrix is calculated.
- axisstring
The axis for which the convolution kernel is calculated default is ‘x’.
- Returns:
- array_like
The convolution matrix.