mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
62 lines
1.8 KiB
Python
62 lines
1.8 KiB
Python
import os
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# -----------------------------------------------------------------------------
|
|
# CONFIGURATION
|
|
|
|
# directory for the input simulation/observational particle files
|
|
catalogDir = os.getenv("HOME")+"/workspace/Voids/catalogs/mock_dr9mid/"
|
|
|
|
# path to HOD code
|
|
hodPath = os.getenv("HOME")+"/projects/Voids/hod/HOD.x"
|
|
|
|
# path to mask
|
|
maskFile = os.getenv("HOME")+"/workspace/Voids/catalogs/boss/final_boss_mask.fits")
|
|
|
|
# where to put the final void catalog, figures, and output logs
|
|
voidOutputDir = os.getenv("HOME")+"/workspace/Voids/mock_dr9mid/"
|
|
figDir = os.getenv("PWD")+"/../figs/mock_dr9mid/"
|
|
logDir = os.getenv("PWD")+"/../logs/mock_dr9mid/"
|
|
|
|
# where to place the pipeline scripts
|
|
scriptDir = os.getenv("PWD")+"/mock_dr9mid/"
|
|
|
|
# simulation or observation?
|
|
dataType = "observation"
|
|
|
|
# available formats for simulation: gadget, multidark
|
|
dataFormat = "multidark"
|
|
dataUnit = 1 # as multiple of Mpc/h
|
|
|
|
# place particles on the lightcone?
|
|
useLightCone = True
|
|
|
|
# list of file numbers for the particle files
|
|
# to get particle file name, we take particleFileBase+fileNum
|
|
fileNums = (("0.53"))
|
|
|
|
# redshift range of the mock
|
|
redshiftRange = (0.53, 0.6)
|
|
|
|
# prefix to give all outputs
|
|
prefix = "mock_"
|
|
|
|
# common filename of halo files
|
|
haloFileBase = "mdr1_halos_z"
|
|
|
|
# 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
|
|
|
|
|
|
# END CONFIGURATION
|
|
# -----------------------------------------------------------------------------
|
|
# -----------------------------------------------------------------------------
|