Commits

Chris Mutel committed 33d16a2

0.2.1: Better bounds on Monte Carlo filter

  • Participants
  • Parent commits e706dc3

Comments (0)

Files changed (2)

File bw2analyzer/report.py

         mc_data.sort()
         # Filter outliers
         offset = int(self.outliers * mc_data.shape[0])
-        lower = mc_data[int(0.025 * self.iterations)]
-        upper = mc_data[int(0.975 * self.iterations)]
+        lower = mc_data[int(0.015 * self.iterations)]
+        upper = mc_data[int(0.985 * self.iterations)]
         mc_data = mc_data[offset:-offset]
         num_bins = max(
             100,
 
 setup(
   name='bw2analyzer',
-  version="0.2",
+  version="0.2.1",
   packages=["bw2analyzer", "bw2analyzer.tests"],
   author="Chris Mutel",
   author_email="cmutel@gmail.com",