check_ab#

empymod.utils.check_ab(ab, verb)[source]#

Check source-receiver configuration.

This check-function is called from one of the modelling routines in empymod.model. Consult these modelling routines for a detailed description of the input parameters.

Parameters:
abint

Source-receiver configuration.

verb{0, 1, 2, 3, 4}

Level of verbosity.

Returns:
ab_calcint

Adjusted source-receiver configuration using reciprocity.

msrc, mrecbool

If True, src/rec is magnetic; if False, src/rec is electric.