check_loop#

empymod.utils.check_loop(loop, ht, htarg, verb)[source]#

Check loop parameter.

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:
loop{None, ‘freq’, ‘off’}

Loop flag.

ht{‘dlf’, ‘qwe’, ‘quad’}

Flag to choose the Hankel transform.

htargdict

Arguments of Hankel transform; depends on the value for ht.

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

Level of verbosity.

Returns:
loop_freqbool

Boolean if to loop over frequencies.

loop_offbool

Boolean if to loop over offsets.