# Constants
c = 3e8 #light speed
Pi = 100e-3 #Input optical power(100mW)
a = mp.mpf("3e-6") # Radius of particles (3um)
n_p = mp.mpf("1.5") # Refractive index of particles (glass)
n_m = mp.mpf("1.33") # Refractive index of medium (water)
n_i = mp.mpf("1.515") # Refractive index of medium (oil)
NA = mp.mpf("1.25") # Numerical aperture (objective)
f = mp.mpf("0.3e-3") # Focal length of objective (WD0.13+Coverslip0.17mm)
# Compute parameters
sin_theta0 = NA / n_i
cos_theta0 = mp.sqrt(1 - sin_theta0**2)
tan_theta0 = sin_theta0 / cos_theta0
r0 = f * tan_theta0 # Maximum radial extent
#Build a 3D model with uneven power based on the above parameters using Ashkin scattering formulas.
#...
结果如下:
可以看到,靠近激光光源一侧的光壁实际上比另一侧更强。进入方式一旦不对,就无法形成稳定的捕获。如果在颗粒位于 z 轴上如下位置时打开激光 $z < -7.5$ um,就会发生这种情况: