mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
bug fixes
This commit is contained in:
parent
3e75a1ee13
commit
a649b07b54
2 changed files with 2 additions and 1 deletions
|
@ -265,6 +265,7 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None,
|
||||||
zMax = sample.zBoundaryMpc[1]
|
zMax = sample.zBoundaryMpc[1]
|
||||||
|
|
||||||
boxVol = (xMax-xMin)*(yMax-yMin)*(zMax-zMin)
|
boxVol = (xMax-xMin)*(yMax-yMin)*(zMax-zMin)
|
||||||
|
nbar = 1.0
|
||||||
|
|
||||||
numTracers = int(open(zobovDir+"/mask_index.txt", "r").read())
|
numTracers = int(open(zobovDir+"/mask_index.txt", "r").read())
|
||||||
numTotal = int(open(zobovDir+"/total_particles.txt", "r").read())
|
numTotal = int(open(zobovDir+"/total_particles.txt", "r").read())
|
||||||
|
|
|
@ -25,7 +25,7 @@ import numpy as np
|
||||||
import os
|
import os
|
||||||
import pylab as plt
|
import pylab as plt
|
||||||
import void_python_tools.apTools as vp
|
import void_python_tools.apTools as vp
|
||||||
from void_python_tools.voidUtil import getArray
|
from void_python_tools.voidUtil import getArray, shiftPart
|
||||||
|
|
||||||
def fill_between(x, y1, y2=0, ax=None, **kwargs):
|
def fill_between(x, y1, y2=0, ax=None, **kwargs):
|
||||||
"""Plot filled region between `y1` and `y2`.
|
"""Plot filled region between `y1` and `y2`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue