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 (dict or None, optional) – Keyword-arguments given as a dictionary that are forwarded to the function given in func. Will be merged with **kwargs This is designed for overlapping keywords. Default: None

  • **kwargs – Keyword-arguments that are forwarded to the function given in func. Will be merged with arg_dict.

Returns

The Laplace transformed of the given function.

Return type

callable

Raises

ValueError – If func is not callable.