GaussMLE.GaussLib
Overview
GaussMLE.GaussLib — ModuleGaussLibLow level functions for calcualting the Gaussian model and its derivatives.
API
GaussMLE.GaussLib.center_of_mass_2dGaussMLE.GaussLib.compute_alphaGaussMLE.GaussLib.derivative_alpha_zGaussMLE.GaussLib.derivative_integral_gaussian_1dGaussMLE.GaussLib.derivative_integral_gaussian_1d_sigmaGaussMLE.GaussLib.derivative_integral_gaussian_2d_sigmaGaussMLE.GaussLib.gaussian_max_min_2dGaussMLE.GaussLib.integral_gaussian_1dGaussMLE.GaussLib.second_derivative_alpha_z
GaussMLE.GaussLib.center_of_mass_2d — Methodcenter_of_mass_2d(sz::Int, data::Array{T}) where T <: RealCompute the center of mass of a square 2D data array.
GaussMLE.GaussLib.compute_alpha — Methodcompute_alpha(z::T, Ax::T, Bx::T, d::T) where T <: RealCompute the alpha value based on the given parameters.
GaussMLE.GaussLib.derivative_alpha_z — Methodderivative_alpha_z(z::T, Ax::T, Bx::T, d::T) where T <: RealCompute the derivative of alpha with respect to z.
GaussMLE.GaussLib.derivative_integral_gaussian_1d — Methodderivative_integral_gaussian_1d(ii::Int, x::T, sigma::T, N::T, PSFy::T) where T <: RealCompute the derivative of the integral of a 1D Gaussian function with respect to x.
GaussMLE.GaussLib.derivative_integral_gaussian_1d_sigma — Methodderivative_integral_gaussian_1d_sigma(i::Int, x::T, Sx::T, N::T, PSFy::T) where T <: RealCompute the derivative of the integral of a 1D Gaussian function with respect to sigma.
GaussMLE.GaussLib.derivative_integral_gaussian_2d_sigma — Methodderivative_integral_gaussian_2d_sigma(i::Int, j::Int, x::T, y::T, S::T, N::T, PSFx::T, PSFy::T) where T <: RealCompute the derivative of the integral of a 2D Gaussian function with respect to sigma.
GaussMLE.GaussLib.gaussian_max_min_2d — Methodgaussian_max_min_2d(sz::Int, sigma::T, data::Array{T}) where T <: RealCompute the maximum and minimum values after applying a Gaussian filter to a 2D data array.
GaussMLE.GaussLib.integral_gaussian_1d — Methodintegral_gaussian_1d(ii::Int, position::T, sigma::T) where T <: RealCalculate the integral of a 1D Gaussian function.
GaussMLE.GaussLib.second_derivative_alpha_z — Methodsecond_derivative_alpha_z(z::T, Ax::T, Bx::T, d::T) where T <: RealCompute the second derivative of alpha with respect to z.