mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
bug fix in profiles
This commit is contained in:
parent
c180c23a05
commit
dda60f3b28
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def buildProfile(catalog, rMin, rMax):
|
|||
for void in voidsToStack:
|
||||
center = void.barycenter
|
||||
|
||||
localPart = catalog.partData[ getBall(partTree, center, rMaxProfile) ]
|
||||
localPart = catalog.partPos[ getBall(partTree, center, rMaxProfile) ]
|
||||
shiftedPart = shiftPart(localPart, center, periodicLine, catalog.ranges)
|
||||
|
||||
dist = np.sqrt(np.sum(shiftedPart[:,:]**2, axis=1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue