Holography dataset generation toolkit
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hologen-0.1.0.tar.gz.
File metadata
- Download URL: hologen-0.1.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee0d9fcb3b879ecdc90b4722975f106cd073e49a4793c5eefe54ffc4729e9c39
|
|
| MD5 |
d621e32aac4933a70438647f27c09ec7
|
|
| BLAKE2b-256 |
eb6e80f471081cf38ee2cf01e3b914f08589360498f5c9a8d0918a26eb240ff4
|
Provenance
The following attestation bundles were made for hologen-0.1.0.tar.gz:
Publisher:
python-publish.yml on electricalgorithm/hologen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hologen-0.1.0.tar.gz -
Subject digest:
ee0d9fcb3b879ecdc90b4722975f106cd073e49a4793c5eefe54ffc4729e9c39 - Sigstore transparency entry: 685941910
- Sigstore integration time:
-
Permalink:
electricalgorithm/hologen@8a42dc368711ff8806f75225183f8cbe514306f2 -
Branch / Tag:
refs/tags/0.1.0-ci-patch - Owner: https://github.com/electricalgorithm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8a42dc368711ff8806f75225183f8cbe514306f2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hologen-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hologen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b12b8104a17ed81c2aea167d62600d43868909e68d1fba6a5cde861eaa0476e
|
|
| MD5 |
d45e6c378b6be931368c68b588d8e6fc
|
|
| BLAKE2b-256 |
d81534ae1500d59103a1ee3d8bef1d179e4dfedec23067c3cc6f220efcb75f35
|
Provenance
The following attestation bundles were made for hologen-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on electricalgorithm/hologen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hologen-0.1.0-py3-none-any.whl -
Subject digest:
2b12b8104a17ed81c2aea167d62600d43868909e68d1fba6a5cde861eaa0476e - Sigstore transparency entry: 685941924
- Sigstore integration time:
-
Permalink:
electricalgorithm/hologen@8a42dc368711ff8806f75225183f8cbe514306f2 -
Branch / Tag:
refs/tags/0.1.0-ci-patch - Owner: https://github.com/electricalgorithm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@8a42dc368711ff8806f75225183f8cbe514306f2 -
Trigger Event:
release
-
Statement type: