mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Supports minimum halo mass cuts. Start of scripts to generate masked mock sets, some files added to later support more general preparation scripts
This commit is contained in:
parent
a53e3bf290
commit
10dfe29a26
9 changed files with 557 additions and 58 deletions
62
pipeline/datasets/mock_dr9mid.py
Normal file
62
pipeline/datasets/mock_dr9mid.py
Normal file
|
@ -0,0 +1,62 @@
|
|||
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
|
||||
# -----------------------------------------------------------------------------
|
||||
# -----------------------------------------------------------------------------
|
|
@ -52,6 +52,13 @@ prefix = "md_"
|
|||
#subSamples = [ 1.0 ]
|
||||
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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue