diffsky 0.3.0__tar.gz → 0.3.2__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.3.0 → diffsky-0.3.2}/.github/workflows/linting.yaml +9 -4
- diffsky-0.3.2/.github/workflows/mock_generation_test.yaml +120 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/.github/workflows/monthly-warning-test.yaml +3 -3
- {diffsky-0.3.0 → diffsky-0.3.2}/.github/workflows/test_latest_releases.yaml +3 -3
- {diffsky-0.3.0 → diffsky-0.3.2}/.github/workflows/test_main_branch.yaml +3 -3
- diffsky-0.3.2/.github/workflows/test_new_diffstar.yaml +90 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/.github/workflows/tests_cron.yaml +3 -3
- {diffsky-0.3.0 → diffsky-0.3.2}/.gitignore +4 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/CHANGES.rst +23 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/PKG-INFO +3 -3
- diffsky-0.3.2/diffsky/_version.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/__init__.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diagnostics/plot_fburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diagnostics/plot_tburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diagnostics/tests/test_plot_fburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diagnostics/tests/test_plot_tburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diffburstpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diffqburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diffqburstpop_mono_noise.py +6 -4
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/fburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/freqburst.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tburstpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_diffburstpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_diffqburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_fburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_fburstpop_mono.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_freqburst.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_tburstpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/cosmos_utils/cosmos_mstar_model.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/cosmos_utils/tests/test_cosmos_mstar_model.py +1 -2
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmo.txt +7 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps.txt +101 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps_a.txt +101 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmo.txt +7 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps.txt +101 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps_a.txt +101 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmo.txt +7 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps.txt +101 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps_a.txt +101 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data/LastJourney/lc_cores-decomposition.txt +1474 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_cores.py +3 -10
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +17 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +393 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/hacc_core_utils.py +7 -12
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/haccsims.py +63 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/lc_mock_production.py +709 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/lc_mock_repro.py +537 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/lightcone_utils.py +139 -11
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/load_hacc_cores.py +7 -8
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/load_lc_cf.py +9 -8
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/load_lc_cf_synthetic.py +22 -8
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/load_lc_mock.py +285 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/metadata_sfh_mock.py +354 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/test_hacc_core_utils.py +5 -17
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/tests/test_haccsims.py +79 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/tests/test_lc_mock_repro.py +179 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/test_lightcone_utils.py +38 -12
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/test_load_hacc_cores.py +2 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/test_load_lc_cf.py +4 -1
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/tests/test_load_lc_mock.py +27 -0
- diffsky-0.3.2/diffsky/data_loaders/hacc_utils/tests/test_metadata_sfh_mock.py +7 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/io_utils.py +23 -0
- diffsky-0.3.2/diffsky/data_loaders/mock_utils.py +31 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/mpi_utils.py +23 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/tests/test_cosmos_loader.py +1 -2
- diffsky-0.3.2/diffsky/data_loaders/tests/test_io_utils.py +32 -0
- diffsky-0.3.2/diffsky/data_loaders/tests/test_mock_utils.py +33 -0
- diffsky-0.3.2/diffsky/data_loaders/tests/test_mpi_utils.py +21 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diagnostics/plot_delta_mag_burstiness.py +1 -1
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diagnostics/tests/test_plot_delta_mag_burstiness.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diagnostics/tests/test_plot_diffstar_fq.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diagnostics/utils.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diffndhist.py +2 -7
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/__init__.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/avpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/avpop_flex.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/avpop_mono.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/deltapop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/diagnostics/plot_avpop_flex.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/diagnostics/plot_funopop_simple.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/diagnostics/tests/test_plot_avpop_flex.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/diagnostics/tests/test_plot_funopop_simple.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/funopop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/funopop_simple.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/funopop_ssfr.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/sbl18_dust.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/sbl18_dustpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_avpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_avpop_flex.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_avpop_mono.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_deltapop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_funopop_model.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_funopop_simple.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_funopop_ssfr.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_sbl18_dustpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_tw_dust_kernels.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_tw_dustpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_tw_dustpop_new.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tw_dust.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tw_dustpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tw_dustpop_new.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/bulge_shapes.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/disk_shapes.py +1 -1
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/ellipse_proj_kernels.py +18 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/pdf_model_utils.py +1 -1
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/test_pdf_model_utils.py +5 -1
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/black_hole_modeling/black_hole_accretion_rate.py +12 -3
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_accretion_rate.py +3 -1
- diffsky-0.3.2/diffsky/experimental/black_hole_modeling/tests/test_utils.py +13 -0
- diffsky-0.3.2/diffsky/experimental/black_hole_modeling/utils.py +81 -0
- diffsky-0.3.2/diffsky/experimental/dbk_from_mock2.py +231 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/disk_bulge_kernels.py +13 -9
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/disk_knots.py +5 -4
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/generate_bulge_disk_sample.py +12 -9
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/mc_disk_bulge.py +43 -40
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_bulge.py +20 -23
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_knots.py +6 -4
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/tests/test_generate_bulge_disk_sample.py +8 -8
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/tests/test_mc_disk_bulge.py +30 -22
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/boris_dust.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/burstshapepop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/dust_deltapop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/dustpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/lgavpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/lgfburstpop.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/nagaraj22_dust.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/photpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/tests/test_attavpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/tests/test_boris_dust.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/tests/test_burstshapepop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/tests/test_dustdeltapop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/tests/test_lgfburstpop.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/tests/test_photpop.py +2 -2
- diffsky-0.3.2/diffsky/experimental/kernels/dbk_kernels.py +116 -0
- diffsky-0.3.2/diffsky/experimental/kernels/mc_phot_kernels.py +530 -0
- diffsky-0.3.2/diffsky/experimental/kernels/ssp_weight_kernels.py +496 -0
- diffsky-0.3.2/diffsky/experimental/kernels/ssp_weight_kernels_repro.py +385 -0
- diffsky-0.3.2/diffsky/experimental/kernels/tests/test_mc_phot_kernels.py +174 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/lc_phot_kern.py +29 -24
- diffsky-0.3.2/diffsky/experimental/lc_phot_kern_repro.py +499 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/mc_diffsky_seds.py +116 -10
- diffsky-0.3.2/diffsky/experimental/mc_diffstarpop_wrappers.py +160 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/mc_lightcone_halos.py +76 -5
- diffsky-0.3.2/diffsky/experimental/mc_phot.py +274 -0
- diffsky-0.3.2/diffsky/experimental/mc_phot_repro.py +241 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/scatter.py +2 -2
- diffsky-0.3.2/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_galacticus_in_plus_ex_situ.npy +0 -0
- diffsky-0.3.2/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_smdpl_dr1.npy +0 -0
- diffsky-0.3.2/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_tng.npy +0 -0
- diffsky-0.3.2/diffsky/experimental/sfh_model_calibrations/load_diffsky_sfh_model_calibrations.py +20 -0
- diffsky-0.3.2/diffsky/experimental/sfh_model_calibrations/tests/test_load_diffsky_sfh_model_calibrations.py +13 -0
- diffsky-0.3.2/diffsky/experimental/size_modeling/disk_bulge_sizes.py +148 -0
- diffsky-0.3.2/diffsky/experimental/size_modeling/tests/test_disk_bulge_sizes.py +60 -0
- diffsky-0.3.2/diffsky/experimental/tests/test_dbk_from_mock2.py +263 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_lc_phot_kern.py +4 -2
- diffsky-0.3.2/diffsky/experimental/tests/test_lc_phot_kern_repro.py +201 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_mc_diffsky_seds.py +65 -9
- diffsky-0.3.2/diffsky/experimental/tests/test_mc_diffstarpop_wrappers.py +60 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_mc_lightcone_halos.py +45 -0
- diffsky-0.3.2/diffsky/experimental/tests/test_mc_phot.py +169 -0
- diffsky-0.3.2/diffsky/experimental/tests/test_mc_phot_repro.py +129 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_photometry_interpolation.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_scatter.py +7 -18
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_sobol_lightcone.py +1 -1
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/test_mc_ellipticial_velocities.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/__init__.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/ccshmf_model.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fit_ccshmf.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fit_ccshmf_kernels.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fit_hmf_kernels.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fitting_helpers.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf_kernels.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_kernels.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/io_utils/loader.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/io_utils/smdpl_helpers.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/kernels/ccshmf_kernels.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/kernels/hmf_kernels.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/kernels/tests/test_ccshmf_kernels.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/kernels/tests/test_hmf_kernels.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/measure_ccshmf.py +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/fit_hmf_disc_lcdm.py +0 -1
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/measure_hmf_target_data_hacc.py +0 -1
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/smhm_kernels/tests/test_threeroll_smhm.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_ccshmf.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_mc_subs.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_mc_tinfall.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_measure_hmf.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/utils.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mc_diffsky.py +5 -3
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/merging/tests/test_fitmerge_multi_redshift.py +108 -38
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/merging/tests/test_merging_model.py +7 -14
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/param_utils/diffsky_param_wrapper.py +103 -11
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/param_utils/tests/test_diffsky_param_wrapper.py +42 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/param_utils/tests/test_spspop_param_utils.py +4 -4
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ssp_err_model/ssp_err_model.py +6 -20
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ssp_err_model/tests/test_ssp_err_model.py +1 -1
- diffsky-0.3.2/diffsky/ssp_err_model2/defaults.py +237 -0
- diffsky-0.3.2/diffsky/ssp_err_model2/ssp_err_model.py +316 -0
- diffsky-0.3.2/diffsky/ssp_err_model2/tests/test_ssp_err_model.py +171 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/sumstats/diffndhist.py +2 -7
- diffsky-0.3.2/diffsky/sumstats/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/sumstats/tests/test_smhm.py +1 -2
- diffsky-0.3.2/diffsky/systematics/__init__.py +0 -0
- diffsky-0.3.2/diffsky/systematics/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/systematics/tests/test_ssp_errors.py +1 -2
- diffsky-0.3.2/diffsky/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_dependencies.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_diffndhist.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_diffsky_setup.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_mc_diffsky.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_phot_utils.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_sbl18_photgrad.py +2 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_tw_photgrad.py +2 -2
- diffsky-0.3.2/diffsky/tests/testing_data/__init__.py +0 -0
- diffsky-0.3.2/diffsky/utils/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/utility_funcs.py +1 -2
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky.egg-info/PKG-INFO +3 -3
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky.egg-info/SOURCES.txt +62 -8
- diffsky-0.3.2/diffsky.egg-info/requires.txt +6 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/demo_diffsky_lightcone.ipynb +153 -33
- diffsky-0.3.2/docs/source/demo_diffsky_recompute_from_mock.ipynb +303 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/demos.rst +1 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/pyproject.toml +1 -1
- diffsky-0.3.2/requirements.txt +6 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_CROSSX/inspect_lc_cf_crossx_job_logs.py +18 -0
- diffsky-0.3.2/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +118 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_CROSSX/lc_cf_crossmatch_script.py +2 -0
- diffsky-0.3.2/scripts/LJ_LC_MOCKS/generate_sed_mock_jobs.py +124 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_LC_MOCKS/inspect_lc_mock.py +8 -3
- diffsky-0.3.2/scripts/LJ_LC_MOCKS/inspect_sed_mock_job_logs.py +144 -0
- diffsky-0.3.2/scripts/LJ_LC_MOCKS/make_ou26_mock.py +437 -0
- diffsky-0.3.2/scripts/LJ_LC_MOCKS/run_sed_mocks.sh +25 -0
- diffsky-0.3.2/scripts/__init__.py +0 -0
- diffsky-0.3.2/scripts/tests/__init__.py +0 -0
- diffsky-0.3.0/diffsky/_version.py +0 -1
- diffsky-0.3.0/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +0 -36
- diffsky-0.3.0/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +0 -109
- diffsky-0.3.0/diffsky/data_loaders/hacc_utils/lc_mock_production.py +0 -281
- diffsky-0.3.0/diffsky/data_loaders/hacc_utils/load_lc_mock.py +0 -39
- diffsky-0.3.0/diffsky/data_loaders/hacc_utils/metadata_sfh_mock.py +0 -183
- diffsky-0.3.0/diffsky/data_loaders/hacc_utils/tests/test_lc_mock_production.py +0 -35
- diffsky-0.3.0/diffsky/experimental/mc_diffsky_phot.py +0 -545
- diffsky-0.3.0/diffsky/experimental/ssp_err_pop.py +0 -147
- diffsky-0.3.0/diffsky/experimental/tests/test_mc_diffsky_phot.py +0 -61
- diffsky-0.3.0/diffsky/experimental/tests/test_ssp_err_pop.py +0 -96
- diffsky-0.3.0/diffsky.egg-info/requires.txt +0 -6
- diffsky-0.3.0/requirements.txt +0 -6
- diffsky-0.3.0/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +0 -43
- diffsky-0.3.0/scripts/LJ_LC_MOCKS/make_sed_lc_mock_lj.py +0 -213
- diffsky-0.3.0/scripts/LJ_LC_MOCKS/make_sfh_lc_mock_lj.py +0 -182
- diffsky-0.3.0/scripts/tests/test_make_sfh_lj_mock.py +0 -5
- {diffsky-0.3.0 → diffsky-0.3.2}/.coveragerc +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/.git_archival.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/.gitattributes +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/.github/dependabot.yml +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/.readthedocs.yml +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/LICENSE.rst +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/README.rst +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diagnostics/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/diffqburstpop_mono.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/fburstpop_mono.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/freqburst_mono.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_diffqburstpop_mono.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_diffqburstpop_mono_noise.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/burstpop/tests/test_freqburst_mono.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/cosmos_utils/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/cosmos_utils/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/cosmos20_loader.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/data_validation/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/data_validation/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_cores.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/defaults.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/test_defaults.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/testing_data/lc_cores-decomposition.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/testing_data/phi_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/testing_data/redshift_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/testing_data/theta_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/testing_data/x_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/testing_data/y_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/hacc_utils/tests/testing_data/z_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/tests/test_imports.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/tests/testing_data/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/tests/testing_data/cosmos20_shasum.dat +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/data_loaders/um_binary_loader.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diagnostics/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diagnostics/plot_diffstar_fq.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/diagnostics/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/sbl18_dust_kernels.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_tw_dustpop_mono.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tests/test_tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tw_dust_kernels.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tw_dustpop_mono.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/dustpop/tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/bulge_opt.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/disk_opt.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/test_bulge_opt.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/test_bulge_shapes.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/test_disk_opt.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/test_disk_shapes.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/test_ellipse_proj_kernels.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/testing_data/ellipsoid_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/ellipsoidal_shapes/tests/testing_data/spiral_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/black_hole_modeling/README.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/black_hole_modeling/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/black_hole_modeling/black_hole_mass.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/black_hole_modeling/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_mass.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/diagnostics/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/diagnostics/check_smhm.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/diagnostics/tests/test_check_smhm.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/disk_bulge_modeling/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/dspspop/tests/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/experimental/tests → diffsky-0.3.2/diffsky/experimental/kernels}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/fake_sats → diffsky-0.3.2/diffsky/experimental/kernels/tests}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/lc_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/phot_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/photometry_interpolation.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/precompute_ssp_phot.py +0 -0
- {diffsky-0.3.0/diffsky/fake_sats/tests → diffsky-0.3.2/diffsky/experimental/sfh_model_calibrations}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/fitting_utils → diffsky-0.3.2/diffsky/experimental/sfh_model_calibrations/tests}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/fitting_utils/calibrations → diffsky-0.3.2/diffsky/experimental/size_modeling}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/fitting_utils/calibrations → diffsky-0.3.2/diffsky/experimental/size_modeling}/tests/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/fitting_utils/diagnostics → diffsky-0.3.2/diffsky/experimental/tests}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_lc_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_precompute_ssp_phot.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/experimental/tests/test_top_level_imports.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/fitting_utils/diagnostics/tests → diffsky-0.3.2/diffsky/fake_sats}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/ellipsoidal_velocities.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/halo_boundary_functions.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/nfw_config_space.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/rotations3d.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/fitting_utils → diffsky-0.3.2/diffsky/fake_sats}/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/test_ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/test_halo_boundary_functions.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/test_nfw_config_space.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/test_rotations3d.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/testing_data/halo_mass_ht_test.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/testing_data/halo_radius_200c_ht_test.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/tests/testing_data/redshift_ht_test.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/fake_sats/vector_utilities.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/README.rst +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/hmf_calibrations/tests → diffsky-0.3.2/diffsky/mass_functions/fitting_utils}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/io_utils → diffsky-0.3.2/diffsky/mass_functions/fitting_utils/calibrations}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/calibrations/hacc_core_shmf_params.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/kernels → diffsky-0.3.2/diffsky/mass_functions/fitting_utils/calibrations/tests}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/calibrations/tests/test_hacc_core_shmf_params.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/kernels/tests → diffsky-0.3.2/diffsky/mass_functions/fitting_utils/diagnostics}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/diagnostics/hmf_fit_diagnostics.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/smhm_kernels → diffsky-0.3.2/diffsky/mass_functions/fitting_utils/diagnostics/tests}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/diagnostics/tests/test_hmf_fit_diagnostics.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fit_flat_hmf_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fit_halobias_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fit_halobias_singlez_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/fit_hmf_model.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/smhm_kernels → diffsky-0.3.2/diffsky/mass_functions/fitting_utils}/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/tests/test_fit_flat_hmf_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model_singlez.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/flat_hmf_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/halobias_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/halobias_singlez_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params_all.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/hmf_param_reader.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params_all.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_fitting_helpers.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_subs.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions → diffsky-0.3.2/diffsky/mass_functions/hmf_calibrations}/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/test_imports.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/test_lj_hmf.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/test_smdpl_hmf.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_logmp_bins.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_redshift_bins.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_logmp_bins.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_redshift_bins.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/hmf_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/io_utils/README.txt +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/tests/testing_data → diffsky-0.3.2/diffsky/mass_functions/io_utils}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/upweighting → diffsky-0.3.2/diffsky/mass_functions/kernels}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/mass_functions/upweighting → diffsky-0.3.2/diffsky/mass_functions/kernels}/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/mc_diffmah_tpeak.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/mc_hosts.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/mc_subs.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/mc_tinfall.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/measure_hmf.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/run_hmf_tabulation_disc_lcdm.sh +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/scripts/last_journey_calibration/fit_hmf_lj.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/scripts/last_journey_calibration/measure_hmf_target_data_hacc.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/scripts/smdpl_calibration/fit_smdpl_hmf_script.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/scripts/smdpl_calibration/measure_smdpl_hmf_script.py +0 -0
- {diffsky-0.3.0/diffsky/merging → diffsky-0.3.2/diffsky/mass_functions/smhm_kernels}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/merging/diagnostics → diffsky-0.3.2/diffsky/mass_functions/smhm_kernels/tests}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/smhm_kernels/threeroll_kernels.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/smhm_kernels/threeroll_smhm.py +0 -0
- {diffsky-0.3.0/diffsky/merging/diagnostics → diffsky-0.3.2/diffsky/mass_functions}/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_flat_hmf_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_halobias_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_halobias_singlez_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_hmf_model.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_mc_diffmah_tpeak.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/test_mc_hosts.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/README.txt +0 -0
- {diffsky-0.3.0/diffsky/merging/tests → diffsky-0.3.2/diffsky/mass_functions/tests/testing_data}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_12.32.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.00.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.55.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_14.08.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.31.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.99.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_13.51.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_14.05.txt +0 -0
- {diffsky-0.3.0/diffsky/param_utils → diffsky-0.3.2/diffsky/mass_functions/upweighting}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/upweighting/namedtuple_cat_utils.py +0 -0
- {diffsky-0.3.0/diffsky/param_utils → diffsky-0.3.2/diffsky/mass_functions/upweighting}/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/upweighting/tests/test_mc_gen_upweighting.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/mass_functions/upweighting/upweighting.py +0 -0
- {diffsky-0.3.0/diffsky/ssp_err_model → diffsky-0.3.2/diffsky/merging}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/ssp_err_model/tests → diffsky-0.3.2/diffsky/merging/diagnostics}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/merging/diagnostics/plot_pmerge_vs_time.py +0 -0
- {diffsky-0.3.0/diffsky/sumstats → diffsky-0.3.2/diffsky/merging/diagnostics/tests}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/merging/diagnostics/tests/test_plot_pmerge_vs_time.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/merging/fitmerge_multi_redshift.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/merging/merging_model.py +0 -0
- {diffsky-0.3.0/diffsky/sumstats → diffsky-0.3.2/diffsky/merging}/tests/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/systematics → diffsky-0.3.2/diffsky/param_utils}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/param_utils/spspop_param_utils.py +0 -0
- {diffsky-0.3.0/diffsky/systematics → diffsky-0.3.2/diffsky/param_utils}/tests/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/phot_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/sbl18_photgrad.py +0 -0
- {diffsky-0.3.0/diffsky/tests → diffsky-0.3.2/diffsky/ssp_err_model}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/tests/testing_data → diffsky-0.3.2/diffsky/ssp_err_model/tests}/__init__.py +0 -0
- {diffsky-0.3.0/diffsky/utils/tests → diffsky-0.3.2/diffsky/ssp_err_model2}/__init__.py +0 -0
- {diffsky-0.3.0/scripts → diffsky-0.3.2/diffsky/ssp_err_model2/tests}/__init__.py +0 -0
- {diffsky-0.3.0/scripts/tests → diffsky-0.3.2/diffsky/sumstats}/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/sumstats/smhm.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/systematics/ssp_errors.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tests/test_imports.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/tw_photgrad.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/__init__.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/crossmatch_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/sfh_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/tests/test_crossmatch_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/tests/test_sfh_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/tests/test_tw_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/tests/test_utility_funcs.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky/utils/tw_utils.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky.egg-info/dependency_links.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/diffsky.egg-info/top_level.txt +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/Makefile +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/make.bat +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/citation.rst +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/conf.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/demo_diffmahpop_lightcone.ipynb +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/demo_diffmahpop_t_peak.ipynb +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/index.rst +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/installation.rst +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/rtd_environment.yaml +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/docs/source/validate_mc_lightcones.ipynb +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_CROSSX/bebop_jobs.sh +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_CROSSX/generate_lj_cf_crossmatch_jobs.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_CROSSX/run_lc_cf_crossmatch_base.sh +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_CROSSX/run_tabulate_coreforest_overlap.sh +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_CROSSX/tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_LC_MOCKS/generate_sfh_mock_jobs.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/LJ_SNAP_MOCKS/make_sfh_lj_snapshot_mock.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/tests/test_inspect_lightcone_mock.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/scripts/tests/test_tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/setup.cfg +0 -0
- {diffsky-0.3.0 → diffsky-0.3.2}/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,11 +8,11 @@ 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:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
16
|
|
|
17
17
|
- uses: conda-incubator/setup-miniconda@v3
|
|
18
18
|
with:
|
|
@@ -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,120 @@
|
|
|
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_ou26_mock.py -synthetic_cores 1
|
|
16
|
+
runs-on: "ubuntu-latest"
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- name: free disk space
|
|
20
|
+
uses: endersonmenezes/free-disk-space@v3
|
|
21
|
+
with:
|
|
22
|
+
remove_android: true
|
|
23
|
+
remove_dotnet: true
|
|
24
|
+
remove_haskell: true
|
|
25
|
+
rm_cmd: "rmz"
|
|
26
|
+
|
|
27
|
+
- uses: actions/checkout@v6
|
|
28
|
+
with:
|
|
29
|
+
fetch-depth: 0
|
|
30
|
+
|
|
31
|
+
- uses: conda-incubator/setup-miniconda@v3
|
|
32
|
+
with:
|
|
33
|
+
python-version: 3.11
|
|
34
|
+
channels: conda-forge
|
|
35
|
+
channel-priority: strict
|
|
36
|
+
show-channel-urls: true
|
|
37
|
+
miniforge-version: latest
|
|
38
|
+
|
|
39
|
+
- name: configure conda and install code
|
|
40
|
+
shell: bash -l {0}
|
|
41
|
+
env:
|
|
42
|
+
GITHUB_TOKEN: ${{ secrets.CPAC_PRIVATE_REPO_TOKEN }}
|
|
43
|
+
GITHUB_USER: ${{ secrets.GH_USR_TESTING_TOKEN }}
|
|
44
|
+
|
|
45
|
+
run: |
|
|
46
|
+
conda config --set always_yes yes
|
|
47
|
+
conda install --quiet \
|
|
48
|
+
--file=requirements.txt
|
|
49
|
+
conda install --quiet \
|
|
50
|
+
pip \
|
|
51
|
+
setuptools \
|
|
52
|
+
"setuptools_scm>=7,<8" \
|
|
53
|
+
matplotlib \
|
|
54
|
+
astropy \
|
|
55
|
+
h5py \
|
|
56
|
+
mpi4py \
|
|
57
|
+
mpich
|
|
58
|
+
conda uninstall diffmah --force
|
|
59
|
+
conda uninstall diffstar --force
|
|
60
|
+
conda uninstall dsps --force
|
|
61
|
+
pip install --no-deps --no-build-isolation git+https://github.com/ArgonneCPAC/diffmah.git
|
|
62
|
+
pip install --no-deps --no-build-isolation git+https://github.com/ArgonneCPAC/diffstar.git
|
|
63
|
+
pip install --no-deps --no-build-isolation git+https://github.com/ArgonneCPAC/dsps.git
|
|
64
|
+
python -m pip install --no-build-isolation --no-deps -e .
|
|
65
|
+
|
|
66
|
+
- name: download dsps data
|
|
67
|
+
shell: bash -l {0}
|
|
68
|
+
run: |
|
|
69
|
+
# Create data directory
|
|
70
|
+
mkdir -p dsps_drn/filters
|
|
71
|
+
|
|
72
|
+
# Download data
|
|
73
|
+
cd dsps_drn
|
|
74
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/ssp_data_fsps_v3.2_lgmet_age.h5
|
|
75
|
+
cd filters
|
|
76
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_u_transmission.h5
|
|
77
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_g_transmission.h5
|
|
78
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_r_transmission.h5
|
|
79
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_i_transmission.h5
|
|
80
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_z_transmission.h5
|
|
81
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_y_transmission.h5
|
|
82
|
+
cd ..
|
|
83
|
+
cd ..
|
|
84
|
+
|
|
85
|
+
# Set environment variable
|
|
86
|
+
export DSPS_DRN="${GITHUB_WORKSPACE}/dsps_drn"
|
|
87
|
+
echo "DSPS_DRN=${DSPS_DRN}" >> $GITHUB_ENV
|
|
88
|
+
|
|
89
|
+
- name: run mock generation script
|
|
90
|
+
shell: bash -l {0}
|
|
91
|
+
run: |
|
|
92
|
+
# Create output directory
|
|
93
|
+
mkdir -p ci_test_output
|
|
94
|
+
|
|
95
|
+
# Run mock production script
|
|
96
|
+
mpiexec -n 1 python scripts/LJ_LC_MOCKS/make_ou26_mock.py \
|
|
97
|
+
poboy \
|
|
98
|
+
0.01 \
|
|
99
|
+
0.2 \
|
|
100
|
+
0 \
|
|
101
|
+
1 \
|
|
102
|
+
ci_test_output \
|
|
103
|
+
ci_test_mock \
|
|
104
|
+
-fn_u_params sfh_model \
|
|
105
|
+
-sfh_model smdpl_dr1 \
|
|
106
|
+
-synthetic_cores 1 \
|
|
107
|
+
-lgmp_min 12.0 \
|
|
108
|
+
-lgmp_max 13.0 \
|
|
109
|
+
--lsst_only
|
|
110
|
+
|
|
111
|
+
- name: verify script completed
|
|
112
|
+
shell: bash -l {0}
|
|
113
|
+
run: |
|
|
114
|
+
echo "Mock generation script completed successfully"
|
|
115
|
+
|
|
116
|
+
- name: validate mock
|
|
117
|
+
shell: bash -l {0}
|
|
118
|
+
run: |
|
|
119
|
+
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/synthetic_cores/smdpl_dr1
|
|
120
|
+
|
|
@@ -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,11 +8,11 @@ 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:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
16
|
with:
|
|
17
17
|
fetch-depth: 0
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Test against latest diffstuff releases
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -8,11 +8,11 @@ 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:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
16
|
with:
|
|
17
17
|
fetch-depth: 0
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Test with Main Branch Dependencies
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -8,11 +8,11 @@ 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:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
16
|
with:
|
|
17
17
|
fetch-depth: 0
|
|
18
18
|
|
|
@@ -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@v6
|
|
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,11 +12,11 @@ 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:
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@v6
|
|
20
20
|
with:
|
|
21
21
|
fetch-depth: 0
|
|
22
22
|
|
|
@@ -2,15 +2,19 @@ diffsky/_version.py
|
|
|
2
2
|
|
|
3
3
|
Untitled*.ipynb
|
|
4
4
|
*.h5
|
|
5
|
+
*.hdf5
|
|
5
6
|
*.pdf
|
|
6
7
|
*.npy
|
|
7
8
|
*.png
|
|
9
|
+
*.txt
|
|
8
10
|
|
|
9
11
|
scripts/*.cfg
|
|
10
12
|
scripts/*.cfg~
|
|
11
13
|
|
|
12
14
|
.DS_Store
|
|
13
15
|
|
|
16
|
+
docs/source/drn_dsps_temp/*
|
|
17
|
+
|
|
14
18
|
# Byte-compiled / optimized / DLL files
|
|
15
19
|
__pycache__/
|
|
16
20
|
*.py[cod]
|
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
0.3.2 (2025-12-04)
|
|
2
|
+
-------------------
|
|
3
|
+
- Resolve bug in the treatment of scatter in the SSP errors.
|
|
4
|
+
- Component vs composite SEDs now exactly agree
|
|
5
|
+
- Improved CI and unit testing
|
|
6
|
+
- See (https://github.com/ArgonneCPAC/diffsky/pull/284) for details.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
0.3.1 (2025-11-23)
|
|
10
|
+
-------------------
|
|
11
|
+
- Update diffsky to be compatible with diffstar v1.0.2 (https://github.com/ArgonneCPAC/diffsky/pull/277)
|
|
12
|
+
- Add new module to recompute photometry from mock (https://github.com/ArgonneCPAC/diffsky/pull/272)
|
|
13
|
+
- Implement mock-production validation test of recomputed photometry (https://github.com/ArgonneCPAC/diffsky/pull/274)
|
|
14
|
+
- Add kernel to decompose SED into Disk/bulge/knot components (https://github.com/ArgonneCPAC/diffsky/pull/248)
|
|
15
|
+
- Fix memory leak in SED mock production script (https://github.com/ArgonneCPAC/diffsky/pull/244)
|
|
16
|
+
- Parallelize mock-production script (https://github.com/ArgonneCPAC/diffsky/pull/267)
|
|
17
|
+
- Compute mock photometry in batches (https://github.com/ArgonneCPAC/diffsky/pull/269)
|
|
18
|
+
- Add size and orientation of disk and bulge to galaxies in SED mock
|
|
19
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/254
|
|
20
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/265
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
1
24
|
0.3.0 (2025-10-03)
|
|
2
25
|
-------------------
|
|
3
26
|
- Update diffsky to be compatible with diffstar v1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diffsky
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
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,8 +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>=1.0.
|
|
43
|
+
Requires-Dist: diffmah>=0.7.3
|
|
44
|
+
Requires-Dist: diffstar>=1.0.1
|
|
45
45
|
Requires-Dist: dsps>=0.4.5
|
|
46
46
|
Requires-Dist: h5py
|
|
47
47
|
Dynamic: license-file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.3.2'
|
|
@@ -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
|
|