mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
added new core-density filter
This commit is contained in:
parent
6034d6fb28
commit
8446f25ee6
1 changed files with 6 additions and 0 deletions
|
@ -494,6 +494,12 @@ def filterVoidsOnCentralDen(catalog, maxCentralDen):
|
|||
|
||||
return catalog
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
def filterVoidsOnCoreDen(catalog, maxCoreDen):
|
||||
catalog.voids = [v for v in catalog.voids if v.coreDens <= maxCoreDen]
|
||||
|
||||
return catalog
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
def stackVoids(catalog, stackMode = "ball"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue