Index: trunk/ippScripts/scripts/detrend_reject_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 9449)
+++ trunk/ippScripts/scripts/detrend_reject_imfile.pl	(revision 9451)
@@ -123,5 +123,5 @@
     push @means, $file->{bg};
     ## calculate the root-mean-square of the bd_stdevs
-    push @stdevs, $file->{bg_stdev}*$file->{bg_stdev};
+    push @stdevs, $file->{bg_mean_stdev}*$file->{bg_mean_stdev};
 }
 close $list1File;
