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 or numpy.ndarray) – phase-points to evaluate the transformed function at

  • 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 in stehfest and func.Default: None

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

Returns

Array with all evaluations in phase-space.

Return type

numpy.ndarray

Raises

ValueError – If func is not callable.