Notations in Polanalyser

June 5, 2024 · View on GitHub

The following equations definitions of Stoke-vector and Mueller-matrix in polanalyser. Note that, these equations are automatically generated by polanalyser's sympy feature.

Stokes vector

s=[s0s1s2s3]\mathbf{s} = \left[\begin{matrix}s_{0} \\ s_{1} \\ s_{2} \\ s_{3}\end{matrix}\right]

AoLP

0.5atan(s2s1)0.5 \mathrm{atan}{\left(\frac{s_{2}}{s_{1}} \right)}

DoP

s12+s22+s32s0\frac{\sqrt{s_{1}^{2} + s_{2}^{2} + s_{3}^{2}}}{s_{0}}

DoLP

s12+s22s0\frac{\sqrt{s_{1}^{2} + s_{2}^{2}}}{s_{0}}

DoCP

s3s0\frac{\left|{s_{3}}\right|}{s_{0}}

Ellipticity angle

0.5atan(s3s12+s22)0.5 \mathrm{atan}{\left(\frac{s_{3}}{\sqrt{s_{1}^{2} + s_{2}^{2}}} \right)}

Mueller matrix

M=[m00m01m02m03m10m11m12m13m20m21m22m23m30m31m32m33]\mathbf{M} = \left[\begin{matrix}m_{00} & m_{01} & m_{02} & m_{03} \\ m_{10} & m_{11} & m_{12} & m_{13} \\ m_{20} & m_{21} & m_{22} & m_{23} \\ m_{30} & m_{31} & m_{32} & m_{33}\end{matrix}\right]

Linear Polarizer

[0.50.5cos(2θ)0.5sin(2θ)00.5cos(2θ)0.5cos2(2θ)0.5sin(2θ)cos(2θ)00.5sin(2θ)0.5sin(2θ)cos(2θ)0.5sin2(2θ)00000]\left[\begin{matrix}0.5 & 0.5 \cos{\left(2 \theta \right)} & 0.5 \sin{\left(2 \theta \right)} & 0 \\ 0.5 \cos{\left(2 \theta \right)} & 0.5 \cos^{2}{\left(2 \theta \right)} & 0.5 \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & 0 \\ 0.5 \sin{\left(2 \theta \right)} & 0.5 \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & 0.5 \sin^{2}{\left(2 \theta \right)} & 0 \\ 0 & 0 & 0 & 0\end{matrix}\right]

Rotator

[10000cos(2θ)sin(2θ)00sin(2θ)cos(2θ)00001]\left[\begin{matrix}1 & 0 & 0 & 0 \\ 0 & \cos{\left(2 \theta \right)} & \sin{\left(2 \theta \right)} & 0 \\ 0 & - \sin{\left(2 \theta \right)} & \cos{\left(2 \theta \right)} & 0 \\ 0 & 0 & 0 & 1\end{matrix}\right]

Retarder

[10000sin2(2θ)cos(δ)+cos2(2θ)sin(2θ)cos(δ)cos(2θ)+sin(2θ)cos(2θ)sin(δ)sin(2θ)0sin(2θ)cos(δ)cos(2θ)+sin(2θ)cos(2θ)sin2(2θ)+cos(δ)cos2(2θ)sin(δ)cos(2θ)0sin(δ)sin(2θ)sin(δ)cos(2θ)cos(δ)]\left[\begin{matrix}1 & 0 & 0 & 0 \\ 0 & \sin^{2}{\left(2 \theta \right)} \cos{\left(\delta \right)} + \cos^{2}{\left(2 \theta \right)} & - \sin{\left(2 \theta \right)} \cos{\left(\delta \right)} \cos{\left(2 \theta \right)} + \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & - \sin{\left(\delta \right)} \sin{\left(2 \theta \right)} \\ 0 & - \sin{\left(2 \theta \right)} \cos{\left(\delta \right)} \cos{\left(2 \theta \right)} + \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & \sin^{2}{\left(2 \theta \right)} + \cos{\left(\delta \right)} \cos^{2}{\left(2 \theta \right)} & \sin{\left(\delta \right)} \cos{\left(2 \theta \right)} \\ 0 & \sin{\left(\delta \right)} \sin{\left(2 \theta \right)} & - \sin{\left(\delta \right)} \cos{\left(2 \theta \right)} & \cos{\left(\delta \right)}\end{matrix}\right]

Quarter Waveplate

[10000cos2(2θ)sin(2θ)cos(2θ)sin(2θ)0sin(2θ)cos(2θ)sin2(2θ)cos(2θ)0sin(2θ)cos(2θ)0]\left[\begin{matrix}1 & 0 & 0 & 0 \\ 0 & \cos^{2}{\left(2 \theta \right)} & \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & - \sin{\left(2 \theta \right)} \\ 0 & \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & \sin^{2}{\left(2 \theta \right)} & \cos{\left(2 \theta \right)} \\ 0 & \sin{\left(2 \theta \right)} & - \cos{\left(2 \theta \right)} & 0\end{matrix}\right]

Half Waveplate

[10000sin2(2θ)+cos2(2θ)2sin(2θ)cos(2θ)002sin(2θ)cos(2θ)sin2(2θ)cos2(2θ)00001]\left[\begin{matrix}1 & 0 & 0 & 0 \\ 0 & - \sin^{2}{\left(2 \theta \right)} + \cos^{2}{\left(2 \theta \right)} & 2 \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & 0 \\ 0 & 2 \sin{\left(2 \theta \right)} \cos{\left(2 \theta \right)} & \sin^{2}{\left(2 \theta \right)} - \cos^{2}{\left(2 \theta \right)} & 0 \\ 0 & 0 & 0 & -1\end{matrix}\right]

Others

Intensity through polarizer

I(θ)=0.5s0+0.5s1cos(2θ)+0.5s2sin(2θ)I(\theta) = 0.5 s_{0} + 0.5 s_{1} \cos{\left(2 \theta \right)} + 0.5 s_{2} \sin{\left(2 \theta \right)}

Observation of polarization camera

Polarization camera captures 0, 45, 90, 135 degree linear polarized light.

The intensity of the light through the polarizer is given by the following equations.

I(0)=0.5s0+0.5s1I(45)=0.5s0+0.5s2I(90)=0.5s00.5s1I(135)=0.5s00.5s2\begin{align*} I(0) &= 0.5 s_{0} + 0.5 s_{1} \\ I(45) &= 0.5 s_{0} + 0.5 s_{2} \\ I(90) &= 0.5 s_{0} - 0.5 s_{1} \\ I(135) &= 0.5 s_{0} - 0.5 s_{2} \\ \end{align*}

From the observation of the polarization camera, we can estimate the stokes parameters as follows.

s0=0.5I(0)+0.5I(135)+0.5I(45)+0.5I(90)s1=1.0I(0)1.0I(90)s2=1.0I(135)+1.0I(45)\begin{align*} s_0 &= 0.5 I(0) + 0.5 I(135) + 0.5 I(45) + 0.5 I(90) \\ s_1 &= 1.0 I(0) - 1.0 I(90) \\ s_2 &= - 1.0 I(135) + 1.0 I(45) \\ \end{align*}