mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
79 lines
2.4 KiB
Python
79 lines
2.4 KiB
Python
import os
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# -----------------------------------------------------------------------------
|
|
# CONFIGURATION
|
|
|
|
# directory for the input simulation/observational particle files
|
|
catalogDir = os.getenv("HOME")+"/workspace/Voids/catalogs/multidark/"
|
|
|
|
# path to HOD code
|
|
hodPath = os.getenv("HOME")+"/projects/Voids/hod/HOD.x"
|
|
|
|
# where to put the final void catalog, figures, and output logs
|
|
voidOutputDir = os.getenv("HOME")+"/workspace/Voids/multidark/"
|
|
figDir = os.getenv("PWD")+"/../figs/multidark/"
|
|
logDir = os.getenv("PWD")+"/../logs/multidark/"
|
|
|
|
# where to place the pipeline scripts
|
|
scriptDir = os.getenv("PWD")+"/multidark/"
|
|
|
|
# simulation or observation?
|
|
dataType = "simulation"
|
|
|
|
# available formats for simulation: gadget, multidark
|
|
dataFormat = "multidark"
|
|
dataUnit = 1 # as multiple of Mpc/h
|
|
|
|
# place particles on the lightcone?
|
|
useLightCone = True
|
|
|
|
# common filename of particle files
|
|
particleFileBase = "mdr1_particles_z"
|
|
|
|
# list of file numbers for the particle files
|
|
# to get particle file name, we take particleFileBase+fileNum
|
|
fileNums = (("0.0", "0.53", "1.0"))
|
|
|
|
# redshift of each file in the above list
|
|
redshifts = (("0.0", "0.53", "1.0"))
|
|
|
|
# how many independent slices along the z-axis?
|
|
numSlices = 4
|
|
|
|
# how many subdivisions along the x- and y- axis?
|
|
# ( = 2 will make 4 subvolumes for each slice, = 3 will make 9, etc.)
|
|
numSubvolumes = 1
|
|
|
|
# prefix to give all outputs
|
|
prefix = "md_"
|
|
|
|
# list of desired subsamples - these are in unts of h Mpc^-3!
|
|
#subSamples = [0.0004]
|
|
subSamples = ((0.1, 0.05, 0.01, 0.002, 0.001, 0.0004, 0.0002))
|
|
|
|
# common filename of halo files
|
|
haloFileBase = "mdr1_halos_z"
|
|
|
|
# minimum halo mass cuts to apply for the halo catalog
|
|
# use "none" to get all halos
|
|
minHaloMasses = (("none", 2e12, 1.23e13))
|
|
|
|
# adjust these two parameters given the memory contraints on your system:
|
|
# numZobovDivisions: how many sub-volumes per dimension will zobov process
|
|
# numZobovThreads: how many sub-volumes to process at once?
|
|
numZobovDivisions = 2
|
|
numZobovThreads = 2
|
|
|
|
# simulation information
|
|
numPart = 1024*1024*1024
|
|
lbox = 1000 # Mpc/h
|
|
omegaM = 0.27
|
|
hubble = 0.70
|
|
|
|
# the mask file which is used by applyMaskToMock
|
|
maskFileName = os.getenv("HOME")+"/workspace/Voids/catalogs/boss/boss_mask_final.fits"
|
|
|
|
# END CONFIGURATION
|
|
# -----------------------------------------------------------------------------
|
|
# -----------------------------------------------------------------------------
|