3.2.2.5. lekkersim.Model.get_output

Model.get_output(input_dic: Dict[str, float | complex], power: bool = True) Dict[str, float]

Returns the outputs from all ports of the model given the inputs amplitudes

Parameters:
  • input_dic (dict) – dictionary {pin_name (str) : input_amplitude (complex)}. Dictionary containing the complex amplitudes at each input port. Missing port are assumed with amplitude 0.0.

  • power (bool) – If True, returned values are power transmissions. If False, complex amplitudes are instead returned. Default is True.

Returns:

Dictionary containing the outputs in the form {pin_name (str) : output (float or complex)}

Return type:

dict