random_psf_smearer

lstchain.image.modifier.random_psf_smearer(image, fraction, indices, indptr)

Random PSF smearer

Parameters:
image: `np.ndarray`

Charges (p.e.) in the camera

indicescamera_geometry.neighbor_matrix_sparse.indices

Pixel indices.

indptrcamera_geometry.neighbor_matrix_sparse.indptr
fraction: `float`

Fraction of the light in a pixel that will be distributed among its immediate surroundings, i.e. immediate neighboring pixels, according to Poisson statistics. Some light is lost for pixels which are at the camera edge and hence don’t have all possible neighbors

Returns:
new_image: np.ndarray

Modified (smeared) image