Changelog¶
0.1.0 (unreleased)¶
First consolidated release.
Added¶
- Light-field reconstruction from LF4D-Recon: sub-aperture PSFs (
pysrx.optics), z-chunked FFT forward and adjoint operator (pysrx.forward), Richardson-Lucy with optional TV and MAP solvers (pysrx.solvers), hash-grid neural field (pysrx.field), forward simulation with camera noise (pysrx.simulate). pysrx.metrics: one metrics library absorbing SR-Metrics and the LF4D benchmark metrics (resolution, fidelity, sharpness, noise, axial extent), with golden-value regression tests.- CI (lint, CPU tests) and tagged releases with wheel, sdist and the site zip.
- Public guide at https://pysrx.pages.dev/ (Cloudflare Pages), styled as the Wavu and pyHisto guides:
.github/workflows/docs.ymlbuilds it strictly with the slides and a leak check on every pull request and deploys it frommain.
Fixed (relative to SR-Metrics)¶
- Normalisation bug:
img1was normalised bymax(img1) - min(img2)instead ofmax(img1) - min(img1), which biased every fidelity metric whenever the two images had different minima. - Mutual information is vectorised (joint histogram in one pass) instead of looping over bins.
- FRC is unified into a single implementation; the
FRC_SR_METRICSpreset reproduces the SR-Metrics settings so old numbers can be regenerated.