We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5289dd commit 49cd428Copy full SHA for 49cd428
shotNoiseK2.m
@@ -1,8 +1,9 @@
1
function [K2_shot] = shotNoiseK2(intensity,gain)
2
-%correctShotNoise Summary of this function goes here
3
-% speckleContrastSquared
4
-% intensity
5
-% gain (ADU/e-)
+%correctShotNoise calculates shot noise K2 from intensity and camera gain
+%(ADU/e-)
+% Inputs:
+% intensity = nx1 vector
6
+% gain (ADU/e-) = constant
7
8
offset = 1./intensity;
9
K2_shot = offset*gain;
0 commit comments