ip_and_q#
- empymod.model.ip_and_q(**kwargs)[source]#
Return In-Phase and Quadrature components for provided model and system.
This wrapper calls
dipoletwo times:1st: with xdirect=None for the secondary field Hs.
2nd: with xdirect=True, and only the first value of all model parameters and an empty depth-parameter for the primary field Hp.
It then returns the real (in-phase) and imaginary (quadrature) components of the ratio Hs/Hp, scaled by scale.
This function takes the same input parameters as
dipole; see the documentation of dipole for the descriptions. In addition, it takes a scale parameter.This function is only implemented for frequency-domain data of magnetic sources and receivers.
- Parameters:
- All parametersSee
dipole. Restrictions compared to
dipole:ab has to be one of [44, 45, 46, 54, 55, 56, 64, 65, 66] (magnetic source and receiver).
xdirect is ignored; it is first set to None for Hs, and then to True for Hp.
signal has to be None (frequency domain); ft and ftarg have hence no effect.
- scalefloat, default: 1e3 (ppt)
Multiplication factor. E.g., 1e3 for ppt, 1e6 for ppm.
- All parametersSee
- Returns:
- IP, Qndarrays
In-phase and quadrature values.