QuentinWach/beamz-notebooks
Example notebooks for BEAMZ ๐.
BEAMZ Notebooks
A curated collection of interactive Jupyter notebooks for learning about optics, photonics, and laser physics.
Live site: https://quentinwach.com/beamz-notebooks/
How Do I Contribute?
- Fork this repository
- Create a new branch and add your
.ipynbfile to thenotebooks/directory - Include the metadata cell (cell 2) with at least your author name
- Open a pull request against
mainfor review - Once merged, the site auto-deploys via GitHub Actions
Notebook Format
Each notebook should follow this structure:
Cell 1 โ Title & Description (markdown)
# Your Notebook Title
A brief description of what this notebook demonstrates.Cell 2 โ Metadata (markdown, optional)
**Author:** Your Name
**Published:** 2025-01-15
**Updated:** 2025-02-01
**Tags:** Simulation, OptimizationAll fields are optional. Tags are comma-separated and drive the homepage filter pills. If omitted, the author defaults to "Unknown", dates default to the file's modification time, and tags default to none.
You can also drag & drop a preview image into this cell as a Jupyter cell attachment:
**Author:** Your Name
**Published:** 2025-01-15
**Tags:** Simulation, Visualization
If no preview image is attached, the build system automatically uses the first image output from any code cell.
This metadata cell is not rendered on the website โ it's only used to populate the gallery card and notebook header.
Remaining cells โ Your content
Write your notebook as usual. The build system extracts the title, description, and category from the first cell, and generates syntax-highlighted code and rendered outputs for the site.