mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Merge branch 'master' of https://bitbucket.org/cosmicvoids/vide_public
This commit is contained in:
commit
eb7b0a8d44
3 changed files with 1 additions and 5 deletions
|
@ -21,8 +21,6 @@
|
|||
|
||||
import os
|
||||
from numpy import abs
|
||||
import matplotlib
|
||||
matplotlib.use('Agg')
|
||||
|
||||
LIGHT_SPEED = 299792.458
|
||||
|
||||
|
|
|
@ -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 *
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue