finesse.exceptions.TotalReflectionError

Overview

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

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

Parameters

message : str

The error message.

from_node, to_node : Node

References to the offending source and target nodes, respectively.

Properties

TotalReflectionError.coupling

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