Skip to content

Kricki/jones-calculus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

jones-calculus

Jones calculus for the polarization of light.

Polarized light is represented by a Jones vector, and linear optical elements are represented by Jones matrices. The state behind an optical element is given by the Jones vector multiplied by the corresponding Jones matrix. Note that the Jones calculus only works for fully polarized light.

See Wikipedia for a detailed description.

Implemented components

  • Linear polarizer
  • Half-wave plate
  • Quarter-wave plate

Example

Transmit H-polarized light through a half-wave plate at 45 deg:

import math
from jonescalculus import jonescalculus as jones

jv1 = jones.JonesVector(preset='H')
hwp = jones.HalfWavePlate(math.radians(45))  # Half-wave plate at angle 45 deg wrt x-axis
hwp*jv1

About

Jones calculus for the polarization of light.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages