rulings#

Periodic rulings which can be added to an optical surface to model a diffraction grating.

Functions

incident_effective(wavelength, direction, ...)

The effective propagation direction of some rays incident on a diffraction grating.

Classes

AbstractRulingSpacing()

An interface describing the instantaneous ruling spacing on the surface of a diffraction grating.

ConstantRulingSpacing(constant, normal)

The simplest type of ruling spacing, a constant distance between each ruling.

Polynomial1dRulingSpacing(coefficients, normal)

Ruling spacing specified by a 1-dimensional polynomial.

HolographicRulingSpacing(x1, x2, wavelength)

Rulings created by interfering two beams.

AbstractRulings()

Interface for the interaction of a ruled surface with incident light

Rulings(spacing, diffraction_order)

An idealized set of rulings which have perfect efficiency in all diffraction orders.

MeasuredRulings(spacing, diffraction_order, ...)

A set of rulings where the efficiency has been measured or calculated by an independent source.

SinusoidalRulings(spacing, depth, ...)

A ruling profile described by a sinusoidal wave.

SquareRulings(spacing, depth, diffraction_order)

A ruling profile described by a square wave with a 50% duty cycle.

SawtoothRulings(spacing, depth, ...)

A ruling profile described by a sawtooth wave.

TriangularRulings(spacing, depth, ...)

A ruling profile described by a triangle wave.

RectangularRulings(spacing, depth, ...)

A ruling profile described by a rectangular wave.