Skip to content

Commit

Permalink
exp and figures 42
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-mendoza committed Jan 23, 2025
1 parent 0fcf53b commit 9156ab6
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 5 deletions.
2 changes: 1 addition & 1 deletion experiments/exp41/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SHELL=/bin/bash
SEED := 43
SEED := 42
DIR := /pscratch/sd/i/imendoza/data/cache_chains/exp41_${SEED}
TAG := exp41_${SEED}
export JAX_ENABLE_X64=True
Expand Down
16 changes: 12 additions & 4 deletions experiments/exp42/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
SHELL=/bin/bash
SEED := 42
DIR := /pscratch/sd/i/imendoza/data/cache_chains/exp41_${SEED}
TAG := exp41_${SEED}
EXP := exp42
TAG := ${EXP}_${SEED}
DIR := /pscratch/sd/i/imendoza/data/cache_chains/${TAG}

# simulation parameters
N_GALS := 250
N_SAMPLES_PER_GAL := 150
SHAPE_NOISE := 0.1
SIGMA_E_INT := 0.15
MEAN_LOG_FLUX := 6.0
SIGMA_LOG_FLUX := 0.1
SHEAR := 0.02

export JAX_ENABLE_X64=True

figures:
Expand All @@ -27,8 +35,8 @@ collate:
../exp40/collate_samples.py ${SEED} --tag ${TAG} --mode "minus" --n-files 4

samples:
../exp40/slurm_get_interim_samples.py ${SEED} --tag ${TAG} --g1 ${SHEAR} --g2 0.0 --n-gals 250 --n-samples-per-gal 150 --mean-logflux 6.0 --sigma-logflux 0.1 --shape-noise ${SHAPE_NOISE} --sigma-e-int ${SIGMA_E_INT} --time "00:05" --mode "plus" --mem-per-gpu "5G"
../exp40/slurm_get_interim_samples.py ${SEED} --tag ${TAG} --g1 -${SHEAR} --g2 0.0 --n-gals 250 --n-samples-per-gal 150 --mean-logflux 6.0 --sigma-logflux 0.1 --shape-noise ${SHAPE_NOISE} --sigma-e-int ${SIGMA_E_INT} --time "00:05" --mode "minus" --mem-per-gpu "5G"
../exp40/slurm_get_interim_samples.py ${SEED} --tag ${TAG} --g1 ${SHEAR} --g2 0.0 --n-gals ${N_GALS} --n-samples-per-gal ${N_SAMPLES_PER_GAL} --mean-logflux ${MEAN_LOG_FLUX} --sigma-logflux ${SIGMA_LOG_FLUX} --shape-noise ${SHAPE_NOISE} --sigma-e-int ${SIGMA_E_INT} --time "00:05" --mode "plus" --mem-per-gpu "5G"
../exp40/slurm_get_interim_samples.py ${SEED} --tag ${TAG} --g1 -${SHEAR} --g2 0.0 --n-gals ${N_GALS} --n-samples-per-gal ${N_SAMPLES_PER_GAL} --mean-logflux ${MEAN_LOG_FLUX} --sigma-logflux ${SIGMA_LOG_FLUX} --shape-noise ${SHAPE_NOISE} --sigma-e-int ${SIGMA_E_INT} --time "00:05" --mode "minus" --mem-per-gpu "5G"

clean:
rm -f ${DIR}/g_samples_*.npy ${DIR}/interim_samples_*.npz
Binary file added experiments/exp42/figs/42/contours_bias.pdf
Binary file not shown.
Binary file added experiments/exp42/figs/42/contours_minus.pdf
Binary file not shown.
Binary file added experiments/exp42/figs/42/contours_plus.pdf
Binary file not shown.
Binary file added experiments/exp42/figs/42/hists_minus.pdf
Binary file not shown.
Binary file added experiments/exp42/figs/42/hists_plus.pdf
Binary file not shown.
Binary file added experiments/exp42/figs/42/scatter_shapes.pdf
Binary file not shown.
18 changes: 18 additions & 0 deletions experiments/exp42/figs/42/summary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#### Full results ####
Units: 1e-3

m_mean: -87.49
m_std: 43.96

c_mean: 3.184
c_std: 2.881

#### Jackknife results ####
Units: 1e-3

m_mean: -89.24
m_std: 8.706

c_mean: 3.123
c_std: 2.667

Binary file added experiments/exp42/figs/42/traces_minus.pdf
Binary file not shown.
Binary file added experiments/exp42/figs/42/traces_plus.pdf
Binary file not shown.

0 comments on commit 9156ab6

Please sign in to comment.