mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
bug fixed for filtering catalog
This commit is contained in:
parent
9b5961aca4
commit
76ea3567c8
4 changed files with 10 additions and 11 deletions
|
@ -55,8 +55,7 @@ def buildProfile(catalog, rMin, rMax):
|
|||
partTree = getPartTree(catalog)
|
||||
|
||||
print " Selecting voids to stack..."
|
||||
accepted = (catalog.voids[:].radius > rMin) & (catalog.voids[:].radius < rMax)
|
||||
voidsToStack = catalog.voids[accepted]
|
||||
voidsToStack = [v for v in catalog.voids if (v.radius > rMin and v.radius < rMax)]
|
||||
|
||||
print " Stacking voids..."
|
||||
allProfiles = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue