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: 1024
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
Comment thread
martinkilbinger marked this conversation as resolved.
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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Still the hardcoded personal paths from Martin's earlier round — the committed config/glass_mock/test_data/ assets in this PR seem like the natural replacement (at least for the test config).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Same as above

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_2
42 changes: 42 additions & 0 deletions config/glass_mock/config_glass_mock_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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
# -v, --validation: Run some validation checks
# -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] # number density in arcmin^-2. Input can be a float or a list (a number density for each bin)
sigma_e: 0.2684 # intrinsic ellipticity dispersion. Input can be a float or a list (a shape noise for each bin)
bias: 1.2 # galaxy bias. Input can be a float or a list (a galaxy bias for each bin)
phz_sigma_0: 0.03
#ia_bias: null # Intrinsic alignment amplitude. Warning: this feature has not been robustly tested.

# --- 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
Comment thread
martinkilbinger marked this conversation as resolved.
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