pyfli.simulator.sim_helper#
Provide sim helper tools for PyFLI synthetic FLI/FLIM data generation, hardware noise modeling, calibration, and validation tools.
This module belongs to pyfli.simulator and is part of PyFLI synthetic FLI/FLIM
data generation, hardware noise modeling, calibration, and validation tools. Public API
includes functions irf_picker().
Functions
|
Run the IRF picker routine. |
- irf_picker(irf_full, px=None)[source]#
Run the IRF picker routine.
- Parameters:
irf_full (
np.ndarray) – Full instrument response function sampled over the decay window.px (
tuple[int,int] | None) – Explicit(x, y)pixel to use whenirf_fullis 3-D, instead of picking one at random. Ignored whenirf_fullis 1-D.
- Returns:
The selected IRF array, and the
(x, y)pixel it came from — the givenpxif one was passed, the randomly chosen pixel otherwise, orNonewhenirf_fullis 1-D (there’s no pixel to report).- Return type:
tuple[np.ndarray,tuple[int,int] | None]