diffsky 0.2.5__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/linting.yaml +8 -3
- diffsky-0.3.1/.github/workflows/mock_generation_test.yaml +111 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/monthly-warning-test.yaml +2 -3
- {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/test_latest_releases.yaml +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/test_main_branch.yaml +2 -3
- diffsky-0.3.1/.github/workflows/test_new_diffstar.yaml +90 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/tests_cron.yaml +2 -3
- {diffsky-0.2.5 → diffsky-0.3.1}/.gitignore +2 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/CHANGES.rst +20 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/PKG-INFO +6 -18
- {diffsky-0.2.5 → diffsky-0.3.1}/README.rst +3 -14
- diffsky-0.3.1/diffsky/_version.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/__init__.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/plot_fburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/plot_tburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/tests/test_plot_fburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/tests/test_plot_tburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffburstpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffqburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffqburstpop_mono_noise.py +6 -4
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/fburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/freqburst.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tburstpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffburstpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffqburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_fburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_fburstpop_mono.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_freqburst.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_tburstpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/cosmos_mstar_model.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/tests/test_cosmos_mstar_model.py +1 -2
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmo.txt +7 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps.txt +101 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps_a.txt +101 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmo.txt +7 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps.txt +101 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps_a.txt +101 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmo.txt +7 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps.txt +101 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps_a.txt +101 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/lc_cores-decomposition.txt +1474 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_cores.py +3 -10
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +17 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +387 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/hacc_core_utils.py +7 -12
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/haccsims.py +63 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/lc_mock_production.py +663 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/lightcone_utils.py +139 -11
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_hacc_cores.py +7 -8
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_lc_cf.py +9 -8
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_lc_cf_synthetic.py +22 -8
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/metadata_sfh_mock.py +471 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_hacc_core_utils.py +5 -17
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/tests/test_haccsims.py +79 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/tests/test_lc_mock_production.py +173 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_lightcone_utils.py +38 -12
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_load_hacc_cores.py +2 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_load_lc_cf.py +4 -1
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/io_utils.py +23 -0
- diffsky-0.3.1/diffsky/data_loaders/mock_utils.py +31 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/mpi_utils.py +23 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/test_cosmos_loader.py +1 -2
- diffsky-0.3.1/diffsky/data_loaders/tests/test_io_utils.py +32 -0
- diffsky-0.3.1/diffsky/data_loaders/tests/test_mock_utils.py +33 -0
- diffsky-0.3.1/diffsky/data_loaders/tests/test_mpi_utils.py +21 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/plot_delta_mag_burstiness.py +3 -3
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/plot_diffstar_fq.py +2 -3
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/tests/test_plot_delta_mag_burstiness.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/tests/test_plot_diffstar_fq.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/utils.py +1 -2
- {diffsky-0.2.5/diffsky/sumstats → diffsky-0.3.1/diffsky}/diffndhist.py +2 -7
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/__init__.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/avpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/avpop_flex.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/avpop_mono.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/deltapop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/plot_avpop_flex.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/plot_funopop_simple.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/tests/test_plot_avpop_flex.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/tests/test_plot_funopop_simple.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/funopop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/funopop_simple.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/funopop_ssfr.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/sbl18_dust.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/sbl18_dustpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_avpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_avpop_flex.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_avpop_mono.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_deltapop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_funopop_model.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_funopop_simple.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_funopop_ssfr.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_sbl18_dustpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dust_kernels.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop_new.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dust.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop_new.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/bulge_shapes.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/disk_shapes.py +1 -1
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/ellipse_proj_kernels.py +18 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/pdf_model_utils.py +1 -1
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_pdf_model_utils.py +5 -1
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/black_hole_accretion_rate.py +12 -3
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_accretion_rate.py +3 -1
- diffsky-0.3.1/diffsky/experimental/black_hole_modeling/tests/test_utils.py +13 -0
- diffsky-0.3.1/diffsky/experimental/black_hole_modeling/utils.py +81 -0
- diffsky-0.3.1/diffsky/experimental/dbk_from_mock.py +278 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/check_smhm.py +1 -1
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/disk_bulge_kernels.py +13 -9
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/disk_knots.py +5 -4
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/generate_bulge_disk_sample.py +12 -9
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/mc_disk_bulge.py +43 -40
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_bulge.py +20 -23
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_knots.py +6 -4
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_generate_bulge_disk_sample.py +8 -8
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_mc_disk_bulge.py +30 -22
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/boris_dust.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/burstshapepop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/dust_deltapop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/dustpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/lgavpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/lgfburstpop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/nagaraj22_dust.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/photpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_attavpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_boris_dust.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_burstshapepop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_dustdeltapop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_lgfburstpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_photpop.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/lc_phot_kern.py +29 -15
- diffsky-0.3.1/diffsky/experimental/mc_diffsky_disk_bulge_knot_seds.py +943 -0
- diffsky-0.2.5/diffsky/experimental/mc_diffsky_seds.py → diffsky-0.3.1/diffsky/experimental/mc_diffsky_disk_bulge_seds.py +26 -8
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/mc_diffsky_phot.py +4 -1
- diffsky-0.3.1/diffsky/experimental/mc_diffsky_seds.py +1010 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/mc_lightcone_halos.py +8 -5
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/scatter.py +2 -2
- diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_galacticus_in_plus_ex_situ.npy +0 -0
- diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_smdpl_dr1.npy +0 -0
- diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_tng.npy +0 -0
- diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/load_diffsky_sfh_model_calibrations.py +20 -0
- diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/tests/test_load_diffsky_sfh_model_calibrations.py +13 -0
- diffsky-0.3.1/diffsky/experimental/size_modeling/disk_bulge_sizes.py +148 -0
- diffsky-0.3.1/diffsky/experimental/size_modeling/tests/test_disk_bulge_sizes.py +60 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/ssp_err_pop.py +1 -2
- diffsky-0.3.1/diffsky/experimental/tests/test_dbk_from_mock.py +133 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_lc_phot_kern.py +5 -3
- diffsky-0.3.1/diffsky/experimental/tests/test_mc_diffsky_disk_bulge_knot_seds.py +149 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_mc_diffsky_seds.py +61 -6
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_mc_lightcone_halos.py +2 -4
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_photometry_interpolation.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_scatter.py +7 -18
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_sobol_lightcone.py +3 -5
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_ssp_err_pop.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_mc_ellipticial_velocities.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/__init__.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/ccshmf_model.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_ccshmf.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_ccshmf_kernels.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_hmf_kernels.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fitting_helpers.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf_kernels.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_kernels.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/io_utils/loader.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/io_utils/smdpl_helpers.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/ccshmf_kernels.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/hmf_kernels.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/tests/test_ccshmf_kernels.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/tests/test_hmf_kernels.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/measure_ccshmf.py +1 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/fit_hmf_disc_lcdm.py +0 -1
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/measure_hmf_target_data_hacc.py +0 -1
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/smhm_kernels/tests/test_threeroll_smhm.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_ccshmf.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_subs.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_tinfall.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_measure_hmf.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/utils.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mc_diffsky.py +8 -6
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/tests/test_fitmerge_multi_redshift.py +108 -38
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/tests/test_merging_model.py +7 -14
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/diffsky_param_wrapper.py +108 -40
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/tests/test_diffsky_param_wrapper.py +43 -9
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/tests/test_spspop_param_utils.py +4 -4
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ssp_err_model/ssp_err_model.py +6 -20
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ssp_err_model/tests/test_ssp_err_model.py +1 -1
- {diffsky-0.2.5/diffsky → diffsky-0.3.1/diffsky/sumstats}/diffndhist.py +2 -7
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/sumstats/tests/test_smhm.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/systematics/tests/test_ssp_errors.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_dependencies.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_diffndhist.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_diffsky_setup.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_mc_diffsky.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_phot_utils.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_sbl18_photgrad.py +2 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_tw_photgrad.py +2 -2
- diffsky-0.3.1/diffsky/tests/testing_data/__init__.py +0 -0
- diffsky-0.3.1/diffsky/utils/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/utility_funcs.py +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/PKG-INFO +6 -18
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/SOURCES.txt +40 -0
- diffsky-0.3.1/diffsky.egg-info/requires.txt +6 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demo_diffsky_lightcone.ipynb +7 -7
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/rtd_environment.yaml +1 -2
- {diffsky-0.2.5 → diffsky-0.3.1}/pyproject.toml +1 -1
- diffsky-0.3.1/requirements.txt +6 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/inspect_lc_cf_crossx_job_logs.py +18 -0
- diffsky-0.3.1/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +118 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/lc_cf_crossmatch_script.py +2 -0
- diffsky-0.3.1/scripts/LJ_LC_MOCKS/generate_sed_mock_jobs.py +124 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/inspect_lc_mock.py +8 -3
- diffsky-0.3.1/scripts/LJ_LC_MOCKS/inspect_sed_mock_job_logs.py +144 -0
- diffsky-0.3.1/scripts/LJ_LC_MOCKS/make_dbk_sed_lc_mock_lj.py +412 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/make_sed_lc_mock_lj.py +100 -17
- diffsky-0.3.1/scripts/LJ_LC_MOCKS/run_sed_mocks.sh +25 -0
- diffsky-0.3.1/scripts/__init__.py +0 -0
- diffsky-0.3.1/scripts/tests/__init__.py +0 -0
- diffsky-0.2.5/diffsky/_version.py +0 -1
- diffsky-0.2.5/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +0 -36
- diffsky-0.2.5/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +0 -109
- diffsky-0.2.5/diffsky/data_loaders/hacc_utils/lc_mock_production.py +0 -281
- diffsky-0.2.5/diffsky/data_loaders/hacc_utils/metadata_sfh_mock.py +0 -183
- diffsky-0.2.5/diffsky/data_loaders/hacc_utils/tests/test_lc_mock_production.py +0 -35
- diffsky-0.2.5/diffsky.egg-info/requires.txt +0 -7
- diffsky-0.2.5/requirements.txt +0 -7
- diffsky-0.2.5/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +0 -43
- {diffsky-0.2.5 → diffsky-0.3.1}/.coveragerc +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/.git_archival.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/.gitattributes +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/.github/dependabot.yml +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/.readthedocs.yml +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/LICENSE.rst +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffqburstpop_mono.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/fburstpop_mono.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/freqburst_mono.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffqburstpop_mono.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffqburstpop_mono_noise.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_freqburst_mono.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/cosmos20_loader.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_cores.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/defaults.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_lc_mock.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_defaults.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/lc_cores-decomposition.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/phi_haccytrees_tdata.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/redshift_haccytrees_tdata.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/theta_haccytrees_tdata.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/x_haccytrees_tdata.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/y_haccytrees_tdata.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/z_haccytrees_tdata.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/test_imports.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/testing_data/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/testing_data/cosmos20_shasum.dat +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/um_binary_loader.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/sbl18_dust_kernels.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop_mono.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dust_kernels.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop_mono.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/bulge_opt.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/disk_opt.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_bulge_opt.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_bulge_shapes.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_disk_opt.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_disk_shapes.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_ellipse_proj_kernels.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/testing_data/ellipsoid_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/testing_data/spiral_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/README.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/black_hole_mass.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_mass.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/tests/test_check_smhm.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/lc_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/phot_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/photometry_interpolation.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/precompute_ssp_phot.py +0 -0
- {diffsky-0.2.5/diffsky/experimental/tests → diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/fake_sats → diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/tests}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/fake_sats/tests → diffsky-0.3.1/diffsky/experimental/size_modeling}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/fitting_utils → diffsky-0.3.1/diffsky/experimental/size_modeling/tests}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/calibrations → diffsky-0.3.1/diffsky/experimental/tests}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_lc_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_mc_diffsky_phot.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_precompute_ssp_phot.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_top_level_imports.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/calibrations/tests → diffsky-0.3.1/diffsky/fake_sats}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/ellipsoidal_velocities.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/halo_boundary_functions.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/nfw_config_space.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/rotations3d.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/diagnostics → diffsky-0.3.1/diffsky/fake_sats/tests}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_halo_boundary_functions.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_nfw_config_space.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_rotations3d.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/testing_data/halo_mass_ht_test.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/testing_data/halo_radius_200c_ht_test.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/testing_data/redshift_ht_test.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/vector_utilities.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/README.rst +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/diagnostics/tests → diffsky-0.3.1/diffsky/mass_functions/fitting_utils}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/tests → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/calibrations}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/calibrations/hacc_core_shmf_params.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/hmf_calibrations → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/calibrations}/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/calibrations/tests/test_hacc_core_shmf_params.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/io_utils → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/diagnostics}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/diagnostics/hmf_fit_diagnostics.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/kernels → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/diagnostics/tests}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/diagnostics/tests/test_hmf_fit_diagnostics.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_flat_hmf_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_halobias_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_halobias_singlez_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_hmf_model.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/kernels → diffsky-0.3.1/diffsky/mass_functions/fitting_utils}/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_flat_hmf_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model_singlez.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/flat_hmf_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/halobias_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/halobias_singlez_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params_all.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/hmf_param_reader.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params_all.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_fitting_helpers.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_subs.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/smhm_kernels → diffsky-0.3.1/diffsky/mass_functions/hmf_calibrations/tests}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/test_imports.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/test_lj_hmf.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/test_smdpl_hmf.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_logmp_bins.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_redshift_bins.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_logmp_bins.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_redshift_bins.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/io_utils/README.txt +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/smhm_kernels/tests → diffsky-0.3.1/diffsky/mass_functions/io_utils}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/tests → diffsky-0.3.1/diffsky/mass_functions/kernels}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/tests/testing_data → diffsky-0.3.1/diffsky/mass_functions/kernels/tests}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_diffmah_tpeak.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_hosts.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_subs.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_tinfall.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/measure_hmf.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/run_hmf_tabulation_disc_lcdm.sh +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/last_journey_calibration/fit_hmf_lj.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/last_journey_calibration/measure_hmf_target_data_hacc.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/smdpl_calibration/fit_smdpl_hmf_script.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/smdpl_calibration/measure_smdpl_hmf_script.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/upweighting → diffsky-0.3.1/diffsky/mass_functions/smhm_kernels}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/mass_functions/upweighting → diffsky-0.3.1/diffsky/mass_functions/smhm_kernels}/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/smhm_kernels/threeroll_kernels.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/smhm_kernels/threeroll_smhm.py +0 -0
- {diffsky-0.2.5/diffsky/merging → diffsky-0.3.1/diffsky/mass_functions/tests}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_flat_hmf_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_halobias_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_halobias_singlez_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_hmf_model.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_diffmah_tpeak.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_hosts.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/README.txt +0 -0
- {diffsky-0.2.5/diffsky/merging/diagnostics → diffsky-0.3.1/diffsky/mass_functions/tests/testing_data}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_12.32.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.00.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.55.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_14.08.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.31.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.99.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_13.51.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_14.05.txt +0 -0
- {diffsky-0.2.5/diffsky/merging/diagnostics/tests → diffsky-0.3.1/diffsky/mass_functions/upweighting}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/upweighting/namedtuple_cat_utils.py +0 -0
- {diffsky-0.2.5/diffsky/merging → diffsky-0.3.1/diffsky/mass_functions/upweighting}/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/upweighting/tests/test_mc_gen_upweighting.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/upweighting/upweighting.py +0 -0
- {diffsky-0.2.5/diffsky/param_utils → diffsky-0.3.1/diffsky/merging}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/param_utils/tests → diffsky-0.3.1/diffsky/merging/diagnostics}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/diagnostics/plot_pmerge_vs_time.py +0 -0
- {diffsky-0.2.5/diffsky/ssp_err_model → diffsky-0.3.1/diffsky/merging/diagnostics/tests}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/diagnostics/tests/test_plot_pmerge_vs_time.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/fitmerge_multi_redshift.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/merging_model.py +0 -0
- {diffsky-0.2.5/diffsky/ssp_err_model → diffsky-0.3.1/diffsky/merging}/tests/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/sumstats → diffsky-0.3.1/diffsky/param_utils}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/spspop_param_utils.py +0 -0
- {diffsky-0.2.5/diffsky/sumstats → diffsky-0.3.1/diffsky/param_utils}/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/phot_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/sbl18_photgrad.py +0 -0
- {diffsky-0.2.5/diffsky/systematics → diffsky-0.3.1/diffsky/ssp_err_model}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/systematics → diffsky-0.3.1/diffsky/ssp_err_model}/tests/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/tests → diffsky-0.3.1/diffsky/sumstats}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/sumstats/smhm.py +0 -0
- {diffsky-0.2.5/diffsky/tests/testing_data → diffsky-0.3.1/diffsky/sumstats/tests}/__init__.py +0 -0
- {diffsky-0.2.5/diffsky/utils/tests → diffsky-0.3.1/diffsky/systematics}/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/systematics/ssp_errors.py +0 -0
- {diffsky-0.2.5/scripts → diffsky-0.3.1/diffsky/systematics/tests}/__init__.py +0 -0
- {diffsky-0.2.5/scripts → diffsky-0.3.1/diffsky}/tests/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_imports.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tw_photgrad.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/__init__.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/crossmatch_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/sfh_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_crossmatch_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_sfh_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_tw_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_utility_funcs.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tw_utils.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/dependency_links.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/top_level.txt +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/Makefile +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/make.bat +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/citation.rst +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/conf.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demo_diffmahpop_lightcone.ipynb +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demo_diffmahpop_t_peak.ipynb +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demos.rst +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/index.rst +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/installation.rst +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/validate_mc_lightcones.ipynb +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/bebop_jobs.sh +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/generate_lj_cf_crossmatch_jobs.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/run_lc_cf_crossmatch_base.sh +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/run_tabulate_coreforest_overlap.sh +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/generate_sfh_mock_jobs.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/make_sfh_lc_mock_lj.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_SNAP_MOCKS/make_sfh_lj_snapshot_mock.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/tests/test_inspect_lightcone_mock.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/tests/test_make_sfh_lj_mock.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/scripts/tests/test_tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/setup.cfg +0 -0
- {diffsky-0.2.5 → diffsky-0.3.1}/setup.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Flake8 test of source code
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -8,7 +8,7 @@ on:
|
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
tests:
|
|
11
|
-
name:
|
|
11
|
+
name: flake8 diffsky scripts
|
|
12
12
|
runs-on: "ubuntu-latest"
|
|
13
13
|
|
|
14
14
|
steps:
|
|
@@ -32,7 +32,12 @@ jobs:
|
|
|
32
32
|
flake8 \
|
|
33
33
|
flake8-pyproject
|
|
34
34
|
|
|
35
|
-
- name: lint
|
|
35
|
+
- name: lint source code
|
|
36
36
|
shell: bash -l {0}
|
|
37
37
|
run: |
|
|
38
38
|
flake8 diffsky
|
|
39
|
+
|
|
40
|
+
- name: lint scripts
|
|
41
|
+
shell: bash -l {0}
|
|
42
|
+
run: |
|
|
43
|
+
flake8 scripts
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
name: Test mock-production script runs with synthetic halos
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch: null
|
|
5
|
+
schedule:
|
|
6
|
+
# Runs "every Monday & Thursday at 3:05am Central"
|
|
7
|
+
- cron: '5 8 * * 1,4'
|
|
8
|
+
push:
|
|
9
|
+
branches:
|
|
10
|
+
- main
|
|
11
|
+
pull_request: null
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
mock-generation:
|
|
15
|
+
name: python make_dbk_sed_lc_mock_lj.py -synthetic_cores 1
|
|
16
|
+
runs-on: "ubuntu-latest"
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v5
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
22
|
+
|
|
23
|
+
- uses: conda-incubator/setup-miniconda@v3
|
|
24
|
+
with:
|
|
25
|
+
python-version: 3.11
|
|
26
|
+
channels: conda-forge,defaults
|
|
27
|
+
channel-priority: strict
|
|
28
|
+
show-channel-urls: true
|
|
29
|
+
miniforge-version: latest
|
|
30
|
+
|
|
31
|
+
- name: configure conda and install code
|
|
32
|
+
shell: bash -l {0}
|
|
33
|
+
env:
|
|
34
|
+
GITHUB_TOKEN: ${{ secrets.CPAC_PRIVATE_REPO_TOKEN }}
|
|
35
|
+
GITHUB_USER: ${{ secrets.GH_USR_TESTING_TOKEN }}
|
|
36
|
+
|
|
37
|
+
run: |
|
|
38
|
+
conda config --set always_yes yes
|
|
39
|
+
conda install --quiet \
|
|
40
|
+
--file=requirements.txt
|
|
41
|
+
conda install -y -q \
|
|
42
|
+
pip \
|
|
43
|
+
setuptools \
|
|
44
|
+
"setuptools_scm>=7,<8" \
|
|
45
|
+
matplotlib \
|
|
46
|
+
astropy \
|
|
47
|
+
h5py \
|
|
48
|
+
mpi4py
|
|
49
|
+
pip install git+https://github.com/ArgonneCPAC/HACCyTrees.git
|
|
50
|
+
pip uninstall diffmah --yes
|
|
51
|
+
pip uninstall diffstar --yes
|
|
52
|
+
pip uninstall dsps --yes
|
|
53
|
+
pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
|
|
54
|
+
pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
|
|
55
|
+
pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
|
|
56
|
+
python -m pip install --no-build-isolation --no-deps -e .
|
|
57
|
+
|
|
58
|
+
- name: download dsps data
|
|
59
|
+
shell: bash -l {0}
|
|
60
|
+
run: |
|
|
61
|
+
# Create data directory
|
|
62
|
+
mkdir -p dsps_drn/filters
|
|
63
|
+
|
|
64
|
+
# Download data
|
|
65
|
+
cd dsps_drn
|
|
66
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/ssp_data_fsps_v3.2_lgmet_age.h5
|
|
67
|
+
cd filters
|
|
68
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_u_transmission.h5
|
|
69
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_g_transmission.h5
|
|
70
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_r_transmission.h5
|
|
71
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_i_transmission.h5
|
|
72
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_z_transmission.h5
|
|
73
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_y_transmission.h5
|
|
74
|
+
cd ..
|
|
75
|
+
cd ..
|
|
76
|
+
|
|
77
|
+
# Set environment variable
|
|
78
|
+
export DSPS_DRN="${GITHUB_WORKSPACE}/dsps_drn"
|
|
79
|
+
echo "DSPS_DRN=${DSPS_DRN}" >> $GITHUB_ENV
|
|
80
|
+
|
|
81
|
+
- name: run mock generation script
|
|
82
|
+
shell: bash -l {0}
|
|
83
|
+
run: |
|
|
84
|
+
# Create output directory
|
|
85
|
+
mkdir -p ci_test_output
|
|
86
|
+
|
|
87
|
+
# Run mock production script
|
|
88
|
+
mpiexec -n 1 python scripts/LJ_LC_MOCKS/make_dbk_sed_lc_mock_lj.py \
|
|
89
|
+
poboy \
|
|
90
|
+
0.01 \
|
|
91
|
+
0.2 \
|
|
92
|
+
0 \
|
|
93
|
+
1 \
|
|
94
|
+
ci_test_output \
|
|
95
|
+
ci_test_mock \
|
|
96
|
+
-fn_u_params sfh_model \
|
|
97
|
+
-sfh_model smdpl_dr1 \
|
|
98
|
+
-synthetic_cores 1 \
|
|
99
|
+
-lgmp_min 12.0 \
|
|
100
|
+
-lgmp_max 13.0
|
|
101
|
+
|
|
102
|
+
- name: verify script completed
|
|
103
|
+
shell: bash -l {0}
|
|
104
|
+
run: |
|
|
105
|
+
echo "Mock generation script completed successfully"
|
|
106
|
+
|
|
107
|
+
- name: validate mock
|
|
108
|
+
shell: bash -l {0}
|
|
109
|
+
run: |
|
|
110
|
+
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/synthetic_cores/smdpl_dr1
|
|
111
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Monthly test for warnings in diffstuff main branches
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
workflow_dispatch: null
|
|
@@ -8,7 +8,7 @@ on:
|
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
tests:
|
|
11
|
-
name:
|
|
11
|
+
name: pytest with diffmah/diffstar/dsps@main
|
|
12
12
|
runs-on: "ubuntu-latest"
|
|
13
13
|
|
|
14
14
|
steps:
|
|
@@ -54,7 +54,6 @@ jobs:
|
|
|
54
54
|
pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
|
|
55
55
|
pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
|
|
56
56
|
pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
|
|
57
|
-
pip install --no-deps git+https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/ArgonneCPAC/diffstarpop.git@main
|
|
58
57
|
python -m pip install --no-build-isolation --no-deps -e .
|
|
59
58
|
|
|
60
59
|
- name: test that no warnings are raised
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Test against latest diffstuff releases
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -8,7 +8,7 @@ on:
|
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
tests:
|
|
11
|
-
name:
|
|
11
|
+
name: pytest with latest releases on conda-forge
|
|
12
12
|
runs-on: "ubuntu-latest"
|
|
13
13
|
|
|
14
14
|
steps:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Test with Main Branch Dependencies
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -8,7 +8,7 @@ on:
|
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
tests:
|
|
11
|
-
name:
|
|
11
|
+
name: pytest with diffmah/diffstar/dsps@main
|
|
12
12
|
runs-on: "ubuntu-latest"
|
|
13
13
|
|
|
14
14
|
steps:
|
|
@@ -53,7 +53,6 @@ jobs:
|
|
|
53
53
|
pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
|
|
54
54
|
pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
|
|
55
55
|
pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
|
|
56
|
-
pip install --no-deps git+https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/ArgonneCPAC/diffstarpop.git@main
|
|
57
56
|
python -m pip install --no-build-isolation --no-deps -e .
|
|
58
57
|
|
|
59
58
|
- name: test
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
name: Test against updated diffstar
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request: null
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
tests:
|
|
11
|
+
name: pytest with diffstar@refs/pull/108/head
|
|
12
|
+
runs-on: "ubuntu-latest"
|
|
13
|
+
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v5
|
|
16
|
+
with:
|
|
17
|
+
fetch-depth: 0
|
|
18
|
+
|
|
19
|
+
- uses: conda-incubator/setup-miniconda@v3
|
|
20
|
+
with:
|
|
21
|
+
python-version: 3.11
|
|
22
|
+
channels: conda-forge,defaults
|
|
23
|
+
channel-priority: strict
|
|
24
|
+
show-channel-urls: true
|
|
25
|
+
miniforge-version: latest
|
|
26
|
+
|
|
27
|
+
- name: configure conda and install code
|
|
28
|
+
# Test against current main branch of all diff+ dependencies
|
|
29
|
+
shell: bash -l {0}
|
|
30
|
+
env:
|
|
31
|
+
GITHUB_TOKEN: ${{ secrets.CPAC_PRIVATE_REPO_TOKEN }}
|
|
32
|
+
GITHUB_USER: ${{ secrets.GH_USR_TESTING_TOKEN }}
|
|
33
|
+
|
|
34
|
+
# Test against updated diffstar
|
|
35
|
+
run: |
|
|
36
|
+
conda config --set always_yes yes
|
|
37
|
+
conda install --quiet \
|
|
38
|
+
--file=requirements.txt
|
|
39
|
+
conda install -y -q \
|
|
40
|
+
flake8 \
|
|
41
|
+
pytest \
|
|
42
|
+
pytest-xdist \
|
|
43
|
+
pytest-cov \
|
|
44
|
+
pip \
|
|
45
|
+
setuptools \
|
|
46
|
+
"setuptools_scm>=7,<8" \
|
|
47
|
+
matplotlib \
|
|
48
|
+
astropy \
|
|
49
|
+
python-build
|
|
50
|
+
pip uninstall diffmah --yes
|
|
51
|
+
pip uninstall diffstar --yes
|
|
52
|
+
pip uninstall dsps --yes
|
|
53
|
+
pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
|
|
54
|
+
pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git@refs/pull/108/head
|
|
55
|
+
pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
|
|
56
|
+
python -m pip install --no-build-isolation --no-deps -e .
|
|
57
|
+
|
|
58
|
+
- name: test
|
|
59
|
+
shell: bash -l {0}
|
|
60
|
+
run: |
|
|
61
|
+
pytest -v diffsky --cov --cov-report=xml
|
|
62
|
+
|
|
63
|
+
- name: Upload coverage reports to Codecov
|
|
64
|
+
uses: codecov/codecov-action@v5
|
|
65
|
+
env:
|
|
66
|
+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
67
|
+
|
|
68
|
+
- name: test versions
|
|
69
|
+
shell: bash -el {0}
|
|
70
|
+
run: |
|
|
71
|
+
pip uninstall diffsky --yes
|
|
72
|
+
[[ $(python setup.py --version) != "0.0.0" ]] || exit 1
|
|
73
|
+
|
|
74
|
+
rm -rf dist/*
|
|
75
|
+
python setup.py sdist
|
|
76
|
+
pip install --no-deps --no-build-isolation dist/*.tar.gz
|
|
77
|
+
pushd ..
|
|
78
|
+
python -c "import diffsky; assert diffsky.__version__ != '0.0.0'"
|
|
79
|
+
popd
|
|
80
|
+
pip uninstall diffsky --yes
|
|
81
|
+
|
|
82
|
+
rm -rf dist/*
|
|
83
|
+
python -m build --sdist . --outdir dist
|
|
84
|
+
pip install --no-deps --no-build-isolation dist/*.tar.gz
|
|
85
|
+
pushd ..
|
|
86
|
+
python -c "import diffsky; assert diffsky.__version__ != '0.0.0'"
|
|
87
|
+
popd
|
|
88
|
+
pip uninstall diffsky --yes
|
|
89
|
+
|
|
90
|
+
python -m pip install -v --no-deps --no-build-isolation -e .
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Weekly cron testing
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
workflow_dispatch: null
|
|
@@ -12,7 +12,7 @@ on:
|
|
|
12
12
|
|
|
13
13
|
jobs:
|
|
14
14
|
tests:
|
|
15
|
-
name:
|
|
15
|
+
name: pytest with diffmah/diffstar/dsps@main
|
|
16
16
|
runs-on: "ubuntu-latest"
|
|
17
17
|
|
|
18
18
|
steps:
|
|
@@ -57,7 +57,6 @@ jobs:
|
|
|
57
57
|
pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
|
|
58
58
|
pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
|
|
59
59
|
pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
|
|
60
|
-
pip install --no-deps git+https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/ArgonneCPAC/diffstarpop.git@main
|
|
61
60
|
python -m pip install --no-build-isolation --no-deps -e .
|
|
62
61
|
|
|
63
62
|
- name: test
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
0.3.1 (2025-11-23)
|
|
2
|
+
-------------------
|
|
3
|
+
- Update diffsky to be compatible with diffstar v1.0.2 (https://github.com/ArgonneCPAC/diffsky/pull/277)
|
|
4
|
+
- Add new module to recompute photometry from mock (https://github.com/ArgonneCPAC/diffsky/pull/272)
|
|
5
|
+
- Implement mock-production validation test of recomputed photometry (https://github.com/ArgonneCPAC/diffsky/pull/274)
|
|
6
|
+
- Add kernel to decompose SED into Disk/bulge/knot components (https://github.com/ArgonneCPAC/diffsky/pull/248)
|
|
7
|
+
- Fix memory leak in SED mock production script (https://github.com/ArgonneCPAC/diffsky/pull/244)
|
|
8
|
+
- Parallelize mock-production script (https://github.com/ArgonneCPAC/diffsky/pull/267)
|
|
9
|
+
- Compute mock photometry in batches (https://github.com/ArgonneCPAC/diffsky/pull/269)
|
|
10
|
+
- Add size and orientation of disk and bulge to galaxies in SED mock
|
|
11
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/254
|
|
12
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/265
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
0.3.0 (2025-10-03)
|
|
17
|
+
-------------------
|
|
18
|
+
- Update diffsky to be compatible with diffstar v1.0
|
|
19
|
+
|
|
20
|
+
|
|
1
21
|
0.2.5 (2025-10-01)
|
|
2
22
|
-------------------
|
|
3
23
|
- Minor changes before updating to diffstar v1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diffsky
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Library for differentiable generation of synthetic skies
|
|
5
5
|
Author-email: Andrew Hearin <ahearin@anl.gov>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -40,9 +40,8 @@ Description-Content-Type: text/x-rst
|
|
|
40
40
|
License-File: LICENSE.rst
|
|
41
41
|
Requires-Dist: numpy
|
|
42
42
|
Requires-Dist: jax
|
|
43
|
-
Requires-Dist: diffmah>=0.7.
|
|
44
|
-
Requires-Dist: diffstar>=0.
|
|
45
|
-
Requires-Dist: diffstarpop>=0.0.2
|
|
43
|
+
Requires-Dist: diffmah>=0.7.3
|
|
44
|
+
Requires-Dist: diffstar>=1.0.1
|
|
46
45
|
Requires-Dist: dsps>=0.4.5
|
|
47
46
|
Requires-Dist: h5py
|
|
48
47
|
Dynamic: license-file
|
|
@@ -50,8 +49,8 @@ Dynamic: license-file
|
|
|
50
49
|
diffsky
|
|
51
50
|
============
|
|
52
51
|
|
|
53
|
-
Diffsky is a python library based on JAX for producing mock catalogs based on
|
|
54
|
-
`diffstar <https://diffstar.readthedocs.io/en/latest/>`_
|
|
52
|
+
Diffsky is a python library based on JAX for producing mock catalogs based on
|
|
53
|
+
`diffstar <https://diffstar.readthedocs.io/en/latest/>`_
|
|
55
54
|
and `dsps <https://dsps.readthedocs.io/en/latest/>`_.
|
|
56
55
|
|
|
57
56
|
Installation
|
|
@@ -77,18 +76,7 @@ For a typical development environment in conda-forge::
|
|
|
77
76
|
Documentation
|
|
78
77
|
-------------
|
|
79
78
|
|
|
80
|
-
Online documentation for diffsky is available at
|
|
79
|
+
Online documentation for diffsky is available at
|
|
81
80
|
`diffsky.readthedocs.io <https://diffsky.readthedocs.io/en/latest/>`_.
|
|
82
81
|
|
|
83
|
-
Testing
|
|
84
|
-
-------
|
|
85
|
-
To run the suite of unit tests::
|
|
86
|
-
|
|
87
|
-
$ cd /path/to/root/diffsky
|
|
88
|
-
$ pytest
|
|
89
|
-
|
|
90
|
-
To build html of test coverage::
|
|
91
|
-
|
|
92
|
-
$ pytest -v --cov --cov-report html
|
|
93
|
-
$ open htmlcov/index.html
|
|
94
82
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
diffsky
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
-
Diffsky is a python library based on JAX for producing mock catalogs based on
|
|
5
|
-
`diffstar <https://diffstar.readthedocs.io/en/latest/>`_
|
|
4
|
+
Diffsky is a python library based on JAX for producing mock catalogs based on
|
|
5
|
+
`diffstar <https://diffstar.readthedocs.io/en/latest/>`_
|
|
6
6
|
and `dsps <https://dsps.readthedocs.io/en/latest/>`_.
|
|
7
7
|
|
|
8
8
|
Installation
|
|
@@ -28,18 +28,7 @@ For a typical development environment in conda-forge::
|
|
|
28
28
|
Documentation
|
|
29
29
|
-------------
|
|
30
30
|
|
|
31
|
-
Online documentation for diffsky is available at
|
|
31
|
+
Online documentation for diffsky is available at
|
|
32
32
|
`diffsky.readthedocs.io <https://diffsky.readthedocs.io/en/latest/>`_.
|
|
33
33
|
|
|
34
|
-
Testing
|
|
35
|
-
-------
|
|
36
|
-
To run the suite of unit tests::
|
|
37
|
-
|
|
38
|
-
$ cd /path/to/root/diffsky
|
|
39
|
-
$ pytest
|
|
40
|
-
|
|
41
|
-
To build html of test coverage::
|
|
42
|
-
|
|
43
|
-
$ pytest -v --cov --cov-report html
|
|
44
|
-
$ open htmlcov/index.html
|
|
45
34
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.3.1'
|
|
@@ -13,7 +13,7 @@ from .fburstpop_mono import (
|
|
|
13
13
|
get_fburst_from_fburstpop_params,
|
|
14
14
|
get_unbounded_fburstpop_params,
|
|
15
15
|
_get_bounded_fburstpop_param,
|
|
16
|
-
_get_unbounded_fburstpop_param
|
|
16
|
+
_get_unbounded_fburstpop_param,
|
|
17
17
|
)
|
|
18
18
|
from .freqburst_mono import (
|
|
19
19
|
DEFAULT_FREQBURST_PARAMS,
|
|
@@ -88,7 +88,9 @@ def calc_bursty_age_weights_from_diffburstpop_params(
|
|
|
88
88
|
diffburstpop_params.fburstpop_params, logsm, logssfr
|
|
89
89
|
)
|
|
90
90
|
ufburst = _get_unbounded_fburstpop_param(f_burst, FBURST_BOUNDS)
|
|
91
|
-
noisy_ufburst = _inverse_sigmoid(
|
|
91
|
+
noisy_ufburst = _inverse_sigmoid(
|
|
92
|
+
random_draw_burst, ufburst, scatter_params.fburst_scatter, 0.0, 1.0
|
|
93
|
+
)
|
|
92
94
|
noisy_fburst = _get_bounded_fburstpop_param(noisy_ufburst, FBURST_BOUNDS)
|
|
93
95
|
lgfburst = jnp.log10(noisy_fburst)
|
|
94
96
|
|
|
@@ -113,7 +115,6 @@ def calc_bursty_age_weights_from_diffburstpop_u_params(
|
|
|
113
115
|
smooth_age_weights,
|
|
114
116
|
random_draw_burst,
|
|
115
117
|
scatter_params,
|
|
116
|
-
|
|
117
118
|
):
|
|
118
119
|
diffburstpop_params = get_bounded_diffburstpop_params(diffburstpop_u_params)
|
|
119
120
|
args = (
|
|
@@ -123,7 +124,8 @@ def calc_bursty_age_weights_from_diffburstpop_u_params(
|
|
|
123
124
|
ssp_lg_age_gyr,
|
|
124
125
|
smooth_age_weights,
|
|
125
126
|
random_draw_burst,
|
|
126
|
-
scatter_params
|
|
127
|
+
scatter_params,
|
|
128
|
+
)
|
|
127
129
|
age_weights, burst_params = calc_bursty_age_weights_from_diffburstpop_params(*args)
|
|
128
130
|
return age_weights, burst_params
|
|
129
131
|
|