finesse.utilities.components.refractive_index

finesse.utilities.components.refractive_index(port, symbolic=False)[source]

Obtains the refractive index of the space attached to the port/node port.

Parameters
portPort or Node

Port or node.

Returns
nrfloat

The refractive index of the space attached to the port / node. Returns unity if no space is present.