Loss Functions
DeconvOptim.Poisson
— FunctionPoisson()
Returns a function to calculate Poisson loss Check the help of poisson_aux
.
DeconvOptim.poisson_aux
— Functionpoisson_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
.
DeconvOptim.Gauss
— FunctionGauss()
Returns a function to calculate Gauss loss. Check the help of gauss_aux
.
DeconvOptim.gauss_aux
— Functiongauss_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
.
DeconvOptim.ScaledGauss
— FunctionScaledGauss()
Returns a function to calculate scaled Gauss loss. Check the help of scaled_gauss_aux
.
DeconvOptim.scaled_gauss_aux
— Functionscaled_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
.