weighted volumes now propagate to pruning step

This commit is contained in:
Paul M. Sutter 2024-06-07 12:17:17 +02:00
parent 7e5a51d931
commit 78678881af
3 changed files with 14 additions and 5 deletions

View file

@ -79,6 +79,7 @@ class Sample:
omegaM = 0.27
minVoidRadius = -1
fakeDensity = 0.01
hasWeightedVolumes = False
profileBinSize = 2 # Mpc
autoNumInStack = -1 # set to >0 to automatically generate stacks of size N
autoPartInStack = -1 # set to >0 to automatically generate stacks with N particles
@ -104,7 +105,7 @@ class Sample:
zBoundary=(), zRange=(), zBoundaryMpc=(), boundaryWidth=0.1,
shiftSimZ=False,
minVoidRadius=-1, fakeDensity=0.01, volumeLimited=True,
numAPSlices=1,
numAPSlices=1, hasWeightedVolumes=False,
includeInHubble=True, partOfCombo=False, isCombo=False,
comboList=(), profileBinSize=2.0,
boxLen=1024, usePecVel=False, omegaM=0.27,
@ -126,6 +127,7 @@ class Sample:
self.zRange = zRange
self.minVoidRadius = minVoidRadius
self.fakeDensity = fakeDensity
self.hasWeightedVolumes = hasWeightedVolumes
self.volumeLimited = volumeLimited
self.includeInHubble = includeInHubble
self.partOfCombo = partOfCombo