Package for polarization state calculations
Project description
About
Pylarization is a Python module that aids in processing light polarization states. For given method of polarization description it can calculate all parameters of a polarization ellipse.
Installation
The following should do, as pylarization does not have any platform-specific dependancies.
pip install pylarization
Usage
Polarization Ellipse
PolarizationEllipse is the base class for all classes describing different methods of describing the state of polarization.
To create an instance it is necessary to supply light amplitudes along the X and Y axes and the phase difference between the amplitudes.
light = PolarizationEllipse(0.445, 0.89, 1.57)
Vectors
Jones Vector
light = JonesVector(0.445, 0.89j)
Stokes Vector
light = StokesVector(1, 0.6, 0, 0.8)
Matrices
Jonex Matrix
matrix_values = numpy.matrix([[1, 0], [0, -1j]])
light = JonesMatrix(matrix_values) * JonesVector(1, -1j)
light.vector
matrix([[ 1.+0.j],
[-1.+0.j]])
Mueller Matrix
matrix_values = numpy.matrix([[0.5, 0.5, 0, 0], [0.5, 0.5, 0, 0], [0 , 0, 0, 0], [0 , 0, 0, 0]])
light = MuellerMatrix(matrix_values) * StokesVector(1, 0, 0, 0)
light.vector
matrix([[0.5],
[0.5],
[0. ],
[0. ]])
Coherency Matrix
Sources
Florian Ratajczak, Optyka Ośrodków Anizotropowych, Wydawnictwo Naukowe PWN, Warszawa, 1994
Eugene Hecht, Optyka, PWN, Warszawa, 2012
Harland G. Tompkins, Eugene A. Irene, Handbook of Ellipsometry, William Andrew, Inc., Norwich, New York, 2005
http://kestrel.nmt.edu/~mce/Polarization.pdf
https://spie.org/publications/fg05_p07-09_polarization_ellipse?SSO=1
http://orca.phys.uvic.ca/~tatum/physopt/physopt4.pdf
https://arxiv.org/pdf/1401.1911.pdf
http://www.waves.utoronto.ca/prof/svhum/ece422/notes/03-polarization.pdf
http://www.ece.mcmaster.ca/faculty/nikolova/antenna_dload/current_lectures/L05_Polar.pdf
http://www.eecs.ucf.edu/~tomwu/course/eel6482/notes/12%20Polarization%202.pdf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pylarization-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7031337fa0c40ab15e3d34e099dcd8b899d905e88237c30ca29472eeca48904 |
|
MD5 | 39abc5f9d10c81cb7d21f7c628c64f09 |
|
BLAKE2b-256 | 3c0f3de415bf01271fb1667bea57e4abeb10dbcd88d079914cf00c700670722c |