线宽单位(nm-MHz-cm^-1)转换程序

发布时间:2018-07-01 18:22:07   来源:文档文库   
字号:
激光线宽不同表达方式之间的转换 下面是转换激光线宽的Matlab程序(LaserLineWidth.m). 需要知道激光波长(比如632.8 nm); 需要输入线宽用波长, 频率, 或者波数表示的值(只能输入3个中的1个, 其他两个赋值为‐1.)% LaserLineWidth.m% This program is to convert laser linewidth between different forms:% wavelength(nm),frequency(MHz) and wavenumber(cm^-1)% laser line wavelength must be known.% Input one of the three forms of linewidth only, leave the other two -1.% Units:<><><>wavelength:nm, frequency:MHz, wavenumber:cm^-1<><><>clear all;clc;format long gcc=3e8; % speed of light in m/s.lambda=632.8; %wavelength in nm%Please provide one of the following 3 quantities,leave the other two "-1":%<><><><><><><><><><><><><><><><><><><><><><><><><>%Deltalambda=-1; % linewidth in wavelength (nm)Deltanu=1500; % linewidth in frequency (MHz=1e6Hz)Deltanubar=-1; % linewidth in wavenumber (cm^-1)%<><><><><><><><><><><><><><><><><><><><><><><><><>%if Deltalambda > 0Deltanu=(cc/lambda^2)*Deltalambda*1e9*1e-6;%use 1e9 to convert 1/nm to 1/m; use 1e-6 to convert Hz to MHzDeltanubar=(1/lambda^2)*Deltalambda*1e7;%use 1e7 to convert 1/nm to 1/cmendif Deltanu > 0Deltalamda=(lambda^2/cc)*Deltanu*1e-9*1e6;

本文来源:https://www.2haoxitong.net/k/doc/d27589a0a32d7375a41780ef.html

《线宽单位(nm-MHz-cm^-1)转换程序.doc》
将本文的Word文档下载到电脑,方便收藏和打印
推荐度:
点击下载文档

文档为doc格式