3.2.2.18. lekkersim.SolvedModel.set_intermediate

SolvedModel.set_intermediate(int_func: Callable, monitor_mapping: Dict[str, Tuple[Structure, str]])

Methods for setting the function and mapping for monitors

Parameters:
  • int_func (callable) – Function linking the modal amplitudes at the monitor port to the inputs amplitudes

  • monitor_mapping (dict) – Dictionary connecting the name of the monitor ports with the index in the amplitude arrays