Index: trunk/psModules/src/detrend/pmShutterCorrection.c
===================================================================
--- trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 10725)
+++ trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 10859)
@@ -226,5 +226,7 @@
     line->coeff[1][1] = 0;
 
-    psStats *stats = psStatsAlloc(0);
+    // the stats structure determines how the clipping statistic is measured
+    // too few points to use the robust analysis method
+    psStats *stats = psStatsAlloc (PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV);
     stats->clipSigma = rej;
     stats->clipIter = nIter;
