SimPEG.electromagnetics.natural_source.Simulation1DElectricField.getJtJdiag#
- Simulation1DElectricField.getJtJdiag(m, W=None, f=None)[source]#
Return the diagonal of JtJ
- Parameters:
m (numpy.ndarray) – inversion model (nP,)
W (numpy.ndarray) – vector of weights (ndata,)
u (SimPEG.electromagnetics.frequency_domain.fields.FieldsFDEM) – fields object
- Return type:
- Returns:
JtJ (nP,)