check_time_only#

empymod.utils.check_time_only(time, signal, verb)[source]#

Check time and signal 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:
timearray_like

Times t (s).

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

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

Level of verbosity.

Returns:
timefloat

Time, checked for size and assured min_time.