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.10.0.tar.gz (11.6 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.10.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lasersafety-0.10.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.14.10-arch1-1

File hashes

Hashes for lasersafety-0.10.0.tar.gz
Algorithm Hash digest
SHA256 5fdad99c49d27ec05e243ad0a108633694abf66c82fa03cfcff89d2407d4237e
MD5 1af5d848577899ef5fa2291e6296c626
BLAKE2b-256 6914e5410bc2969682f3f169a810b86c452d21c1d75a2b8de89122a2abcc7e2e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lasersafety-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55165dc2cb2b637cbf1ef9e0d3235fc3e197508a78e6d890d342dada280f2585
MD5 9788a513db9bad697a3938776a4c6e21
BLAKE2b-256 d0c5141081eadf64da6fb175f708d4ad855702e53ac4c1ac009ab6107b0eecf9

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