Skip to content

Base Types

svetlanna.networks.LinearOpticalSetupLike

Bases: Protocol

Protocol for objects that behave like linear optical setups.

This protocol provides flexibility when defining optical setups: any callable object (or composition of callables) is valid as long as it accepts a Wavefront and returns a Wavefront.

It generalizes LinearOpticalSetup.

__call__

__call__(__input_wavefront: Wavefront) -> Wavefront