3.3.2.15. A_FMM.Stack.get_prop

Stack.get_prop(u: ndarray, list_lay: list[int], d: ndarray = None) dict[int, float]

Calculates the total poyinting vector in the requiested layers

Parameters:
  • u (ndarray) – array containing the modal coefficient incoming in the first layer.

  • list_lay (list of int) – indexes of the layer of which to calculate the Poynting vector.

  • d (ndarray, optional) – array containing the modal coefficient incoming in the last layer. Defaults to None.

Returns:

Dictionary of the Poyting vectors in the the layers {layer_index : Poyting vector}

Return type:

dic (dict)