SimPEG.regularization.CrossGradient.calculate_cross_gradient#
- CrossGradient.calculate_cross_gradient(model, normalized=False, rtol=1e-06)[source]#
Calculates the cross-gradients of the models at each cell center.
- Parameters
- model
numpy.ndarray The input model, which will be automatically separated into the two parameters internally
- normalizedbool,
optional Whether to normalize the gradient
- rtol
float,optional relative cuttoff for small gradients in the normalization
- model
- Returns
- cross_grad
numpy.ndarray The norm of the cross gradient vector in each active cell.
- cross_grad