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 (
floatornumpy.ndarray) – phase-points to evaluate the transformed function atarg_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 instehfestandfunc.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.