Nonlinear Fiber Optics and Optical Pulse Propagation Split-Step Fourier Simulator in MoonBit
moon version --all
moon fmt --check
moon check --target all --deny-warn
moon test --target all --deny-warn
moon run src/mainmoon infomoon run src/mainsrc/
├── types/ # 复数、矩阵、张量、物理模型与单位
├── fft/ # FFT、DCT、STFT 基础算子与窗函数
├── pulse/ # 脉冲生成、变换、噪声和脉冲列
├── fiber/ # 色散、材料、损耗、Raman 和光纤模型
├── ssfm/ # SSFM、RK4IP、高阶和自适应求解器
├── amplifier/ # 掺杂光纤、增益和 ASE 模型
├── vector_nlse/ # 矢量 NLSE、PMD、XPM 和 Stokes 分析
├── supercontinuum/ # 超连续谱传播、相干性和带宽分析
├── analyzer/ # 脉冲、频谱、时频和相干性诊断
├── viz/ # 纯 MoonBit SVG 渲染器
└── main/ # 可执行 CLI 和固定基准入口moon version --all
moon run src/mainmoon fmt
moon check --target all --deny-warn
moon test --target all --deny-warn
moon infoInstall
Download zipNonlinear Fiber Optics and Optical Pulse Propagation Split-Step Fourier Simulator in MoonBit