Skip to main content

A package for the computations of EN207 and EN208

Project description

LaserSafety

Documentation Status Github - License Github - Release PyPI - Version Code style: black Linting with pylint Checked with mypy Python Version Coverage coverage Docstr coverage

The goal of this project is to perform the computations related to the EN207 and EN208 standards to choose eyewear. For instance, if you have a 3 W 1550 nm laser, producing 50 picosecond pulses at a rate of 80 MHz. The accessible beam diameter is 2 mm. This library makes it as simple as

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

Meaning that we require D LB3 + M LB1 at 1550 nm.

Disclaimer

This work results from my own understanding of these standards. While I believe that I have understood the principles of the computation, I may be wrong and errors may have been introduced in transcripting this understanding into code.

All the results from this package should be checked by trained and competent personal, and used at your own risk. I decline any responsibility and provide no warranty on my program.

Documentation

The documentation of this package is available at https://lasersafety.readthedocs.io.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lasersafety-0.9.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lasersafety-0.9.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file lasersafety-0.9.0.tar.gz.

File metadata

  • Download URL: lasersafety-0.9.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.14.4-arch1-2

File hashes

Hashes for lasersafety-0.9.0.tar.gz
Algorithm Hash digest
SHA256 794378dfeac916d68c71a47747415482929e82052cb4e9d17e00c0ddc7d67eb4
MD5 9666c3691be105bc6521e9238b7c21ac
BLAKE2b-256 5ffc715715c5eaf9518057bc5c5fc18581fd9ef41196df7e062980b6b03af44b

See more details on using hashes here.

File details

Details for the file lasersafety-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: lasersafety-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.14.4-arch1-2

File hashes

Hashes for lasersafety-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecb0706b449dfb99bc7f5101fe9a8f345104e6a0e7bae9d80dfe9116380c47fa
MD5 fb96507a853075b3e9dc62f38e02daf2
BLAKE2b-256 af7c2f71d0804331642a9012d3a201e823c2c52a7e58a76a59b0218d6d70783f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page