Function normalize_psf
Source pub fn normalize_psf(psf: Array3<f64>) -> Array3<f64>
Expand description
Normalize PSF to unit sum.
Normalizes a PSF array so that the sum of all elements equals 1.0.
This ensures energy conservation in the PSF.
§Arguments
psf - 3D array containing PSF values
§Returns
The normalized PSF array