finesse.exceptions.TotalReflectionError

Overview

class finesse.exceptions.TotalReflectionError(message, from_node=None, to_node=None)[source]

Bases: FinesseException

Exception indicating total reflection of a beam at a component when performing beam tracing.

Parameters
messagestr

The error message.

from_node, to_nodeNode

References to the offending source and target nodes, respectively.

Properties

TotalReflectionError.coupling

The tuple of (from, to) nodes responsible for the total reflection error.