mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
bug fixes for consolidation of catalog output
This commit is contained in:
parent
d6a939d2cf
commit
8e6c9d3bed
2 changed files with 4 additions and 2 deletions
|
@ -345,6 +345,7 @@ def loadVoidCatalog(sampleDir,
|
|||
densCon = line[9],
|
||||
voidProb = line[10],
|
||||
# below values to be read in or computed later
|
||||
macrocenter = np.zeros((3)),
|
||||
radius = 0.,
|
||||
redshift = 0,
|
||||
RA = 0,
|
||||
|
@ -421,8 +422,9 @@ def loadVoidCatalog(sampleDir,
|
|||
|
||||
else:
|
||||
print("Loading version-2 voids...")
|
||||
fileName = sampleDir+"/"+prefix+"voidDatabase_"+sample.fullName+".out"
|
||||
fileName = sampleDir+"/voidDatabase_"+sample.fullName+".out"
|
||||
|
||||
catData = np.loadtxt(fileName, comments="#")
|
||||
catalog.voids = []
|
||||
for line in catData:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue