pyfli.sp_analysis.spad_solvers#
Implement a Poisson-likelihood TV reconstructor for SPAD photon-count measurements.
This module belongs to pyfli.sp_analysis and is part of PyFLI single-pixel camera
basis generation, acquisition simulation, and reconstruction solvers. Public API
includes classes SPADPoissonReconstructor.
Classes
|
Reconstruct SPAD photon-count data with a Poisson likelihood and isotropic TV penalty. |
- class SPADPoissonReconstructor(h, w, t, lam, differential=True, alpha=0.1, maxiter=500, n_workers=None)[source]#
Bases:
BaseReconstructorReconstruct SPAD photon-count data with a Poisson likelihood and isotropic TV penalty. The solver is designed for low-count single-pixel acquisitions.
- Parameters:
h (
np.ndarray) – Image height or spatial dimension used by reconstruction solvers.w (
np.ndarray) – Image width or spatial dimension used by reconstruction solvers.t (
np.ndarray) – Temporal sample axis used by reconstruction solvers.lam (
np.ndarray) – Wavelength or spectral axis used by reconstruction solvers.differential (
bool) – Whether the sensing basis uses differential pattern pairs.alpha (
float) – Regularization strength or statistical threshold value, depending on context.maxiter (
int) – Maximum number of optimization iterations.n_workers (
int | None) – Number of worker processes or threads used by parallel solvers.