mirror of
https://github.com/hoellin/selfisys_public.git
synced 2025-06-07 16:41:11 +00:00
Initial commit: v0.1.0
This commit is contained in:
commit
c041384662
172 changed files with 45744 additions and 0 deletions
44
submit/step0a.sh
Normal file
44
submit/step0a.sh
Normal file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
|
||||
export OMP_NUM_THREADS=8
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step0a.py" \
|
||||
--wd_ext dev/ \
|
||||
--name run1 \
|
||||
--size 64 \
|
||||
--Np0 64 \
|
||||
--Npm0 64 \
|
||||
--L 3600 \
|
||||
--S 32 \
|
||||
--Pinit 50 \
|
||||
--Nnorm 2 \
|
||||
--total_steps 10 \
|
||||
--sim_params "custom19COLA20" \
|
||||
--aa 0.05 0.1 0.4 1 \
|
||||
--Ne 150 \
|
||||
--Ns 3 \
|
||||
--OUTDIR $SELFISYS_OUTPUT_PATH \
|
||||
--radial_selection "multiple_lognormal" \
|
||||
--selection_params 0.1150 0.1492 0.1818 0.1500 0.4925 0.8182 1 1 1 \
|
||||
--survey_mask_path $SELFISYS_OUTPUT_PATH"expl_notebooks/surveymask/raw_mask_N64.npy" \
|
||||
--lin_bias 1.47 1.99 2.32 \
|
||||
--prior "planck2018" \
|
||||
--nsamples_prior 10000 \
|
||||
--noise 0.1 \
|
||||
--force True
|
||||
|
||||
exit 0
|
28
submit/step0b.sh
Normal file
28
submit/step0b.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
ii_array=-1
|
||||
# ii_array=( $(seq 0 1 ) )
|
||||
# ii_array=( $(seq 0 9 ) )
|
||||
|
||||
export OMP_NUM_THREADS=8
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step0b.py" \
|
||||
--pool_path $SELFISYS_OUTPUT_PATH"dev/643600502/run1/data/" \
|
||||
--ii ${ii_array[@]} \
|
||||
--npar 1 \
|
||||
--force False
|
||||
|
||||
exit 0
|
25
submit/step0c.sh
Normal file
25
submit/step0c.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
|
||||
export OMP_NUM_THREADS=8
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step0c.py" \
|
||||
--wd $SELFISYS_OUTPUT_PATH"dev/643600502/run1/" \
|
||||
--npar_norm 1 \
|
||||
--survey_mask_path $SELFISYS_OUTPUT_PATH"expl_notebooks/surveymask/raw_mask_N64.npy" \
|
||||
--force False
|
||||
|
||||
exit 0
|
25
submit/step0d.sh
Normal file
25
submit/step0d.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
export OMP_NUM_THREADS=8
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step0d.py" \
|
||||
--wd $SELFISYS_OUTPUT_PATH"dev/643600502/run1/" \
|
||||
--survey_mask_path $SELFISYS_OUTPUT_PATH"expl_notebooks/surveymask/raw_mask_N64.npy" \
|
||||
--name_obs obs \
|
||||
--reset_window_function True \
|
||||
--force_obs True
|
||||
|
||||
exit 0
|
27
submit/step0e.sh
Normal file
27
submit/step0e.sh
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
export OMP_NUM_THREADS=1
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step0e.py" \
|
||||
--wd $SELFISYS_OUTPUT_PATH"dev/643600502/run1/" \
|
||||
--N_THREADS 8 \
|
||||
--prior "planck2018" \
|
||||
--nsamples_prior 100 \
|
||||
--survey_mask_path $SELFISYS_OUTPUT_PATH"expl_notebooks/surveymask/raw_mask_N64.npy" \
|
||||
--name_obs obs \
|
||||
--force_recompute_prior False
|
||||
|
||||
exit 0
|
36
submit/step1.sh
Normal file
36
submit/step1.sh
Normal file
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
# Run the Simbelmynë simulations at expansion point (all sims if
|
||||
# pp_array=-1, selected sims otherwise).
|
||||
|
||||
dir_array=0
|
||||
|
||||
pp_array=-1
|
||||
# pp_array=( $(seq 0 50 ) )
|
||||
# pp_array=( $(seq 495 499 ) )
|
||||
|
||||
export OMP_NUM_THREADS=1 # number of threads per process e.g. number of
|
||||
# threads per Simbelmynë simulation
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step1_2.py" \
|
||||
--pool_path $SELFISYS_OUTPUT_PATH"dev/643600502/run1/pool/" \
|
||||
--directions ${dir_array[@]} \
|
||||
--pp ${pp_array[@]} \
|
||||
--Npop 3 \
|
||||
--npar 8 \
|
||||
--force True
|
||||
|
||||
exit 0
|
37
submit/step2.sh
Normal file
37
submit/step2.sh
Normal file
|
@ -0,0 +1,37 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
# Run the Simbelmynë simulations in the directions dir_array of the
|
||||
# parameter space, (all sims if pp_array=-1, selected sims otherwise).
|
||||
|
||||
dir_array=( $(seq 1 32 ) )
|
||||
# dir_array=( $(seq 62 64 ) )
|
||||
# dir_array=( $(seq 1 64 ) )
|
||||
|
||||
pp_array=-1
|
||||
# pp_array=( $(seq 0 1 ) )
|
||||
# pp_array=( $(seq 0 9 ) )
|
||||
|
||||
export OMP_NUM_THREADS=1
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step1_2.py" \
|
||||
--pool_path $SELFISYS_OUTPUT_PATH"dev/643600502/run1/pool/" \
|
||||
--directions ${dir_array[@]} \
|
||||
--pp ${pp_array[@]} \
|
||||
--Npop 3 \
|
||||
--npar 8 \
|
||||
--force True
|
||||
|
||||
exit 0
|
51
submit/step3.sh
Normal file
51
submit/step3.sh
Normal file
|
@ -0,0 +1,51 @@
|
|||
#!/bin/bash
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2024 Tristan Hoellinger
|
||||
# Distributed under the GNU General Public License v3.0 (GPLv3).
|
||||
# See the LICENSE file in the root directory for details.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
# Author: Tristan Hoellinger
|
||||
# Version: 0.1
|
||||
# Date: 2024
|
||||
# License: GPLv3
|
||||
|
||||
eval "$(conda shell.bash hook)"
|
||||
conda activate simbel
|
||||
|
||||
# Notes:
|
||||
# - One shall use "recompute_mocks True" when running step3 for the
|
||||
# first time within a given run.
|
||||
# - Afterwards, one can, again, use "recompute_mocks True" for
|
||||
# recomputing the mocks with a misspecified model.
|
||||
|
||||
export OMP_NUM_THREADS=1
|
||||
python $SELFISYS_ROOT_PATH"src/selfisys/pipeline/step3.py" \
|
||||
--wd $SELFISYS_OUTPUT_PATH"dev/643600502/run1/" \
|
||||
--N_THREADS 8 \
|
||||
--N_THREADS_PRIOR 8 \
|
||||
--prior "planck2018" \
|
||||
--nsamples_prior 1000 \
|
||||
--survey_mask_path $SELFISYS_OUTPUT_PATH"expl_notebooks/surveymask/raw_mask_N64.npy" \
|
||||
--params_obs None \
|
||||
--name_obs obs \
|
||||
--force_obs False \
|
||||
--recompute_obs_mock False \
|
||||
--reset_window_function True \
|
||||
--selection_params 0.1150 0.1492 0.1818 0.1500 0.4925 0.8182 1 1 1 \
|
||||
--Ne 150 \
|
||||
--Ns 3 \
|
||||
--prefix_mocks None \
|
||||
--force_recompute_prior False \
|
||||
--lin_bias 1.47 1.99 2.32 \
|
||||
--recompute_mocks True \
|
||||
--perform_score_compression True \
|
||||
--force_score_compression False
|
||||
|
||||
# --lin_bias 1.47 1.99 2.32 \
|
||||
# --recompute_mocks True \
|
||||
|
||||
# --noise_dbg 0.1 \
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue