Wavelength Calculator

Category: Math functions & Calculations
Description: A simple function to calculate the relativistic wavelength of electrons from and accelerating voltage (in kV). The wavelength is reported in metres and Angstroms.
Comments: There is a limitation (or conflict) in User Defined Language with DM script. The operation "/" and "*" cannot be defined as operators in Notepad++ once we define "/*" and "*/" as comment block markers. So I have left "/" and "*" out from the operator list
Script version: 1.0
DM/GMS version: 3.11
Script written as a function: Yes
Source: Show code
Download Source Code: Download
Download Zip File: Download