This commit is contained in:
P.M. Sutter 2014-05-21 08:49:01 -04:00
commit eb7b0a8d44
3 changed files with 1 additions and 5 deletions

View file

@ -21,8 +21,6 @@
import os
from numpy import abs
import matplotlib
matplotlib.use('Agg')
LIGHT_SPEED = 299792.458

View file

@ -32,8 +32,6 @@ import shutil
import glob
import subprocess
import sys
import matplotlib
matplotlib.use('Agg')
from pylab import figure
from netCDF4 import Dataset
from void_python_tools.backend.classes import *

View file

@ -76,7 +76,7 @@ def buildProfile(catalog, rMin, rMax):
binCenters = 0.5*(radii[1:] + radii[:-1])
nVoids = len(voidsToStack)
stackedProfile = np.std(allProfiles, axis=0) / np.sqrt(nVoids)
stackedProfile = np.mean(allProfiles, axis=0)
sigmas = np.std(allProfiles, axis=0) / np.sqrt(nVoids)
return binCenters, stackedProfile, sigmas