diffsky 0.3.1__tar.gz → 0.3.3__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.1 → diffsky-0.3.3}/.github/workflows/linting.yaml +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/.github/workflows/mock_generation_test.yaml +66 -17
- {diffsky-0.3.1 → diffsky-0.3.3}/.github/workflows/monthly-warning-test.yaml +1 -1
- diffsky-0.3.3/.github/workflows/shape_optimization.yaml +85 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/.github/workflows/test_latest_releases.yaml +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/.github/workflows/test_main_branch.yaml +2 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/.github/workflows/test_new_diffstar.yaml +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/.github/workflows/tests_cron.yaml +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/.gitignore +2 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/CHANGES.rst +29 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/PKG-INFO +1 -1
- diffsky-0.3.3/diffsky/_version.py +1 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diagnostics/plot_fburstpop.py +10 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diagnostics/plot_tburstpop.py +10 -2
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diagnostics/tests/test_plot_fburstpop.py +9 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diagnostics/tests/test_plot_tburstpop.py +8 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/cosmos20_loader.py +91 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +50 -23
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/lc_mock_production.py → diffsky-0.3.3/diffsky/data_loaders/hacc_utils/lc_mock.py +196 -188
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/lightcone_utils.py +55 -16
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/load_lc_cf.py +3 -3
- diffsky-0.3.3/diffsky/data_loaders/hacc_utils/load_lc_cf_synthetic.py +162 -0
- diffsky-0.3.3/diffsky/data_loaders/hacc_utils/load_lc_mock.py +297 -0
- diffsky-0.3.3/diffsky/data_loaders/hacc_utils/metadata_mock.py +538 -0
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/tests/test_lc_mock_production.py → diffsky-0.3.3/diffsky/data_loaders/hacc_utils/tests/test_lc_mock.py +44 -38
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/test_lightcone_utils.py +50 -1
- diffsky-0.3.3/diffsky/data_loaders/hacc_utils/tests/test_load_lc_cf_synthetic.py +53 -0
- diffsky-0.3.3/diffsky/data_loaders/hacc_utils/tests/test_load_lc_mock.py +27 -0
- diffsky-0.3.3/diffsky/data_loaders/hacc_utils/tests/test_metadata_mock.py +32 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/test_cosmos_loader.py +33 -0
- diffsky-0.3.3/diffsky/diagnostics/plot_cosmos.py +519 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diagnostics/plot_delta_mag_burstiness.py +8 -4
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diagnostics/plot_diffstar_fq.py +4 -0
- diffsky-0.3.3/diffsky/diagnostics/tests/test_plot_cosmos.py +51 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diagnostics/tests/test_plot_delta_mag_burstiness.py +4 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/diagnostics/plot_avpop_flex.py +11 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/diagnostics/plot_funopop_simple.py +10 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/diagnostics/tests/test_plot_avpop_flex.py +9 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/diagnostics/tests/test_plot_funopop_simple.py +9 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/bulge_opt.py +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/bulge_shapes.py +1 -1
- diffsky-0.3.3/diffsky/ellipsoidal_shapes/diagnostics/plot_b_over_a_rp13.py +151 -0
- diffsky-0.3.3/diffsky/ellipsoidal_shapes/diagnostics/tests/test_plot_b_over_a_rp13.py +15 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/disk_opt.py +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/disk_shapes.py +3 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/ellipse_proj_kernels.py +54 -68
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/test_ellipse_proj_kernels.py +70 -21
- diffsky-0.3.3/diffsky/experimental/dbk_phot_from_mock.py +231 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/diagnostics/check_smhm.py +5 -0
- diffsky-0.3.3/diffsky/experimental/kernels/dbk_kernels.py +116 -0
- diffsky-0.3.3/diffsky/experimental/kernels/mc_phot_kernels.py +530 -0
- diffsky-0.3.3/diffsky/experimental/kernels/ssp_weight_kernels.py +385 -0
- diffsky-0.3.3/diffsky/experimental/kernels/tests/test_mc_phot_kernels.py +174 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/lc_phot_kern.py +15 -30
- diffsky-0.3.3/diffsky/experimental/mc_diffstarpop_wrappers.py +160 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/mc_lightcone_halos.py +101 -3
- diffsky-0.3.3/diffsky/experimental/mc_phot.py +241 -0
- diffsky-0.3.3/diffsky/experimental/sfh_model_calibrations/load_diffsky_sfh_model_calibrations.py +67 -0
- diffsky-0.3.3/diffsky/experimental/sfh_model_calibrations/tests/test_load_diffsky_sfh_model_calibrations.py +25 -0
- diffsky-0.3.3/diffsky/experimental/tests/test_dbk_from_mock2.py +265 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/tests/test_lc_phot_kern.py +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/tests/test_mc_lightcone_halos.py +61 -0
- diffsky-0.3.3/diffsky/experimental/tests/test_mc_phot.py +129 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/diagnostics/hmf_fit_diagnostics.py +12 -3
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/fit_hmf_disc_lcdm.py +11 -2
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/scripts/last_journey_calibration/fit_hmf_lj.py +11 -2
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/merging/diagnostics/plot_pmerge_vs_time.py +12 -2
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/merging/diagnostics/tests/test_plot_pmerge_vs_time.py +8 -1
- diffsky-0.3.3/diffsky/param_utils/cosmos_params_cosmos260105.py +240 -0
- diffsky-0.3.3/diffsky/param_utils/get_mock_params.py +31 -0
- diffsky-0.3.3/diffsky/param_utils/tests/test_get_mock_params.py +27 -0
- diffsky-0.3.3/diffsky/ssp_err_model2/defaults.py +237 -0
- diffsky-0.3.3/diffsky/ssp_err_model2/ssp_err_model.py +316 -0
- diffsky-0.3.3/diffsky/ssp_err_model2/tests/test_ssp_err_model.py +171 -0
- diffsky-0.3.3/diffsky/systematics/tests/__init__.py +0 -0
- diffsky-0.3.3/diffsky/tests/__init__.py +0 -0
- diffsky-0.3.3/diffsky/tests/testing_data/__init__.py +0 -0
- diffsky-0.3.3/diffsky/utils/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky.egg-info/PKG-INFO +1 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky.egg-info/SOURCES.txt +39 -19
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/demo_diffsky_lightcone.ipynb +153 -33
- diffsky-0.3.3/docs/source/demo_diffsky_recompute_from_mock.ipynb +303 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/demos.rst +1 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/validate_mc_lightcones.ipynb +40 -3
- diffsky-0.3.3/scripts/LJ_CROSSX/check_lc_cf_completeness.py +183 -0
- diffsky-0.3.3/scripts/LJ_CROSSX/generate_lj_cf_crossmatch_holepatch_jobs.py +118 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/generate_lj_cf_crossmatch_jobs.py +3 -1
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/inspect_lc_cf_crossx_job_logs.py +4 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/lc_cf_crossmatch_script.py +3 -3
- diffsky-0.3.3/scripts/LJ_LC_MOCKS/make_ou26_mock_batch.py +458 -0
- diffsky-0.3.3/scripts/__init__.py +0 -0
- diffsky-0.3.3/scripts/ellipsoid_shape_fitting/README.txt +1 -0
- diffsky-0.3.3/scripts/ellipsoid_shape_fitting/fit_bulge_shapes_to_rp13.py +82 -0
- diffsky-0.3.3/scripts/ellipsoid_shape_fitting/fit_disk_shapes_to_rp13.py +78 -0
- diffsky-0.3.3/scripts/tests/__init__.py +0 -0
- diffsky-0.3.1/diffsky/_version.py +0 -1
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/load_lc_cf_synthetic.py +0 -86
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/load_lc_mock.py +0 -39
- diffsky-0.3.1/diffsky/data_loaders/hacc_utils/metadata_sfh_mock.py +0 -471
- diffsky-0.3.1/diffsky/experimental/dbk_from_mock.py +0 -278
- diffsky-0.3.1/diffsky/experimental/mc_diffsky_disk_bulge_knot_seds.py +0 -943
- diffsky-0.3.1/diffsky/experimental/mc_diffsky_disk_bulge_seds.py +0 -922
- diffsky-0.3.1/diffsky/experimental/mc_diffsky_phot.py +0 -548
- diffsky-0.3.1/diffsky/experimental/mc_diffsky_seds.py +0 -1010
- diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/load_diffsky_sfh_model_calibrations.py +0 -20
- diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/tests/test_load_diffsky_sfh_model_calibrations.py +0 -13
- diffsky-0.3.1/diffsky/experimental/ssp_err_pop.py +0 -146
- diffsky-0.3.1/diffsky/experimental/tests/test_dbk_from_mock.py +0 -133
- diffsky-0.3.1/diffsky/experimental/tests/test_mc_diffsky_disk_bulge_knot_seds.py +0 -149
- diffsky-0.3.1/diffsky/experimental/tests/test_mc_diffsky_phot.py +0 -61
- diffsky-0.3.1/diffsky/experimental/tests/test_mc_diffsky_seds.py +0 -278
- diffsky-0.3.1/diffsky/experimental/tests/test_ssp_err_pop.py +0 -95
- diffsky-0.3.1/diffsky/experimental/tests/test_top_level_imports.py +0 -14
- diffsky-0.3.1/scripts/LJ_LC_MOCKS/make_dbk_sed_lc_mock_lj.py +0 -412
- diffsky-0.3.1/scripts/LJ_LC_MOCKS/make_sed_lc_mock_lj.py +0 -296
- diffsky-0.3.1/scripts/LJ_LC_MOCKS/make_sfh_lc_mock_lj.py +0 -182
- diffsky-0.3.1/scripts/tests/test_make_sfh_lj_mock.py +0 -5
- {diffsky-0.3.1 → diffsky-0.3.3}/.coveragerc +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/.git_archival.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/.gitattributes +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/.github/dependabot.yml +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/.readthedocs.yml +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/LICENSE.rst +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/README.rst +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diagnostics/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diffburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diffqburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diffqburstpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/diffqburstpop_mono_noise.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/fburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/fburstpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/freqburst.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/freqburst_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_diffburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_diffqburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_diffqburstpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_diffqburstpop_mono_noise.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_fburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_fburstpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_freqburst.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_freqburst_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/burstpop/tests/test_tburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/cosmos_utils/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/cosmos_utils/cosmos_mstar_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/cosmos_utils/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/cosmos_utils/tests/test_cosmos_mstar_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmo.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps_a.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmo.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps_a.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmo.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps_a.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data/LastJourney/lc_cores-decomposition.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data_validation/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data_validation/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_cores.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_cores.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/defaults.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/hacc_core_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/haccsims.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/load_hacc_cores.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/test_defaults.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/test_hacc_core_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/test_haccsims.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/test_load_hacc_cores.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/test_load_lc_cf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/testing_data/lc_cores-decomposition.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/testing_data/phi_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/testing_data/redshift_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/testing_data/theta_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/testing_data/x_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/testing_data/y_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/tests/testing_data/z_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/io_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/mock_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/mpi_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/test_imports.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/test_io_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/test_mock_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/test_mpi_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/testing_data/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/tests/testing_data/cosmos20_shasum.dat +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/um_binary_loader.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diagnostics/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diagnostics/tests/test_plot_diffstar_fq.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diagnostics/utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/diffndhist.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/avpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/avpop_flex.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/avpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/deltapop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/diagnostics/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/funopop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/funopop_simple.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/funopop_ssfr.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/sbl18_dust.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/sbl18_dust_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/sbl18_dustpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_avpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_avpop_flex.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_avpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_deltapop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_funopop_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_funopop_simple.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_funopop_ssfr.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_sbl18_dustpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_tw_dust_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_tw_dustpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_tw_dustpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tests/test_tw_dustpop_new.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tw_dust.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tw_dust_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tw_dustpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tw_dustpop_mono.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/dustpop/tw_dustpop_new.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/ellipsoidal_shapes/tests → diffsky-0.3.3/diffsky/ellipsoidal_shapes/diagnostics}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/black_hole_modeling → diffsky-0.3.3/diffsky/ellipsoidal_shapes/diagnostics/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/pdf_model_utils.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/black_hole_modeling → diffsky-0.3.3/diffsky/ellipsoidal_shapes}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/test_bulge_opt.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/test_bulge_shapes.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/test_disk_opt.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/test_disk_shapes.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/test_pdf_model_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/testing_data/ellipsoid_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ellipsoidal_shapes/tests/testing_data/spiral_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/black_hole_modeling/README.txt +0 -0
- {diffsky-0.3.1/diffsky/experimental/diagnostics → diffsky-0.3.3/diffsky/experimental/black_hole_modeling}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/black_hole_modeling/black_hole_accretion_rate.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/black_hole_modeling/black_hole_mass.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/diagnostics → diffsky-0.3.3/diffsky/experimental/black_hole_modeling}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_accretion_rate.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_mass.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/black_hole_modeling/tests/test_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/black_hole_modeling/utils.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/disk_bulge_modeling → diffsky-0.3.3/diffsky/experimental/diagnostics}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/disk_bulge_modeling → diffsky-0.3.3/diffsky/experimental/diagnostics}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/diagnostics/tests/test_check_smhm.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/dspspop → diffsky-0.3.3/diffsky/experimental/disk_bulge_modeling}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/disk_bulge_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/disk_knots.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/generate_bulge_disk_sample.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/mc_disk_bulge.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/dspspop → diffsky-0.3.3/diffsky/experimental/disk_bulge_modeling}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_bulge.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_knots.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/tests/test_generate_bulge_disk_sample.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/disk_bulge_modeling/tests/test_mc_disk_bulge.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations → diffsky-0.3.3/diffsky/experimental/dspspop}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/boris_dust.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/burstshapepop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/dust_deltapop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/dustpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/lgavpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/lgfburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/nagaraj22_dust.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/photpop.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations → diffsky-0.3.3/diffsky/experimental/dspspop}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/tests/test_attavpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/tests/test_boris_dust.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/tests/test_burstshapepop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/tests/test_dustdeltapop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/tests/test_lgfburstpop.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/dspspop/tests/test_photpop.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/size_modeling → diffsky-0.3.3/diffsky/experimental/kernels}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/size_modeling → diffsky-0.3.3/diffsky/experimental/kernels}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/lc_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/phot_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/photometry_interpolation.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/precompute_ssp_phot.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/scatter.py +0 -0
- {diffsky-0.3.1/diffsky/experimental/tests → diffsky-0.3.3/diffsky/experimental/sfh_model_calibrations}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_galacticus_in_plus_ex_situ.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_smdpl_dr1.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_tng.npy +0 -0
- {diffsky-0.3.1/diffsky/fake_sats → diffsky-0.3.3/diffsky/experimental/sfh_model_calibrations/tests}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/fake_sats/tests → diffsky-0.3.3/diffsky/experimental/size_modeling}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/size_modeling/disk_bulge_sizes.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/fitting_utils → diffsky-0.3.3/diffsky/experimental/size_modeling/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/size_modeling/tests/test_disk_bulge_sizes.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/fitting_utils/calibrations → diffsky-0.3.3/diffsky/experimental/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/tests/test_lc_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/tests/test_photometry_interpolation.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/tests/test_precompute_ssp_phot.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/tests/test_scatter.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/experimental/tests/test_sobol_lightcone.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/fitting_utils/calibrations/tests → diffsky-0.3.3/diffsky/fake_sats}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/ellipsoidal_velocities.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/halo_boundary_functions.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/nfw_config_space.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/rotations3d.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/fitting_utils/diagnostics → diffsky-0.3.3/diffsky/fake_sats/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/test_ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/test_halo_boundary_functions.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/test_mc_ellipticial_velocities.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/test_nfw_config_space.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/test_rotations3d.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/testing_data/halo_mass_ht_test.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/testing_data/halo_radius_200c_ht_test.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/tests/testing_data/redshift_ht_test.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/fake_sats/vector_utilities.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/ccshmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/README.rst +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/fitting_utils/diagnostics/tests → diffsky-0.3.3/diffsky/mass_functions/fitting_utils}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/fitting_utils/tests → diffsky-0.3.3/diffsky/mass_functions/fitting_utils/calibrations}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/calibrations/hacc_core_shmf_params.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/hmf_calibrations → diffsky-0.3.3/diffsky/mass_functions/fitting_utils/calibrations}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/calibrations/tests/test_hacc_core_shmf_params.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/io_utils → diffsky-0.3.3/diffsky/mass_functions/fitting_utils/diagnostics}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/kernels → diffsky-0.3.3/diffsky/mass_functions/fitting_utils/diagnostics/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/diagnostics/tests/test_hmf_fit_diagnostics.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fit_ccshmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fit_ccshmf_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fit_flat_hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fit_halobias_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fit_halobias_singlez_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fit_hmf_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fit_hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/fitting_helpers.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/kernels → diffsky-0.3.3/diffsky/mass_functions/fitting_utils}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/tests/test_fit_flat_hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model_singlez.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/flat_hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/halobias_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/halobias_singlez_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params_all.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/hmf_param_reader.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params_all.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_fitting_helpers.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_subs.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/smhm_kernels → diffsky-0.3.3/diffsky/mass_functions/hmf_calibrations/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/test_imports.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/test_lj_hmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/test_smdpl_hmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_logmp_bins.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_redshift_bins.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_logmp_bins.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_redshift_bins.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/io_utils/README.txt +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/smhm_kernels/tests → diffsky-0.3.3/diffsky/mass_functions/io_utils}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/io_utils/loader.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/io_utils/smdpl_helpers.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/tests → diffsky-0.3.3/diffsky/mass_functions/kernels}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/kernels/ccshmf_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/kernels/hmf_kernels.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/tests/testing_data → diffsky-0.3.3/diffsky/mass_functions/kernels/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/kernels/tests/test_ccshmf_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/kernels/tests/test_hmf_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/mc_diffmah_tpeak.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/mc_hosts.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/mc_subs.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/mc_tinfall.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/measure_ccshmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/measure_hmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/measure_hmf_target_data_hacc.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/run_hmf_tabulation_disc_lcdm.sh +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/scripts/last_journey_calibration/measure_hmf_target_data_hacc.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/scripts/smdpl_calibration/fit_smdpl_hmf_script.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/scripts/smdpl_calibration/measure_smdpl_hmf_script.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/upweighting → diffsky-0.3.3/diffsky/mass_functions/smhm_kernels}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/mass_functions/upweighting → diffsky-0.3.3/diffsky/mass_functions/smhm_kernels}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/smhm_kernels/tests/test_threeroll_smhm.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/smhm_kernels/threeroll_kernels.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/smhm_kernels/threeroll_smhm.py +0 -0
- {diffsky-0.3.1/diffsky/merging → diffsky-0.3.3/diffsky/mass_functions/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_ccshmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_flat_hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_halobias_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_halobias_singlez_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_hmf_model.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_mc_diffmah_tpeak.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_mc_hosts.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_mc_subs.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_mc_tinfall.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/test_measure_hmf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/README.txt +0 -0
- {diffsky-0.3.1/diffsky/merging/diagnostics → diffsky-0.3.3/diffsky/mass_functions/tests/testing_data}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_12.32.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.00.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.55.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_14.08.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.31.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.99.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_13.51.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_14.05.txt +0 -0
- {diffsky-0.3.1/diffsky/merging/diagnostics/tests → diffsky-0.3.3/diffsky/mass_functions/upweighting}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/upweighting/namedtuple_cat_utils.py +0 -0
- {diffsky-0.3.1/diffsky/merging → diffsky-0.3.3/diffsky/mass_functions/upweighting}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/upweighting/tests/test_mc_gen_upweighting.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/upweighting/upweighting.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mass_functions/utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/mc_diffsky.py +0 -0
- {diffsky-0.3.1/diffsky/param_utils → diffsky-0.3.3/diffsky/merging}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/param_utils/tests → diffsky-0.3.3/diffsky/merging/diagnostics}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/ssp_err_model → diffsky-0.3.3/diffsky/merging/diagnostics/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/merging/fitmerge_multi_redshift.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/merging/merging_model.py +0 -0
- {diffsky-0.3.1/diffsky/ssp_err_model → diffsky-0.3.3/diffsky/merging}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/merging/tests/test_fitmerge_multi_redshift.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/merging/tests/test_merging_model.py +0 -0
- {diffsky-0.3.1/diffsky/sumstats → diffsky-0.3.3/diffsky/param_utils}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/param_utils/diffsky_param_wrapper.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/param_utils/spspop_param_utils.py +0 -0
- {diffsky-0.3.1/diffsky/sumstats → diffsky-0.3.3/diffsky/param_utils}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/param_utils/tests/test_diffsky_param_wrapper.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/param_utils/tests/test_spspop_param_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/phot_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/sbl18_photgrad.py +0 -0
- {diffsky-0.3.1/diffsky/systematics → diffsky-0.3.3/diffsky/ssp_err_model}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ssp_err_model/ssp_err_model.py +0 -0
- {diffsky-0.3.1/diffsky/systematics → diffsky-0.3.3/diffsky/ssp_err_model}/tests/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/ssp_err_model/tests/test_ssp_err_model.py +0 -0
- {diffsky-0.3.1/diffsky/tests → diffsky-0.3.3/diffsky/ssp_err_model2}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/tests/testing_data → diffsky-0.3.3/diffsky/ssp_err_model2/tests}/__init__.py +0 -0
- {diffsky-0.3.1/diffsky/utils/tests → diffsky-0.3.3/diffsky/sumstats}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/sumstats/diffndhist.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/sumstats/smhm.py +0 -0
- {diffsky-0.3.1/scripts → diffsky-0.3.3/diffsky/sumstats/tests}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/sumstats/tests/test_smhm.py +0 -0
- {diffsky-0.3.1/scripts/tests → diffsky-0.3.3/diffsky/systematics}/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/systematics/ssp_errors.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/systematics/tests/test_ssp_errors.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_dependencies.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_diffndhist.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_diffsky_setup.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_imports.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_mc_diffsky.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_phot_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_sbl18_photgrad.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tests/test_tw_photgrad.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/tw_photgrad.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/__init__.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/crossmatch_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/sfh_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/tests/test_crossmatch_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/tests/test_sfh_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/tests/test_tw_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/tests/test_utility_funcs.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/tw_utils.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky/utils/utility_funcs.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky.egg-info/dependency_links.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky.egg-info/requires.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/diffsky.egg-info/top_level.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/Makefile +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/make.bat +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/citation.rst +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/conf.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/demo_diffmahpop_lightcone.ipynb +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/demo_diffmahpop_t_peak.ipynb +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/index.rst +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/installation.rst +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/docs/source/rtd_environment.yaml +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/pyproject.toml +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/requirements.txt +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/bebop_jobs.sh +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/run_lc_cf_crossmatch_base.sh +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/run_tabulate_coreforest_overlap.sh +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_CROSSX/tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_LC_MOCKS/generate_sed_mock_jobs.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_LC_MOCKS/generate_sfh_mock_jobs.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_LC_MOCKS/inspect_lc_mock.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_LC_MOCKS/inspect_sed_mock_job_logs.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_LC_MOCKS/run_sed_mocks.sh +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/LJ_SNAP_MOCKS/make_sfh_lj_snapshot_mock.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/tests/test_inspect_lightcone_mock.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/scripts/tests/test_tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/setup.cfg +0 -0
- {diffsky-0.3.1 → diffsky-0.3.3}/setup.py +0 -0
|
@@ -12,18 +12,26 @@ on:
|
|
|
12
12
|
|
|
13
13
|
jobs:
|
|
14
14
|
mock-generation:
|
|
15
|
-
name: python
|
|
15
|
+
name: python make_ou26_mock.py -synthetic_cores 1
|
|
16
16
|
runs-on: "ubuntu-latest"
|
|
17
17
|
|
|
18
18
|
steps:
|
|
19
|
-
-
|
|
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
|
|
20
28
|
with:
|
|
21
29
|
fetch-depth: 0
|
|
22
30
|
|
|
23
31
|
- uses: conda-incubator/setup-miniconda@v3
|
|
24
32
|
with:
|
|
25
33
|
python-version: 3.11
|
|
26
|
-
channels: conda-forge
|
|
34
|
+
channels: conda-forge
|
|
27
35
|
channel-priority: strict
|
|
28
36
|
show-channel-urls: true
|
|
29
37
|
miniforge-version: latest
|
|
@@ -38,21 +46,21 @@ jobs:
|
|
|
38
46
|
conda config --set always_yes yes
|
|
39
47
|
conda install --quiet \
|
|
40
48
|
--file=requirements.txt
|
|
41
|
-
conda install
|
|
49
|
+
conda install --quiet \
|
|
42
50
|
pip \
|
|
43
51
|
setuptools \
|
|
44
52
|
"setuptools_scm>=7,<8" \
|
|
45
53
|
matplotlib \
|
|
46
54
|
astropy \
|
|
47
55
|
h5py \
|
|
48
|
-
mpi4py
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
+
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
|
|
56
64
|
python -m pip install --no-build-isolation --no-deps -e .
|
|
57
65
|
|
|
58
66
|
- name: download dsps data
|
|
@@ -78,14 +86,14 @@ jobs:
|
|
|
78
86
|
export DSPS_DRN="${GITHUB_WORKSPACE}/dsps_drn"
|
|
79
87
|
echo "DSPS_DRN=${DSPS_DRN}" >> $GITHUB_ENV
|
|
80
88
|
|
|
81
|
-
- name:
|
|
89
|
+
- name: create mock with sfh_model option
|
|
82
90
|
shell: bash -l {0}
|
|
83
91
|
run: |
|
|
84
92
|
# Create output directory
|
|
85
93
|
mkdir -p ci_test_output
|
|
86
94
|
|
|
87
95
|
# Run mock production script
|
|
88
|
-
mpiexec -n 1 python scripts/LJ_LC_MOCKS/
|
|
96
|
+
mpiexec -n 1 python scripts/LJ_LC_MOCKS/make_ou26_mock_batch.py \
|
|
89
97
|
poboy \
|
|
90
98
|
0.01 \
|
|
91
99
|
0.2 \
|
|
@@ -93,19 +101,60 @@ jobs:
|
|
|
93
101
|
1 \
|
|
94
102
|
ci_test_output \
|
|
95
103
|
ci_test_mock \
|
|
96
|
-
-fn_u_params sfh_model \
|
|
97
104
|
-sfh_model smdpl_dr1 \
|
|
98
105
|
-synthetic_cores 1 \
|
|
99
106
|
-lgmp_min 12.0 \
|
|
100
|
-
-lgmp_max 13.0
|
|
107
|
+
-lgmp_max 13.0 \
|
|
108
|
+
--lsst_only
|
|
101
109
|
|
|
102
110
|
- name: verify script completed
|
|
103
111
|
shell: bash -l {0}
|
|
104
112
|
run: |
|
|
105
|
-
echo "
|
|
113
|
+
echo "sfh_model mock generated successfully"
|
|
106
114
|
|
|
107
115
|
- name: validate mock
|
|
108
116
|
shell: bash -l {0}
|
|
109
117
|
run: |
|
|
110
118
|
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/synthetic_cores/smdpl_dr1
|
|
111
119
|
|
|
120
|
+
- name: remove sfh_model mock
|
|
121
|
+
shell: bash -l {0}
|
|
122
|
+
run: |
|
|
123
|
+
rm -rf ci_test_output
|
|
124
|
+
|
|
125
|
+
- name: create mock with cosmos_fit option
|
|
126
|
+
shell: bash -l {0}
|
|
127
|
+
run: |
|
|
128
|
+
# Create output directory
|
|
129
|
+
mkdir -p ci_test_output
|
|
130
|
+
|
|
131
|
+
# Run mock production script
|
|
132
|
+
mpiexec -n 1 python scripts/LJ_LC_MOCKS/make_ou26_mock_batch.py \
|
|
133
|
+
poboy \
|
|
134
|
+
0.01 \
|
|
135
|
+
0.2 \
|
|
136
|
+
0 \
|
|
137
|
+
1 \
|
|
138
|
+
ci_test_output \
|
|
139
|
+
ci_test_mock \
|
|
140
|
+
-cosmos_fit cosmos260105 \
|
|
141
|
+
-synthetic_cores 1 \
|
|
142
|
+
-lgmp_min 12.0 \
|
|
143
|
+
-lgmp_max 13.0 \
|
|
144
|
+
--lsst_only
|
|
145
|
+
|
|
146
|
+
- name: verify script completed
|
|
147
|
+
shell: bash -l {0}
|
|
148
|
+
run: |
|
|
149
|
+
echo "sfh_model mock generated successfully"
|
|
150
|
+
|
|
151
|
+
- name: validate mock
|
|
152
|
+
shell: bash -l {0}
|
|
153
|
+
run: |
|
|
154
|
+
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/synthetic_cores/cosmos260105
|
|
155
|
+
|
|
156
|
+
- name: remove cosmos_fit mock
|
|
157
|
+
shell: bash -l {0}
|
|
158
|
+
run: |
|
|
159
|
+
rm -rf ci_test_output
|
|
160
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
name: Test script for optimizing galaxy shapes
|
|
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 fit_bulge_shapes_to_rp13.py
|
|
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: run disk optimization script
|
|
67
|
+
shell: bash -l {0}
|
|
68
|
+
run: |
|
|
69
|
+
python scripts/ellipsoid_shape_fitting/fit_disk_shapes_to_rp13.py -nsteps 20
|
|
70
|
+
|
|
71
|
+
- name: verify disk script completed
|
|
72
|
+
shell: bash -l {0}
|
|
73
|
+
run: |
|
|
74
|
+
echo "Disk optimization script completed successfully"
|
|
75
|
+
|
|
76
|
+
- name: run bulge optimization script
|
|
77
|
+
shell: bash -l {0}
|
|
78
|
+
run: |
|
|
79
|
+
python scripts/ellipsoid_shape_fitting/fit_bulge_shapes_to_rp13.py -nsteps 20
|
|
80
|
+
|
|
81
|
+
- name: verify bulge script completed
|
|
82
|
+
shell: bash -l {0}
|
|
83
|
+
run: |
|
|
84
|
+
echo "Bulge optimization script completed successfully"
|
|
85
|
+
|
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
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
|
|
|
@@ -45,6 +45,7 @@ jobs:
|
|
|
45
45
|
setuptools \
|
|
46
46
|
"setuptools_scm>=7,<8" \
|
|
47
47
|
matplotlib \
|
|
48
|
+
scipy \
|
|
48
49
|
astropy \
|
|
49
50
|
python-build
|
|
50
51
|
pip uninstall diffmah --yes
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
0.3.3 (unreleased)
|
|
2
|
+
-------------------
|
|
3
|
+
- Fix bug in elliptical projections
|
|
4
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/297
|
|
5
|
+
- Reoptimize disk/bulge shapes
|
|
6
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/301
|
|
7
|
+
- Implement automated plot-generating scripts comparing cosmos to different diffsky models
|
|
8
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/291
|
|
9
|
+
- Improve bookkeeping in cross-matching jobs
|
|
10
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/293
|
|
11
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/294
|
|
12
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/299
|
|
13
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/300
|
|
14
|
+
- Compute photometry in batches when making mocks
|
|
15
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/295
|
|
16
|
+
- Adopt astropy units in mock metadata
|
|
17
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/303
|
|
18
|
+
- Add peculiar velocities to output mock
|
|
19
|
+
- https://github.com/ArgonneCPAC/diffsky/pull/304
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
0.3.2 (2025-12-04)
|
|
23
|
+
-------------------
|
|
24
|
+
- Resolve bug in the treatment of scatter in the SSP errors.
|
|
25
|
+
- Component vs composite SEDs now exactly agree
|
|
26
|
+
- Improved CI and unit testing
|
|
27
|
+
- See (https://github.com/ArgonneCPAC/diffsky/pull/284) for details.
|
|
28
|
+
|
|
29
|
+
|
|
1
30
|
0.3.1 (2025-11-23)
|
|
2
31
|
-------------------
|
|
3
32
|
- Update diffsky to be compatible with diffstar v1.0.2 (https://github.com/ArgonneCPAC/diffsky/pull/277)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.3.3'
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
""" """
|
|
2
2
|
|
|
3
3
|
import numpy as np
|
|
4
|
-
from matplotlib import pyplot as plt
|
|
5
4
|
|
|
6
5
|
from ..fburstpop import DEFAULT_FBURSTPOP_PARAMS, get_lgfburst_from_fburstpop_params
|
|
7
6
|
|
|
7
|
+
try:
|
|
8
|
+
from matplotlib import pyplot as plt
|
|
9
|
+
|
|
10
|
+
HAS_MATPLOTLIB = True
|
|
11
|
+
except ImportError:
|
|
12
|
+
HAS_MATPLOTLIB = False
|
|
13
|
+
MATPLOTLIB_MSG = "Must have matplotlib installed to use this function"
|
|
14
|
+
|
|
8
15
|
|
|
9
16
|
def make_fburstpop_comparison_plot(
|
|
10
17
|
params,
|
|
@@ -28,6 +35,8 @@ def make_fburstpop_comparison_plot(
|
|
|
28
35
|
filename of the output figure
|
|
29
36
|
|
|
30
37
|
"""
|
|
38
|
+
assert HAS_MATPLOTLIB, MATPLOTLIB_MSG
|
|
39
|
+
|
|
31
40
|
nsm, nsfr = 250, 250
|
|
32
41
|
logsm_grid = np.linspace(7, 12, nsm)
|
|
33
42
|
logssfr_grid = np.linspace(-13, -8, nsfr)
|
|
@@ -2,11 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
import numpy as np
|
|
4
4
|
from dsps.sfh import diffburst
|
|
5
|
-
from matplotlib import lines as mlines
|
|
6
|
-
from matplotlib import pyplot as plt
|
|
7
5
|
|
|
8
6
|
from .. import tburstpop as tbp
|
|
9
7
|
|
|
8
|
+
try:
|
|
9
|
+
from matplotlib import lines as mlines
|
|
10
|
+
from matplotlib import pyplot as plt
|
|
11
|
+
|
|
12
|
+
HAS_MATPLOTLIB = True
|
|
13
|
+
except ImportError:
|
|
14
|
+
HAS_MATPLOTLIB = False
|
|
15
|
+
MATPLOTLIB_MSG = "Must have matplotlib installed to use this function"
|
|
16
|
+
|
|
10
17
|
|
|
11
18
|
def make_tburstpop_comparison_plot(
|
|
12
19
|
params,
|
|
@@ -30,6 +37,7 @@ def make_tburstpop_comparison_plot(
|
|
|
30
37
|
filename of the output figure
|
|
31
38
|
|
|
32
39
|
"""
|
|
40
|
+
assert HAS_MATPLOTLIB, MATPLOTLIB_MSG
|
|
33
41
|
lgyrarr = np.linspace(5, 9.05, 100)
|
|
34
42
|
|
|
35
43
|
logsmarr = np.array((9.0, 9.0, 12.0, 12.0))
|
|
@@ -2,11 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import pytest
|
|
6
|
+
|
|
7
|
+
from ..plot_fburstpop import (
|
|
8
|
+
DEFAULT_FBURSTPOP_PARAMS,
|
|
9
|
+
HAS_MATPLOTLIB,
|
|
10
|
+
MATPLOTLIB_MSG,
|
|
11
|
+
make_fburstpop_comparison_plot,
|
|
12
|
+
)
|
|
6
13
|
|
|
7
14
|
_THIS_DRNAME = os.path.dirname(os.path.abspath(__file__))
|
|
8
15
|
|
|
9
16
|
|
|
17
|
+
@pytest.mark.skipif(not HAS_MATPLOTLIB, reason=MATPLOTLIB_MSG)
|
|
10
18
|
def test_make_freqburst_comparison_plot():
|
|
11
19
|
fn = os.path.join(_THIS_DRNAME, "dummy.png")
|
|
12
20
|
make_fburstpop_comparison_plot(DEFAULT_FBURSTPOP_PARAMS, fname=fn)
|
|
@@ -2,12 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
4
|
|
|
5
|
+
import pytest
|
|
6
|
+
|
|
5
7
|
from ... import tburstpop as tbp
|
|
6
|
-
from ..plot_tburstpop import
|
|
8
|
+
from ..plot_tburstpop import (
|
|
9
|
+
HAS_MATPLOTLIB,
|
|
10
|
+
MATPLOTLIB_MSG,
|
|
11
|
+
make_tburstpop_comparison_plot,
|
|
12
|
+
)
|
|
7
13
|
|
|
8
14
|
_THIS_DRNAME = os.path.dirname(os.path.abspath(__file__))
|
|
9
15
|
|
|
10
16
|
|
|
17
|
+
@pytest.mark.skipif(not HAS_MATPLOTLIB, reason=MATPLOTLIB_MSG)
|
|
11
18
|
def test_make_freqburst_comparison_plot():
|
|
12
19
|
fn = os.path.join(_THIS_DRNAME, "dummy.png")
|
|
13
20
|
make_tburstpop_comparison_plot(tbp.DEFAULT_TBURSTPOP_PARAMS, fname=fn)
|
|
@@ -13,6 +13,15 @@ except ImportError:
|
|
|
13
13
|
HAS_ASTROPY = False
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
Z_MIN, Z_MAX = 0.4, 2.5
|
|
17
|
+
|
|
18
|
+
HSC_MAG_NAMES = ["HSC_g_MAG", "HSC_r_MAG", "HSC_i_MAG", "HSC_z_MAG", "HSC_y_MAG"]
|
|
19
|
+
UVISTA_MAG_NAMES = ["UVISTA_Y_MAG", "UVISTA_J_MAG", "UVISTA_H_MAG", "UVISTA_Ks_MAG"]
|
|
20
|
+
COSMOS_TARGET_MAGS = [*HSC_MAG_NAMES, *UVISTA_MAG_NAMES]
|
|
21
|
+
MAGI_THRESH = 25.5
|
|
22
|
+
|
|
23
|
+
NANFILL = -999.0
|
|
24
|
+
|
|
16
25
|
COSMOS20_BASENAME = "COSMOS2020_Farmer_processed_hlin.fits"
|
|
17
26
|
|
|
18
27
|
SKY_AREA = 1.21 # square degrees
|
|
@@ -103,4 +112,85 @@ def load_cosmos20(
|
|
|
103
112
|
else:
|
|
104
113
|
return cat
|
|
105
114
|
|
|
106
|
-
|
|
115
|
+
|
|
116
|
+
def apply_nan_cuts(cosmos, mag_names=COSMOS_TARGET_MAGS):
|
|
117
|
+
"""Remove any galaxy with a NaN in any column storing a target magnitude
|
|
118
|
+
|
|
119
|
+
Parameters
|
|
120
|
+
----------
|
|
121
|
+
cosmos : astropy Table
|
|
122
|
+
|
|
123
|
+
mag_names : list of strings
|
|
124
|
+
|
|
125
|
+
Returns
|
|
126
|
+
-------
|
|
127
|
+
cosmos : astropy Table
|
|
128
|
+
Catalog after applying a NaN cut on `photoz` and any colname in mag_names
|
|
129
|
+
|
|
130
|
+
"""
|
|
131
|
+
msk_has_nan = np.isnan(cosmos["photoz"])
|
|
132
|
+
for name in mag_names:
|
|
133
|
+
x = np.nan_to_num(
|
|
134
|
+
cosmos[name], copy=True, nan=NANFILL, posinf=NANFILL, neginf=NANFILL
|
|
135
|
+
)
|
|
136
|
+
msk_has_nan = msk_has_nan | (x == NANFILL)
|
|
137
|
+
|
|
138
|
+
cosmos = cosmos[~msk_has_nan]
|
|
139
|
+
return cosmos
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
def get_is_complete_mask(cosmos, z_min=Z_MIN, z_max=Z_MAX, magi_thresh=MAGI_THRESH):
|
|
143
|
+
"""Compute mask to define the redshift and i-mag threshold for our target data
|
|
144
|
+
|
|
145
|
+
Parameters
|
|
146
|
+
----------
|
|
147
|
+
cosmos : astropy Table
|
|
148
|
+
|
|
149
|
+
z_min, z_max : float
|
|
150
|
+
Galaxies outside this range will be excluded
|
|
151
|
+
|
|
152
|
+
magi_thresh : float
|
|
153
|
+
Galaxies fainter than this apparent magnitude will be excluded
|
|
154
|
+
|
|
155
|
+
Returns
|
|
156
|
+
-------
|
|
157
|
+
msk_is_complete : array, dtype bool
|
|
158
|
+
Boolean mask defining galaxies that pass the completeness cut
|
|
159
|
+
|
|
160
|
+
"""
|
|
161
|
+
msk_redshift = (cosmos["photoz"] > z_min) & (cosmos["photoz"] < z_max)
|
|
162
|
+
msk_i_thresh = cosmos["HSC_i_MAG"] < magi_thresh
|
|
163
|
+
msk_is_complete = msk_redshift & msk_i_thresh
|
|
164
|
+
return msk_is_complete
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def get_color_outlier_mask(cosmos, mag_names, p_cut=0.5):
|
|
168
|
+
"""Compute mask to define extreme outliers in color space
|
|
169
|
+
|
|
170
|
+
Parameters
|
|
171
|
+
----------
|
|
172
|
+
cosmos : astropy Table
|
|
173
|
+
|
|
174
|
+
mag_names : list of strings
|
|
175
|
+
Column names defining the colors for which outliers will be excluded
|
|
176
|
+
|
|
177
|
+
p_cut : float, optional
|
|
178
|
+
Value in the range [0, 100] defining a percentile cut
|
|
179
|
+
|
|
180
|
+
Returns
|
|
181
|
+
-------
|
|
182
|
+
msk_is_not_outlier : array, dtype bool
|
|
183
|
+
Boolean mask defining galaxies that pass the outlier cut
|
|
184
|
+
|
|
185
|
+
"""
|
|
186
|
+
msk_is_outlier = np.zeros(len(cosmos)).astype(bool)
|
|
187
|
+
for name0, name1 in zip(mag_names[0:], mag_names[1:]):
|
|
188
|
+
c0 = cosmos[name0]
|
|
189
|
+
c1 = cosmos[name1]
|
|
190
|
+
color = c0 - c1
|
|
191
|
+
lo, hi = np.percentile(color, (p_cut, 100.0 - p_cut))
|
|
192
|
+
msk_is_outlier = msk_is_outlier | (color < lo) | (color > hi)
|
|
193
|
+
|
|
194
|
+
msk_is_not_outlier = ~msk_is_outlier
|
|
195
|
+
|
|
196
|
+
return msk_is_not_outlier
|
{diffsky-0.3.1 → diffsky-0.3.3}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py
RENAMED
|
@@ -9,10 +9,10 @@ from diffstar import DEFAULT_DIFFSTAR_PARAMS
|
|
|
9
9
|
from dsps.cosmology.flat_wcdm import age_at_z
|
|
10
10
|
|
|
11
11
|
from .... import phot_utils
|
|
12
|
-
from ....experimental import
|
|
12
|
+
from ....experimental import dbk_phot_from_mock
|
|
13
13
|
from ....experimental import precompute_ssp_phot as psspp
|
|
14
14
|
from ....param_utils import diffsky_param_wrapper as dpw
|
|
15
|
-
from .. import
|
|
15
|
+
from .. import lc_mock as lcmp
|
|
16
16
|
from .. import load_flat_hdf5, load_lc_cf
|
|
17
17
|
|
|
18
18
|
REQUIRED_METADATA_ATTRS = ("creation_date", "README", "mock_version_name")
|
|
@@ -93,16 +93,38 @@ def check_all_columns_are_finite(fn_lc_mock, data=None):
|
|
|
93
93
|
|
|
94
94
|
def check_all_data_columns_have_metadata(fn_lc_mock):
|
|
95
95
|
|
|
96
|
+
try:
|
|
97
|
+
from astropy import units as u
|
|
98
|
+
from astropy.cosmology import units as cu
|
|
99
|
+
|
|
100
|
+
u.add_enabled_units(cu)
|
|
101
|
+
|
|
102
|
+
except ImportError:
|
|
103
|
+
raise ImportError("Must have astropy installed to attach units to metadata")
|
|
104
|
+
|
|
96
105
|
msg = []
|
|
97
106
|
with h5py.File(fn_lc_mock, "r") as hdf:
|
|
107
|
+
|
|
98
108
|
for key in hdf["data"].keys():
|
|
99
109
|
try:
|
|
100
|
-
|
|
101
|
-
|
|
110
|
+
unit_string = hdf["data/" + key].attrs["unit"]
|
|
111
|
+
u.Unit(unit_string)
|
|
112
|
+
|
|
113
|
+
except (KeyError,):
|
|
114
|
+
s = f"{key} is missing metadata unit"
|
|
115
|
+
msg.append(s)
|
|
116
|
+
except (AssertionError, ValueError):
|
|
117
|
+
s = f"Units not recognized in metadata for `{key}` column"
|
|
118
|
+
msg.append(s)
|
|
119
|
+
|
|
120
|
+
try:
|
|
102
121
|
description = hdf["data/" + key].attrs["description"]
|
|
103
122
|
assert len(description) > 0
|
|
104
|
-
except (KeyError,
|
|
105
|
-
s = f"{key} is missing metadata"
|
|
123
|
+
except (KeyError,):
|
|
124
|
+
s = f"{key} is missing metadata description"
|
|
125
|
+
msg.append(s)
|
|
126
|
+
except (AssertionError, ValueError):
|
|
127
|
+
s = f"No metadata description of `{key}` column"
|
|
106
128
|
msg.append(s)
|
|
107
129
|
return msg
|
|
108
130
|
|
|
@@ -275,12 +297,10 @@ def check_recomputed_photometry(fn_lc_mock, n_test=200, return_results=False):
|
|
|
275
297
|
|
|
276
298
|
drn_mock = os.path.dirname(fn_lc_mock)
|
|
277
299
|
tcurves = lcmp.load_diffsky_tcurves(drn_mock, mock_version_name)
|
|
278
|
-
t_table = lcmp.load_diffsky_t_table(drn_mock, mock_version_name)
|
|
279
300
|
ssp_data = lcmp.load_diffsky_ssp_data(drn_mock, mock_version_name)
|
|
280
301
|
sim_info = lcmp.load_diffsky_sim_info(fn_lc_mock)
|
|
281
302
|
|
|
282
303
|
mock = load_flat_hdf5(fn_lc_mock, dataset="data", iend=n_test)
|
|
283
|
-
n_gals = mock["redshift_true"].size
|
|
284
304
|
|
|
285
305
|
mah_params = DEFAULT_MAH_PARAMS._make(
|
|
286
306
|
[mock[key] for key in DEFAULT_MAH_PARAMS._fields]
|
|
@@ -291,11 +311,6 @@ def check_recomputed_photometry(fn_lc_mock, n_test=200, return_results=False):
|
|
|
291
311
|
param_collection = lcmp.load_diffsky_param_collection(drn_mock, mock_version_name)
|
|
292
312
|
t_obs = age_at_z(mock["redshift_true"], *sim_info.cosmo_params)
|
|
293
313
|
|
|
294
|
-
_msk_q = mock["mc_sfh_type"].reshape((n_gals, 1))
|
|
295
|
-
delta_scatter = np.where(
|
|
296
|
-
_msk_q == 0, mock["delta_scatter_q"], mock["delta_scatter_ms"]
|
|
297
|
-
)
|
|
298
|
-
|
|
299
314
|
# Precompute photometry at each element of the redshift table
|
|
300
315
|
z_phot_table = lcmp.load_diffsky_z_phot_table(fn_lc_mock)
|
|
301
316
|
wave_eff_table = phot_utils.get_wave_eff_table(z_phot_table, tcurves)
|
|
@@ -304,31 +319,43 @@ def check_recomputed_photometry(fn_lc_mock, n_test=200, return_results=False):
|
|
|
304
319
|
tcurves, ssp_data, z_phot_table, sim_info.cosmo_params
|
|
305
320
|
)
|
|
306
321
|
|
|
322
|
+
mc_is_q = np.where(mock["mc_sfh_type"] == 0, True, False)
|
|
307
323
|
args = (
|
|
324
|
+
mc_is_q,
|
|
325
|
+
mock["uran_av"],
|
|
326
|
+
mock["uran_delta"],
|
|
327
|
+
mock["uran_funo"],
|
|
328
|
+
mock["uran_pburst"],
|
|
329
|
+
mock["delta_mag_ssp_scatter"],
|
|
330
|
+
sfh_params,
|
|
308
331
|
mock["redshift_true"],
|
|
309
332
|
t_obs,
|
|
310
333
|
mah_params,
|
|
311
|
-
mock["
|
|
312
|
-
t_table,
|
|
334
|
+
mock["fknot"],
|
|
313
335
|
ssp_data,
|
|
314
336
|
precomputed_ssp_mag_table,
|
|
315
337
|
z_phot_table,
|
|
316
338
|
wave_eff_table,
|
|
317
|
-
sfh_params,
|
|
318
339
|
param_collection.mzr_params,
|
|
319
340
|
param_collection.spspop_params,
|
|
320
341
|
param_collection.scatter_params,
|
|
321
342
|
param_collection.ssperr_params,
|
|
322
343
|
sim_info.cosmo_params,
|
|
323
344
|
sim_info.fb,
|
|
324
|
-
mock["uran_av"],
|
|
325
|
-
mock["uran_delta"],
|
|
326
|
-
mock["uran_funo"],
|
|
327
|
-
delta_scatter,
|
|
328
|
-
mock["mc_sfh_type"],
|
|
329
|
-
mock["fknot"],
|
|
330
345
|
)
|
|
331
|
-
|
|
346
|
+
_res = dbk_phot_from_mock._reproduce_mock_dbk_kern(*args)
|
|
347
|
+
(
|
|
348
|
+
phot_info,
|
|
349
|
+
phot_randoms,
|
|
350
|
+
disk_bulge_history,
|
|
351
|
+
obs_mags_bulge,
|
|
352
|
+
obs_mags_disk,
|
|
353
|
+
obs_mags_knots,
|
|
354
|
+
) = _res
|
|
355
|
+
phot_info = phot_info._asdict()
|
|
356
|
+
phot_info["obs_mags_bulge"] = obs_mags_bulge
|
|
357
|
+
phot_info["obs_mags_disk"] = obs_mags_disk
|
|
358
|
+
phot_info["obs_mags_knots"] = obs_mags_knots
|
|
332
359
|
|
|
333
360
|
if return_results:
|
|
334
361
|
return mock, phot_info, tcurves
|