Skip to main content

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

  1. Create a virtual environment and install the package:
   python3 -m venv .venv
   source .venv/bin/activate
   pip install -r requirements.txt
   pip install -e .
  1. 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)

Source distribution for hologen 0.1.0
File Size Uploaded
hologen-0.1.0.tar.gz 25.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hologen 0.1.0
File Interpreter ABI Platform
hologen-0.1.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page