Debug - numpy.load()
Problem 12345678910111213import numpy as npimport multiprocessing as mpclass A: def __init__(self): lock = mp.Manager().Lock() def save(self): np.save('./dict.npy', self.__dict__)a_clas...Debug - Multiple copies of the OpenMP runtime
Problem 12345678910111213import numpy as npfrom scipy.integrate import quadimport mphimport multiprocessing as mpdef f(args): quad(func, a, b)if __name__=='__main__': with mp.Pool() as po...Enhancement of PCSEL performance with filling factor and etching depth tuning
Introduction The photonic crystal surface emitting laser (PCSEL), which has circular beam patterns, low divergence angles, high output power, and single-mode operation, is a novel architecture of s...20240117-CWT Reproduce
参考文献[1] 复现参数 Layer Thickness (μm\mu mμm) Dielectric constant n-clad(AlGaAs) 1.5 11.0224 Active 0.0885 12.8603 PC 0.1180 ϵav\epsilon_{av}ϵav GaAs 0.0590 12.7449 p-clad(AlGaAs) 1.5 11...申请自己的giffgaff
简单的申请教程,免费拥有自己的英国电话卡
Lumerical MODE进行平面平板波导仿真
At The Start Maybe you need to read: Planar Slab Waveguide Layout Mode 对于980nm波长,以以下参数进行建模: Material Thickness (μm) Refractive Index Air 0.5 1 GaAs 0.1 3.4824 Al0.4GaAs 0.36 3.2744 A...在Next Script中嵌入Google Analytics
Problem 笔者基于已有的库部署了ChatGPT-Next-Web,希望添加Google Analytics用来查看用户使用情况。 Solution 参考官网的说明Next Script for Google Analytics | Next.js (nextjs.org)。 If you are using the gtag.js script to add analytics, u...CWT in PCSEL
old version here Introduction of Coupled-Wave Theory Photonic crystal surface-emitting lasers (PCSELs) can realize one-chip, ultra-large-area, coherent semiconductor lasers. However, it is difficu...conda安装及配置
What is conda Anaconda开发的Conda是一个优秀的python包管理器,可以快速解决包的版本依赖问题。同时,利用anaconda安装的python,预置了一系列对科研有用的python包如NumPy、SciPy等。 Install Anaconda can be Free Downloaded. When Install, it is ok to take all se...在vscode-jupyter中使用可交互matplotlib
Problem VSCode中集成的Jupyter Notebook使用非常方便,但是使用matplotlib默认绘制的图是直接呈现的PNG,失去了很多backend特性,不能交互,很不方便。 Solution 实际上Microsoft已经给出相关说明,见相关GitHub Wiki。 VS code should work with these two options (has been ...