Loss Functions

DeconvOptim.poisson_aux — Function
poisson_aux(μ, meas, storage=similar(μ))

Calculates the Poisson loss for μ and meas. μ can be of larger size than meas. In that case we extract a centered region from μ of the same size as meas.

source
DeconvOptim.Gauss — Function
Gauss()

Returns a function to calculate Gauss loss. Check the help of gauss_aux.

source
DeconvOptim.gauss_aux — Function
gauss_aux(μ, meas, storage=similar(μ))

Calculates the Gauss loss for μ and meas. μ can be of larger size than meas. In that case we extract a centered region from μ of the same size as meas.

source
DeconvOptim.scaled_gauss_aux — Function
scaled_gauss_aux(μ, meas, storage=similar(μ); read_var=0)

Calculates the scaled Gauss loss for μ and meas. read_var=0 is the readout noise variance of the sensor. μ can be of larger size than meas. In that case we extract a centered region from μ of the same size as meas.

source