finesse.simulations.homsolver.HOMSolver.get_node_info

HOMSolver.get_node_info(self, node)

For a given node (object or name) the key parameters for where this node is represented in the matrix of linear equations.

Parameters
node[str | Node]

The name or the Node object of the node.

Returns
dict: A dictionary containing the following information about the node:
  • index: The index of the node.

  • rhs_index: The index of the right-hand side vector associated with the node.

  • freq_index: The index of the frequency vector associated with the node.

  • nfreqs: The number of frequencies.

  • nhoms: The number of higher order modes. [TODO generalise to pixels/HOMs/whatever]