switched variable name useLCDM to less confusing useComoving; make it sample-level rather than dataset-level

This commit is contained in:
P.M. Sutter 2013-12-19 12:38:05 -06:00
parent 34a32bfd2c
commit f268820a2e
8 changed files with 25 additions and 26 deletions

View file

@ -77,7 +77,7 @@ class Sample:
includeInHubble = True
partOfCombo = False
isCombo = False
useLCDM = False # if True, convert population to comoving coordinates
useComoving = False # if True, convert population to comoving coordinates
comboList = []
@ -99,7 +99,7 @@ class Sample:
comboList=(), profileBinSize=2.0, skyFraction=0.19,
boxLen=1024, usePecVel=False, omegaM=0.27,
numSubvolumes=1, mySubvolume=1, dataFormat="sdss",
useLCDM=False,
useComoving=False,
dataType="observation",
subsample=1.0, useLightCone=True, autoNumInStack=-1):
self.dataFile = dataFile
@ -130,7 +130,7 @@ class Sample:
self.subsample = subsample
self.useLightCone = useLightCone
self.dataUnit = dataUnit
self.useLCDM = useLCDM
self.useComoving = useComoving
self.autoNumInStack = autoNumInStack
self.stacks = []