Quickstart
The lasersafety library can be installed via PyPi:
pip install lasersafety
For other methods of installation, see Installation.
You can check that the package was correctly installed with
$ lasersafety --version
0.10.0
And you can directly use to compute the required scale number. The example below is for a 3 W 1550 nm laser with 50 ps pulses, and repetition rate of 80 MHz for a beam diameter of 2 mm:
$ lasersafety -p 3 -r 80e6 -t 50e-12 -w 1550e-9 -d 2e-3 en207
This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
In particular, you should ALWAYS check the results provided by this code before using them for
actual laser safety.
----------------------------------------
Laser information
Continuous: False
Wavelength: 1.55 μm
Repetition rate: 80.0 MHz
Average power: 3.0 W
Peak power: 750.0 W
Pulse duration: 50.0 ps
Pulse energy: 37.5 nJ
Beam diameter: 2.0 mm
Mode: M
Cross section area: 3.141592653589793e-06 m^2
Power density: 954929.6585513721 W/m^2
Peak power density: 238732414.63784304 W/m^2
Energy density: 0.011936620731892151 J/m^2
Corrected energy density: 2.007492316738256 J/m^2
Number of pulses in 10s: 800000000.0
----------------------------------------
EN207 analysis
1550.0 nm D LB3
1550.0 nm M LB1
See Usage for more information on how to use the package.