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.1.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.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lasersafety-0.10.1.tar.gz
Algorithm Hash digest
SHA256 51d8835df6460719091b12921dc45e7fbed6f49c669dfb7471880fb52fad6d03
MD5 cb9ad9e3efce655b1b37c41884957012
BLAKE2b-256 e5dec714fdefc646c87ec7f4dea246e97ce42654a674bba870738418a1b4a549

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lasersafety-0.10.1-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.7 Linux/6.16.7-arch1-1

File hashes

Hashes for lasersafety-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0334da4119d817fbb4ec80da2fe4d5cf37f038c871f20ce6578d59f9473b7ff3
MD5 8355b42400b421812f03ed2690c05d29
BLAKE2b-256 ec97217849999b4ddbb0fe9ec56cfc7f1555a57f440757e0c852288148e5362c

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