finesse.simulations.basematrix.CarrierSignalMatrixSimulation.is_component_in_mismatch_couplings

CarrierSignalMatrixSimulation.is_component_in_mismatch_couplings(self, comp)

Determines whether the connector comp is associated with any of the node couplings in the stored potential mismatch couplings.

Note

This method can be replaced if connectors eventually use more granular refill flags — i.e. per coupling refill flags. Then the check for refilling that coupling can simply include the condition (from_node, to_node) in sim.mismatched_node_couplings.