Beam Corset
Beam Corset is a Gaussian optics mode matching tool made for use in Jupyter notebooks.
Key Features
- Lens placement in multiple shifting regions
- Ensure minimal distances between lenses
- Constrain beam radius to ensure the beam fits through apertures
- Account for existing fixed lenses
- Detailed reachability and sensitivity analysis of solutions
Installation
Install from PyPI:
pip install beam-corset
Try Beam Corset in your browser with JupyterLite!
Links
- Documentation: https://lkies.github.io/corset
- Source Code: https://github.com/lkies/corset
- Issue Tracker: https://github.com/lkies/corset/issues
- PyPI: https://pypi.org/project/beam-corset/
- JupyterLite: https://lkies.github.io/corset/jp-lite
Information for Developers
This project is managed and built using Pixi, see their documentation for more information on dependency management and other features. To install the development environment for usage in Jupyter notebooks, run:
pixi install -e dev
The pyproject.toml file defines the following tasks:
build: Build the packagepublish: Publish the package to PyPIbuild-docs: Build the documentationbuild-jp-lite: Build the JupyterLite instance for the documentation (does not work properly on Windows)pages: Executesbuild-docsandbuild-jp-liteto build the web pages for GitHub Pages
Tasks can be executed with:
pixi run [task]
They will automatically be executed in their correct Python environment. Note that this only works if no environment has been activated with pixi shell -e [env].
To prevent committing notebook outputs to the repository and producing unnecessary diffs, set up the appropriate filters with the following shell commands.
git config filter.strip-notebook-output.clean 'pixi run -e dev jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'
git config filter.strip-notebook-output.smudge cat
git config filter.strip-notebook-output.required true
Metadata
Release files for beam-corset 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| beam_corset-0.6.1.tar.gz | 2.0 MB | Without provenance | Details for beam_corset-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| beam_corset-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for beam_corset-0.6.1-py3-none-any.whl |
Total release size: 2.0 MB
Release files / beam_corset-0.6.1.tar.gz
| Download URL | beam_corset-0.6.1.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d3254a2a3f364e4d30212f3ad4510a2205c5ef84688f955bf7f60ddd4adf94d
|
|
BLAKE2b-256 checksum How to use checksums |
fe59172fa2f0de10b0a2a750f0b2c0d2e2c43f43905e1bae4a03fdcb8c3b92bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / beam_corset-0.6.1-py3-none-any.whl
| Download URL | beam_corset-0.6.1-py3-none-any.whl |
|---|---|
| Size | 67.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93e7eb9c5327ec2a116ea65a7b5597766c199d3fa9e3294e82752729f1308fd6
|
|
BLAKE2b-256 checksum How to use checksums |
f63b30671d8d134a0eb2ea20347f03e1365f3347df9fbc79a998aefc936550ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Security for beam-corset 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.