check_solution#

empymod.utils.check_solution(solution, signal, ab, msrc, mrec)[source]#

Check required solution with parameters.

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:
solutionstr

String to define analytical solution.

signal{None, 0, 1, -1}

Source signal:

  • None: Frequency-domain response

  • -1 : Switch-off time-domain response

  • 0 : Impulse time-domain response

  • +1 : Switch-on time-domain response

msrc, mrecbool

True if src/rec is magnetic, else False.