anaflow.tools.laplace.lap_trans
- lap_trans(func, phase, arg_dict=None, **kwargs)[source]
The laplace transform.
- Parameters
func (
callable
) – function that shall be transformed. The first argument needs to be the time-variable:func(s, **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.
phase (
float
ornumpy.ndarray
) – phase-points to evaluate the transformed function atarg_dict (
dict
orNone
, optional) – Keyword-arguments given as a dictionary that are forwarded to the function given infunc
. Will be merged with**kwargs
This is designed for overlapping keywords instehfest
andfunc
.Default:None
**kwargs – Keyword-arguments that are forwarded to the function given in
func
. Will be merged witharg_dict
- Returns
Array with all evaluations in phase-space.
- Return type
- Raises
ValueError – If func is not callable.