Index: trunk/ippTests/ippCheck/camstats.pro
===================================================================
--- trunk/ippTests/ippCheck/camstats.pro	(revision 42125)
+++ trunk/ippTests/ippCheck/camstats.pro	(revision 42628)
@@ -216,6 +216,15 @@
  vstat -q numFound; $Nfound = $TOTAL
  vstat -q numGood;  $Ngood  = $TOTAL
- 
- fprintf "%d of %d total sources detected, %d unmasked" $Nfound $Ntotal $Ngood
+ vstat -q numPoss;  $Nposs  = $TOTAL
+ 
+ fprintf "%d of %d total sources detected, %d unmasked and %d possible" $Nfound $Ntotal $Ngood $Nposs
+
+ subset tmp = numTotal  where (magBin > 15) && (magBin < 20); vstat -q tmp; $numBrightTotal  = $TOTAL
+ subset tmp = numPoss  where (magBin > 15) && (magBin < 20); vstat -q tmp; $numBrightPoss  = $TOTAL
+ subset tmp = numFound where (magBin > 15) && (magBin < 20); vstat -q tmp; $numBrightFound = $TOTAL
+ subset tmp = numGood  where (magBin > 15) && (magBin < 20); vstat -q tmp; $numBrightGood  = $TOTAL
+
+ fprintf "%d of %d total bright sources detected, %d unmasked and %d possible" $numBrightFound $numBrightTotal $numBrightGood $numBrightPoss
+
 
  legend.init 0.02 0.95 0.03 0.02
