IDL> l_emccd_gain_n
electrons/data number= 15
black level to subtract from all images(leaving ~1000)= 0
Reading image : C:\CCD_Tests\[0]\file[1].fit   and       74 others: please wait.
        2560        1070
Signal Starting Intensity  :  1300
Signal Maximum Intensity:  1500
Fit parameters of A+Bx on signal histogram are:       23.3660   -0.0137003
Events detected above threshold in average 160,000 pixels patch are:
0.1 electron threshold gives CIC rate =       11.7790  % per pixel and looses  9% of events.Cut-off level (DN)=    1013
0.2 electron threshold gives CIC rate =       3.31607  % per pixel and looses 18% of events.Cut-off level (DN)=    1020
0.3 electron threshold gives CIC rate =       1.08703  % per pixel and looses 26% of events.Cut-off level (DN)=    1027
0.4 electron threshold gives CIC rate =      0.545125  % per pixel and looses 33% of events.Cut-off level (DN)=    1035
0.5 electron threshold gives CIC rate =      0.368406  % per pixel and looses 39% of events.Cut-off level (DN)=    1042
0.6 electron threshold gives CIC rate =      0.264550  % per pixel and looses 45% of events.Cut-off level (DN)=    1049
0.7 electron threshold gives CIC rate =      0.190931  % per pixel and looses 50% of events.Cut-off level (DN)=    1057
0.8 electron threshold gives CIC rate =      0.147488  % per pixel and looses 54% of events.Cut-off level (DN)=    1064
0.9 electron threshold gives CIC rate =      0.116194  % per pixel and looses 59% of events.Cut-off level (DN)=    1071
1.0 electron threshold gives CIC rate =     0.0930000  % per pixel and looses 63% of events.Cut-off level (DN)=    1078
1.5 electron threshold gives CIC rate =     0.0343563  % per pixel and looses 77% of events.Cut-off level (DN)=    1115
2.0 electron threshold gives CIC rate =     0.0153437  % per pixel and looses 86% of events.Cut-off level (DN)=    1151
  
Clock Induced Charge plus Dark Current Counts per Pixel:  
1%    at       0.328806 electrons threshold.
0.5%  at       0.479509 electrons threshold.
0.2%  at       0.780915 electrons threshold.
0.1%  at        1.06862 electrons threshold.
0.05% at        1.43853 electrons threshold.
One electron corresponds to DN =       1078.99
Peak on dark histogram is at DN=     1006
Camera gain         =       72.9913 ADU/electron.
Camera electric gain=       1094.87
End.
