Repository navigation
Paper figures for the DESC internal review, plus example fixes - #41
Open
eduardojsbarroso wants to merge 12 commits into
Open
eduardojsbarroso wants to merge 12 commits into
eduardojsbarroso wants to merge 12 commits into
Conversation
- capish analysis_summary: 15% burn-in, mu_m = 2.3/ln(10) - plot_samples: replace the contour legend with a "CC + WL / cosmoDC2" text box - add the cosmo_0.22_0.9 launch script that was missing from #34 - capish run_in2p3_both_mean/TJPCov.yml: read the mean SACC from data/
- Draw figures at their printed width (7.1 in / 3.4 in) with 8-9 pt text, darker grid lines and larger legends - Shared style, richness palette (Okabe-Ito based, checked for color-blind readers), markers and labels in clpipe/utils/cosmosis_mcmc_plots.py - Fig 3: drop the leftover "CROW grid" legend - Figs 4 and 6: binned counts predictions drawn as steps, error bars on the data, R = 1 Mpc tick back, richness legend inside the lensing panel - Fig 9: values next to the bars with larger text - Fig 10: no redshift colors, dashed models with one Model legend entry - Fig 11: log scale for the offset histogram - Fig 12: signed fractional difference with a +-5% band - Fig 13: "This work (CLPipe)" vs "Payerne et al. (2025)", R [Mpc] axis - Corner plots: bigger legends
- cosmosis_mcmc_plots: keep the notebook backend when importing getdist, which switched it to Agg and stopped figures from showing inline - capish analysis_summary: define rich_colors again for the per-bin plots - summary_plot_best_fits: back to the original figure, only the value labels larger (font 10 -> 13)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the cosmoDC2 redMaPPer and capish example notebooks so that the paper figures answer the figure comments of the DESC internal review, and fixes a few example scripts. The notebooks were rerun and the paper figures regenerated.
Paper figures
clpipe/utils/cosmosis_mcmc_plots.py: page widths, one color and marker per richness bin (Okabe-Ito based, checked for color-blind readers),richness_label,add_grid,use_paper_styleandthicken_legend_lines. Corner plots get larger legends.cosmosis_mcmc_plotsnow keeps the notebook backend when it imports getdist. Older getdist versions switch matplotlib to Agg on import, which stopped figures from showing inline.precision_plot.pdfcrow_clcosmo_benchmarkcounts_shear_capish_z0.5_0.6.pdfanalysis_summaryprediction_versus_dataplot_samplessummary_cosmo.pdfsummary_plot_best_fitsmor_fiducialmiscentering.pdfmiscentering_fiducialshear_profiles_different_cosmologies10mpc_clpipeline_vs_clcosmo.pdfdata_clcosmosim_txpipeR [Mpc]axisOther changes
fiducial_cosmology_analysis: thecosmo_0.22_0.7,cosmo_0.3_0.9andcosmo_0.4_0.8launch scripts run cosmosis with MPI like the other runs, and the missingcosmo_0.22_0.9launch script is added.analysis_summary: 15% burn-in andmu_m = 2.3/ln(10).run_in2p3_both_mean/TJPCov.ymlreads the mean SACC fromdata/.plot_samples: the cosmoDC2 contour uses a text label instead of the legend.