HoloGen: Synthetic Hologram Dataset Toolkit
The HoloGen toolkit generates paired object-domain images and their inline or off-axis holograms for machine learning workflows.
Features
- Binary object-domain sample generation with diverse analytic shapes
- Strategy-based hologram creation supporting inline and off-axis methods
- Reconstruction pipeline for object-domain recovery from holograms
- Dataset writer for NumPy bundles and preview imagery
Quickstart
- Create a virtual environment and install the package:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e .
- Generate a sample dataset:
python scripts/generate_dataset.py
The default dataset is written to the dataset/ directory with both .npz tensors and PNG previews.
Configuration
Key parameters reside in scripts/generate_dataset.py. Adjust them to change:
- Grid resolution and pixel pitch
- Optical wavelength and propagation distance
- Holography method (inline or off-axis)
- Carrier parameters for off-axis holography
Licensing
Released under the MIT License. See LICENSE for details.
Metadata
Release files for hologen 0.1.0
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 |
|---|---|---|---|---|
| hologen-0.1.0.tar.gz | 25.8 kB | With provenance | Details for hologen-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hologen-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hologen-0.1.0-py3-none-any.whl |
Total release size: 41.5 kB
Release files / hologen-0.1.0.tar.gz
| Download URL | hologen-0.1.0.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee0d9fcb3b879ecdc90b4722975f106cd073e49a4793c5eefe54ffc4729e9c39
|
|
BLAKE2b-256 checksum How to use checksums |
eb6e80f471081cf38ee2cf01e3b914f08589360498f5c9a8d0918a26eb240ff4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2025.
Transparency logRelease files / hologen-0.1.0-py3-none-any.whl
| Download URL | hologen-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b12b8104a17ed81c2aea167d62600d43868909e68d1fba6a5cde861eaa0476e
|
|
BLAKE2b-256 checksum How to use checksums |
d81534ae1500d59103a1ee3d8bef1d179e4dfedec23067c3cc6f220efcb75f35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2025.
Transparency logSecurity for hologen 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hologen-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2025.
Transparency logA 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.