locan.analysis.uncertainty.localization_precision_model_3#
- locan.analysis.uncertainty.localization_precision_model_3(intensity, psf_sigma, pixel_size, local_background)[source]#
Localization precision as function of intensity (I), PSF size (sigma_{PSF}), pixel size (a), background (b) according to:
\[ \begin{align}\begin{aligned}\sigma_{a} ^{2} = \sigma_{PSF} ^{2} + a^{2} / 12\\\tau = 2 * \pi * b * \sigma_{a} ^{2} / (I * a^{2})\\\sigma_{loc} ^{2} = \sigma_{a} ^{2} / I * (1 + 4 * \tau + \sqrt{2 * \tau / (1 + 4 * \tau) } )\end{aligned}\end{align} \]- Parameters:
intensity (
Union
[_SupportsArray
[dtype
[Any
]],_NestedSequence
[_SupportsArray
[dtype
[Any
]]],bool
,int
,float
,complex
,str
,bytes
,_NestedSequence
[Union
[bool
,int
,float
,complex
,str
,bytes
]]]) – Intensity valuespsf_sigma (
Union
[_SupportsArray
[dtype
[Any
]],_NestedSequence
[_SupportsArray
[dtype
[Any
]]],bool
,int
,float
,complex
,str
,bytes
,_NestedSequence
[Union
[bool
,int
,float
,complex
,str
,bytes
]]]) – The PSF sizepixel_size (
Union
[_SupportsArray
[dtype
[Any
]],_NestedSequence
[_SupportsArray
[dtype
[Any
]]],bool
,int
,float
,complex
,str
,bytes
,_NestedSequence
[Union
[bool
,int
,float
,complex
,str
,bytes
]]]) – Size of camera pixellocal_background (
Union
[_SupportsArray
[dtype
[Any
]],_NestedSequence
[_SupportsArray
[dtype
[Any
]]],bool
,int
,float
,complex
,str
,bytes
,_NestedSequence
[Union
[bool
,int
,float
,complex
,str
,bytes
]]]) – The local background
- Return type:
npt.NDArray[np.float64]