mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
added density contrast filter
This commit is contained in:
parent
8446f25ee6
commit
792190ccc5
1 changed files with 7 additions and 0 deletions
|
@ -500,6 +500,13 @@ def filterVoidsOnCoreDen(catalog, maxCoreDen):
|
|||
|
||||
return catalog
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
def filterVoidsOnDenCon(catalog, minDenCon):
|
||||
catalog.voids = [v for v in catalog.voids if v.densCon >= minDenCon]
|
||||
|
||||
return catalog
|
||||
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
def stackVoids(catalog, stackMode = "ball"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue