anaflow.tools.laplace.get_lap
- get_lap(func, arg_dict=None, **kwargs)[source]
Callable Laplace transform.
Get the Laplace transform of a given function as a callable function.
- Parameters:
func (
callable) – function that shall be transformed. The first argument needs to be the time-variable:func(t, **kwargs)func should be capable of taking numpy arrays as input for s and the first shape component of the output of func should match the shape of s.
arg_dict (
dictorNone, optional) – Keyword-arguments given as a dictionary that are forwarded to the function given infunc. Will be merged with**kwargsThis is designed for overlapping keywords. Default:None**kwargs – Keyword-arguments that are forwarded to the function given in
func. Will be merged witharg_dict.
- Returns:
The Laplace transformed of the given function.
- Return type:
- Raises:
ValueError – If func is not callable.