chaosmagpy.coordinate_utils.q_response

chaosmagpy.coordinate_utils.q_response(frequency, nmax)[source]

Compute the Q-response for a given conductivity model of Earth.

The conductivity model is loaded during the computation from basicConfig['file.Earth_conductivity'].

Parameters
frequencyndarray, shape (N,)

Vector of N frequencies (1/sec) for which to compute the Q-response.

nmaxint

Maximum spherical harmonic degree of inducing field.

Returns
q_responsendarray, shape (nmax, N)

Q-response for every frequency and harmonic degree of inducing field. Index 0 corresponds to degree 1, index 1 corresponds to degree 2, and so on.