Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Elements

Index

Functions

  • An attenuator, or: neutral density filter

    Parameters

    • r: number = Math.SQRT1_2

      Amplitude attenuation factor. Intensity is changed by r^2. By default it absorbs 50% photons.

    Returns Operator

  • beamSplitter(angle: number, split?: number): Operator
  • A symmetric non-polarizing beam splitter. Think: a very thin slab of glass. 0: -, 45: /, 90: |, 135: \

    angle

    Angle in degrees, from -> CCW. Needs to be multiple of 45deg.

    todo

    CHECK reflection phase.

    Parameters

    • angle: number
    • split: number = 0.5

    Returns Operator

    Operator with dimensions [dimDir, dimPol].

  • faradayRotator(angle: number, polarizationRotation?: number): Operator
  • Turn operator from coherent, polarized light, to incoherent, non-polarized intensity.

    Parameters

    • opDirPol: Operator

      Operator with [direction,polarization] dimensions.

    Returns Operator

    Operator with real values and dimenson [direction].

  • A both-sided mirror, from metal or any other optically denser medium. 0: -, 45: /, 90: |, 135: \

    angle

    Angle in degrees, from -> CCW. Needs to be multiple of 45deg.

    Parameters

    • angle: number

    Returns Operator

    Operator with dimensions [dimDir, dimPol].

  • phasePlate(rotation: number, phaseShift: number): Operator
  • A phase plate for linear polarization.

    todo

    Convention: modify this polarization, ortonogal, or some other way?

    Parameters

    • rotation: number

      Element rotation in degrees

    • phaseShift: number

    Returns Operator

  • A linear polarizer.

    todo

    Check angle conventions.

    Parameters

    • angle: number

      In plane rotation, in degrees [0, 90, 180, 270], i.e | - | -.

    Returns Operator

  • polarizingBeamsplitter(angle: number): Operator
  • A polarizing beam splitter. Think: a very thin slab of glass. 0: [/], 90: []

    note

    Changed convention from 45 and 135deg!

    angle

    Angle in degrees, from -> CCW. Needs to be 0 or 90, up to 180deg.

    Parameters

    • angle: number

    Returns Operator

    Operator with dimensions [dimDir, dimPol].

  • sugarSolution(polarizationRotation?: number): Operator
  • Sugar solution (for polarization rotation)

    Parameters

    • polarizationRotation: number = 0.125

    Returns Operator

Generated using TypeDoc