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

port : Port or Node

Port or node.

Returns

nr : float

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