3.2.6.24. A_FMM.Layer.overlap
- Layer.overlap(u: ndarray, up: ndarray = None)
EXPERIMENTAL: Calculates overlap between two fields given the modal expansion
- Parameters:
u (1darray) – Modal coefficient of first mode.
up (1darray, optional) – Modal coefficient of first mode. Defaults to None (up=u, namely normalization is returned).
- Returns:
[tx, tx]: floats. Namely overlap in x and y polarization
- Return type:
list