Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ cosmo_inference/cosmosis_config/cosmosis_pipeline_glass_mock_0*.ini
cosmo_inference/cosmosis_config/cosmosis_pipeline_glass_mock_v0*.ini
cosmo_inference/cosmosis_config/glass_mocks_v*

config/glass_mock/test_data/results

# Regenerable catalog-paper plots: the paper TeX lives in the separate docs/
# repo, so these are script/notebook outputs, not LaTeX-tracked figures.
papers/catalog/plots/*.pdf
Expand All @@ -196,5 +198,6 @@ papers/catalog/plots/*.pdf
# SLURM run logs from cosmo_val validation runs
papers/cosmo_val/logs/

# Ignore scratch notebooks
scratch/*/*.ipynb
# Ignore scratch work notebooks
scratch/guerrini/work_notebooks
scratch/guerrini/launch_scripts
41 changes: 41 additions & 0 deletions config/glass_mock/config_glass_mock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Config file to generate a GLASS mock.
# Example config file, uncomment and modify the inplace value if needed.

# To run this configuration run the script `make_glass_sim.py`
# Options:
# -s, --seed: Random seed
# -N, --number: Mock Number for labelling
# -t, --test: Run in test mode
# -cb, --camb: get Camb C_ell
# -c, --config: Path to the configuration file to generate the simulation (Required)

# --- Cosmological parameters (CAMB) ---
#h: 0.6766
#Om: 0.30966
#Ob: 0.04897
#ns: 0.9665
#sigma8: 0.8102
#mnu: 0.06
#log_T_AGN: 7.8
#As_init: 2.1e-9 #seed As before sigma8 rescaling
#kmax: 20.0

# --- Resolution ---
nside: 4096
dx: 120.0
zmax: 3.0

# --- galaxy population (downstream of map generation) ---
nbins: 6
n_arcmin2: [1, 1.02, 1.05, 0.85, 0.9, 1.2]
sigma_e: 0.2684

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we implement sigma_e per tomo bin?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see in the py script usage that this can be a scalar or array. Good. Maybe add a comment here about the two syntax options.

bias: 1.2
phz_sigma_0: 0.03
#ia_bias: null

# --- Runtime options ---
limber: True
mask_path: /n09data/guerrini/glass_mock_v1.4.6_rerun/mask_nside4096.fits
nz_path: /home/guerrini/sp_validation_cosmostat/config/glass_mock/test_data/redshift_distribution_tomo.txt
output_path: /n09data/guerrini/glass_mock_test/
output_prefix: tomo_test
41 changes: 41 additions & 0 deletions config/glass_mock/config_glass_mock_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Config file to generate a GLASS mock.
# Example config file, uncomment and modify the inplace value if needed.

# To run this configuration run the script `make_glass_sim.py`
# Options:
# -s, --seed: Random seed
# -N, --number: Mock Number for labelling
# -t, --test: Run in test mode
# -cb, --camb: get Camb C_ell
# -c, --config: Path to the configuration file to generate the simulation (Required)

# --- Cosmological parameters (CAMB) ---
#h: 0.7
#Om: 0.30966
#Ob: 0.04897
#ns: 0.9665
#sigma8: 0.8102
#mnu: 0.06
#log_T_AGN: 7.8
#As_init: 2.1e-9 #seed As before sigma8 rescaling
#kmax: 20.0

# --- Resolution ---
nside: 32
dx: 200.0
zmax: 3

# --- galaxy population (downstream of map generation) ---
nbins: 6
n_arcmin2: [4.0, 3.8, 4.2, 3.95, 4.05, 4.0]
sigma_e: 0.2684
bias: 1.2
phz_sigma_0: 0.03
#ia_bias: null

# --- Runtime options ---
limber: True
mask_path: /n09data/guerrini/glass_mock_v1.4.6_rerun/mask_nside4096.fits
nz_path: /home/guerrini/sp_validation_cosmostat/config/glass_mock/test_data/redshift_distribution_tomo.txt

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be good to have this point to a neutral place, e.g. /n17data/UNIONS/WL/v2.0/...

output_path: /n09data/guerrini/glass_mock_test/
output_prefix: unions
Binary file added config/glass_mock/test_data/mask.fits
Binary file not shown.
Loading
Loading