偏振测量——典型光学元件的穆勒矩阵

斯托克斯向量(Stokes Vector)为1*4向量,可用于描述偏振光的状态,其四个元素分别代表总光强S0,垂直或水平方向线偏振分量S1,正负45度线偏振分量S2,圆偏振分量S3。

当一束光经过某个器件时,其偏振态发生变化,对应到斯托克斯向量的变化。在数学上即可考虑到用一个4*4的矩阵描述该器件对光的偏振态的影响,这个矩阵就是穆勒矩阵。这里记录一些典型光学元件的穆勒矩阵以供查询。

线性偏振片(偏振方向为0度)

玻片(waveplate 或补偿器compensator 或延迟器retarder),其中phi为玻片的延迟量,快轴角度为0

另外,穆勒矩阵的旋转矩阵如下,其中theta为旋转角度

一个光学元件旋转一定角度后,其穆勒矩阵可以如下计算:

进而可以求得任意玻片和偏振片旋转一定角度后的穆勒矩阵。

以下python代码

python 复制代码
import numpy as np

def WavePlate(delta):
    Mwp = np.zeros([4, 4])
    Mwp[0, 0] = 1
    Mwp[1, 1] = 1
    Mwp[2, 2] = np.cos(delta)
    Mwp[3, 3] = np.cos(delta)
    Mwp[2, 3] = -np.sin(delta)
    Mwp[3, 2] = np.sin(delta)
    return Mwp
def RotateMatrix(theta):
    R = np.zeros([4,4])
    R[0, 0] = 1
    R[3, 3] = 1
    R[1, 1] = np.cos(2 * theta)
    R[2, 2] = np.cos(2 * theta)
    R[1, 2] = np.sin(2 * theta)
    R[2, 1] = -np.sin(2 * theta)
    return R

def rotate(M,theta):
    R1 = RotateMatrix(theta)
    R2 = RotateMatrix(-theta)
    return R2@M@R1

Mp = np.zeros([4,4])
Mp[0:2,0:2]=1
print('角度为0度的线性偏振片穆勒矩阵: \n',Mp)
print('角度为45度的线性偏振片穆勒矩阵: \n',np.round(rotate(Mp,np.pi/4)))
print('角度为-45度的线性偏振片穆勒矩阵: \n',np.round(rotate(Mp,-np.pi/4)))
print('角度为90度的线性偏振片穆勒矩阵: \n',np.round(rotate(Mp,np.pi/2)))

delta1 = np.pi/4 #四分之一玻片
delta2 = np.pi/2 #半玻片

print('快轴角度为0度的四分之一玻片穆勒矩阵: \n',np.round(WavePlate(delta1),2))
print('快轴角度为90度的四分之一玻片穆勒矩阵: \n',np.round(rotate(WavePlate(delta1),np.pi/2),2))
print('快轴角度为0度的半玻片穆勒矩阵: \n',np.round(WavePlate(delta2),2))
print('快轴角度为90度的半玻片穆勒矩阵: \n',np.round(rotate(WavePlate(delta2),np.pi/2),2))

运行结果:

python 复制代码
角度为0度的线性偏振片穆勒矩阵: 
 [[1. 1. 0. 0.]
 [1. 1. 0. 0.]
 [0. 0. 0. 0.]
 [0. 0. 0. 0.]]
角度为45度的线性偏振片穆勒矩阵: 
 [[1. 0. 1. 0.]
 [0. 0. 0. 0.]
 [1. 0. 1. 0.]
 [0. 0. 0. 0.]]
角度为-45度的线性偏振片穆勒矩阵: 
 [[ 1.  0. -1.  0.]
 [ 0.  0. -0.  0.]
 [-1. -0.  1.  0.]
 [ 0.  0.  0.  0.]]
角度为90度的线性偏振片穆勒矩阵: 
 [[ 1. -1.  0.  0.]
 [-1.  1. -0.  0.]
 [ 0. -0.  0.  0.]
 [ 0.  0.  0.  0.]]
快轴角度为0度的四分之一玻片穆勒矩阵: 
 [[ 1.    0.    0.    0.  ]
 [ 0.    1.    0.    0.  ]
 [ 0.    0.    0.71 -0.71]
 [ 0.    0.    0.71  0.71]]
快轴角度为90度的四分之一玻片穆勒矩阵: 
 [[ 1.    0.    0.    0.  ]
 [ 0.    1.   -0.    0.  ]
 [ 0.   -0.    0.71  0.71]
 [ 0.   -0.   -0.71  0.71]]
快轴角度为0度的半玻片穆勒矩阵: 
 [[ 1.  0.  0.  0.]
 [ 0.  1.  0.  0.]
 [ 0.  0.  0. -1.]
 [ 0.  0.  1.  0.]]
快轴角度为90度的半玻片穆勒矩阵: 
 [[ 1.  0.  0.  0.]
 [ 0.  1. -0.  0.]
 [ 0. -0.  0.  1.]
 [ 0. -0. -1.  0.]]
相关推荐
孟健1 天前
Karpathy 用 200 行纯 Python 从零实现 GPT:代码逐行解析
python
码路飞1 天前
写了个 AI 聊天页面,被 5 种流式格式折腾了一整天 😭
javascript·python
曲幽1 天前
FastAPI压力测试实战:Locust模拟真实用户并发及优化建议
python·fastapi·web·locust·asyncio·test·uvicorn·workers
敏编程1 天前
一天一个Python库:jsonschema - JSON 数据验证利器
python
前端付豪1 天前
LangChain记忆:通过Memory记住上次的对话细节
人工智能·python·langchain
databook1 天前
ManimCE v0.20.1 发布:LaTeX 渲染修复与动画稳定性提升
python·动效
花酒锄作田2 天前
使用 pkgutil 实现动态插件系统
python
前端付豪2 天前
LangChain链 写一篇完美推文?用SequencialChain链接不同的组件
人工智能·python·langchain
曲幽2 天前
FastAPI实战:打造本地文生图接口,ollama+diffusers让AI绘画更听话
python·fastapi·web·cors·diffusers·lcm·ollama·dreamshaper8·txt2img
老赵全栈实战2 天前
Pydantic配置管理最佳实践(一)
python