diffsky 0.3.3__tar.gz → 0.3.4__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.3 → diffsky-0.3.4}/.github/workflows/mock_generation_test.yaml +40 -4
- {diffsky-0.3.3 → diffsky-0.3.4}/.github/workflows/tests_cron.yaml +1 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.gitignore +1 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/CHANGES.rst +10 -1
- {diffsky-0.3.3 → diffsky-0.3.4}/PKG-INFO +2 -2
- diffsky-0.3.4/diffsky/_version.py +1 -0
- diffsky-0.3.4/diffsky/data_loaders/__init__.py +6 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +112 -48
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/lc_mock.py +103 -85
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/load_lc_mock.py +49 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/metadata_mock.py +311 -208
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_lc_mock.py +10 -8
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_load_lc_cf_synthetic.py +1 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_metadata_mock.py +2 -2
- diffsky-0.3.4/diffsky/data_loaders/load_ssp_data.py +129 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/test_io_utils.py +3 -2
- diffsky-0.3.4/diffsky/data_loaders/tests/test_load_ssp_data.py +79 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diagnostics/plot_cosmos.py +199 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diagnostics/tests/test_plot_diffstar_fq.py +7 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/diagnostics/tests/test_check_smhm.py +5 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/kernels/mc_phot_kernels.py +175 -4
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/kernels/ssp_weight_kernels.py +70 -3
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/kernels/tests/test_mc_phot_kernels.py +52 -4
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/lc_phot_kern.py +1 -1
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/lc_utils.py +35 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/mc_lightcone_halos.py +109 -473
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/mc_phot.py +3 -3
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/size_modeling/disk_bulge_sizes.py +2 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_lc_utils.py +15 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_mc_lightcone_halos.py +39 -104
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_mc_phot.py +9 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/calibrations/hacc_core_shmf_params.py +1 -1
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/diagnostics/hmf_fit_diagnostics.py +3 -3
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/diagnostics/tests/test_hmf_fit_diagnostics.py +3 -2
- diffsky-0.3.4/diffsky/param_utils/__init__.py +4 -0
- diffsky-0.3.4/diffsky/param_utils/cosmos_calibrations/__init__.py +9 -0
- diffsky-0.3.3/diffsky/param_utils/cosmos_params_cosmos260105.py → diffsky-0.3.4/diffsky/param_utils/cosmos_calibrations/cosmos_params_260105.py +5 -7
- diffsky-0.3.4/diffsky/param_utils/cosmos_calibrations/cosmos_params_260120_UM.py +238 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/param_utils/get_mock_params.py +2 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/param_utils/tests/test_get_mock_params.py +4 -4
- diffsky-0.3.4/diffsky/signdhist.py +159 -0
- diffsky-0.3.4/diffsky/tests/test_readme.py +18 -0
- diffsky-0.3.4/diffsky/tests/test_signdhist.py +130 -0
- diffsky-0.3.4/diffsky/utils/emline_utils.py +38 -0
- diffsky-0.3.4/diffsky/utils/tests/test_emline_utils.py +39 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky.egg-info/PKG-INFO +2 -2
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky.egg-info/SOURCES.txt +12 -17
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky.egg-info/requires.txt +1 -1
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/conf.py +7 -8
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/rtd_environment.yaml +1 -1
- {diffsky-0.3.3 → diffsky-0.3.4}/requirements.txt +1 -1
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/check_lc_cf_completeness.py +1 -1
- diffsky-0.3.4/scripts/LJ_LC_MOCKS/check_lc_mock_completeness.py +70 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_LC_MOCKS/inspect_lc_mock.py +48 -7
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_LC_MOCKS/make_ou26_mock_batch.py +101 -35
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_LC_MOCKS/run_sed_mocks.sh +5 -5
- diffsky-0.3.3/.github/workflows/test_new_diffstar.yaml +0 -90
- diffsky-0.3.3/diffsky/_version.py +0 -1
- diffsky-0.3.3/diffsky/data_loaders/__init__.py +0 -5
- diffsky-0.3.3/diffsky/diagnostics/plot_delta_mag_burstiness.py +0 -255
- diffsky-0.3.3/diffsky/diagnostics/tests/test_plot_delta_mag_burstiness.py +0 -17
- diffsky-0.3.3/diffsky/sbl18_photgrad.py +0 -282
- diffsky-0.3.3/diffsky/ssp_err_model/ssp_err_model.py +0 -566
- diffsky-0.3.3/diffsky/ssp_err_model/tests/test_ssp_err_model.py +0 -211
- diffsky-0.3.3/diffsky/systematics/ssp_errors.py +0 -105
- diffsky-0.3.3/diffsky/systematics/tests/test_ssp_errors.py +0 -107
- diffsky-0.3.3/diffsky/tests/__init__.py +0 -0
- diffsky-0.3.3/diffsky/tests/test_sbl18_photgrad.py +0 -31
- diffsky-0.3.3/diffsky/tests/test_tw_photgrad.py +0 -205
- diffsky-0.3.3/diffsky/tests/testing_data/__init__.py +0 -0
- diffsky-0.3.3/diffsky/tw_photgrad.py +0 -258
- diffsky-0.3.3/diffsky/utils/tests/__init__.py +0 -0
- diffsky-0.3.3/scripts/__init__.py +0 -0
- diffsky-0.3.3/scripts/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.coveragerc +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.git_archival.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.gitattributes +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.github/dependabot.yml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.github/workflows/linting.yaml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.github/workflows/monthly-warning-test.yaml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.github/workflows/shape_optimization.yaml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.github/workflows/test_latest_releases.yaml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.github/workflows/test_main_branch.yaml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/.readthedocs.yml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/LICENSE.rst +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/README.rst +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diagnostics/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diagnostics/plot_fburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diagnostics/plot_tburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diagnostics/tests/test_plot_fburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diagnostics/tests/test_plot_tburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diffburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diffqburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diffqburstpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/diffqburstpop_mono_noise.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/fburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/fburstpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/freqburst.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/freqburst_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_diffburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_diffqburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_diffqburstpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_diffqburstpop_mono_noise.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_fburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_fburstpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_freqburst.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_freqburst_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/burstpop/tests/test_tburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/cosmos_utils/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/cosmos_utils/cosmos_mstar_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/cosmos_utils/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/cosmos_utils/tests/test_cosmos_mstar_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/cosmos20_loader.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmo.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps_a.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmo.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps_a.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmo.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps_a.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data/LastJourney/lc_cores-decomposition.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data_validation/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data_validation/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_cores.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_cores.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/defaults.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/hacc_core_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/haccsims.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/lightcone_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/load_hacc_cores.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/load_lc_cf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/load_lc_cf_synthetic.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_defaults.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_hacc_core_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_haccsims.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_lightcone_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_load_hacc_cores.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_load_lc_cf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/test_load_lc_mock.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/testing_data/lc_cores-decomposition.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/testing_data/phi_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/testing_data/redshift_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/testing_data/theta_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/testing_data/x_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/testing_data/y_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/tests/testing_data/z_haccytrees_tdata.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/io_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/mock_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/mpi_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/test_cosmos_loader.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/test_imports.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/test_mock_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/test_mpi_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/testing_data/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/tests/testing_data/cosmos20_shasum.dat +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/um_binary_loader.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diagnostics/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diagnostics/plot_diffstar_fq.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diagnostics/tests/test_plot_cosmos.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diagnostics/utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/diffndhist.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/avpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/avpop_flex.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/avpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/deltapop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/diagnostics/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/diagnostics/plot_avpop_flex.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/diagnostics/plot_funopop_simple.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/diagnostics/tests/test_plot_avpop_flex.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/diagnostics/tests/test_plot_funopop_simple.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/funopop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/funopop_simple.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/funopop_ssfr.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/sbl18_dust.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/sbl18_dust_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/sbl18_dustpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_avpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_avpop_flex.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_avpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_deltapop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_funopop_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_funopop_simple.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_funopop_ssfr.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_sbl18_dustpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_tw_dust_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_tw_dustpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_tw_dustpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tests/test_tw_dustpop_new.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tw_dust.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tw_dust_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tw_dustpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tw_dustpop_mono.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tw_dustpop_mono_noise.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/dustpop/tw_dustpop_new.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/bulge_opt.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/bulge_shapes.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/diagnostics/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/diagnostics/plot_b_over_a_rp13.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/diagnostics/tests/test_plot_b_over_a_rp13.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/disk_opt.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/disk_shapes.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/ellipse_proj_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/pdf_model_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/test_bulge_opt.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/test_bulge_shapes.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/test_disk_opt.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/test_disk_shapes.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/test_ellipse_proj_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/test_pdf_model_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/testing_data/ellipsoid_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/ellipsoidal_shapes/tests/testing_data/spiral_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/README.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/black_hole_accretion_rate.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/black_hole_mass.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_accretion_rate.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_mass.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/tests/test_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/black_hole_modeling/utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dbk_phot_from_mock.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/diagnostics/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/diagnostics/check_smhm.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/disk_bulge_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/disk_knots.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/generate_bulge_disk_sample.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/mc_disk_bulge.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_bulge.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_knots.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/tests/test_generate_bulge_disk_sample.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/disk_bulge_modeling/tests/test_mc_disk_bulge.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/boris_dust.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/burstshapepop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/dust_deltapop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/dustpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/lgavpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/lgfburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/nagaraj22_dust.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/photpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/tests/test_attavpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/tests/test_boris_dust.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/tests/test_burstshapepop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/tests/test_dustdeltapop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/tests/test_lgfburstpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/dspspop/tests/test_photpop.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/kernels/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/kernels/dbk_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/kernels/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/mc_diffstarpop_wrappers.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/phot_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/photometry_interpolation.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/precompute_ssp_phot.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/scatter.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/sfh_model_calibrations/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_galacticus_in_plus_ex_situ.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_smdpl_dr1.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_tng.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/sfh_model_calibrations/load_diffsky_sfh_model_calibrations.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/sfh_model_calibrations/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/sfh_model_calibrations/tests/test_load_diffsky_sfh_model_calibrations.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/size_modeling/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/size_modeling/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/size_modeling/tests/test_disk_bulge_sizes.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_dbk_from_mock2.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_lc_phot_kern.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_photometry_interpolation.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_precompute_ssp_phot.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_scatter.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/experimental/tests/test_sobol_lightcone.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/ellipsoidal_velocities.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/halo_boundary_functions.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/nfw_config_space.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/rotations3d.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/test_ellipsoidal_nfw_phase_space.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/test_halo_boundary_functions.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/test_mc_ellipticial_velocities.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/test_nfw_config_space.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/test_rotations3d.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/testing_data/halo_mass_ht_test.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/testing_data/halo_radius_200c_ht_test.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/tests/testing_data/redshift_ht_test.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/fake_sats/vector_utilities.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/ccshmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/README.rst +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/calibrations/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/calibrations/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/calibrations/tests/test_hacc_core_shmf_params.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/diagnostics/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fit_ccshmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fit_ccshmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fit_flat_hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fit_halobias_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fit_halobias_singlez_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fit_hmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fit_hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/fitting_helpers.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/test_fit_flat_hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model_singlez.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/flat_hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/halobias_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/halobias_singlez_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params_all.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/hmf_param_reader.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params_all.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_fitting_helpers.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_subs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/test_imports.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/test_lj_hmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/test_smdpl_hmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_logmp_bins.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_redshift_bins.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_all.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_cens.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_logmp_bins.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_redshift_bins.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.logmp_bins.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.lgcuml_density.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.logmp_bins.npy +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/io_utils/README.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/io_utils/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/io_utils/loader.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/io_utils/smdpl_helpers.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/kernels/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/kernels/ccshmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/kernels/hmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/kernels/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/kernels/tests/test_ccshmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/kernels/tests/test_hmf_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/mc_diffmah_tpeak.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/mc_hosts.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/mc_subs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/mc_tinfall.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/measure_ccshmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/measure_hmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/fit_hmf_disc_lcdm.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/measure_hmf_target_data_hacc.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/run_hmf_tabulation_disc_lcdm.sh +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/scripts/last_journey_calibration/fit_hmf_lj.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/scripts/last_journey_calibration/measure_hmf_target_data_hacc.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/scripts/smdpl_calibration/fit_smdpl_hmf_script.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/scripts/smdpl_calibration/measure_smdpl_hmf_script.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/smhm_kernels/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/smhm_kernels/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/smhm_kernels/tests/test_threeroll_smhm.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/smhm_kernels/threeroll_kernels.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/smhm_kernels/threeroll_smhm.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_ccshmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_flat_hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_halobias_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_halobias_singlez_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_hmf_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_mc_diffmah_tpeak.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_mc_hosts.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_mc_subs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_mc_tinfall.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/test_measure_hmf.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/README.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_12.32.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.00.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.55.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_14.08.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.31.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.99.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_13.51.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_14.05.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/upweighting/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/upweighting/namedtuple_cat_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/upweighting/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/upweighting/tests/test_mc_gen_upweighting.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/upweighting/upweighting.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mass_functions/utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/mc_diffsky.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/diagnostics/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/diagnostics/plot_pmerge_vs_time.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/diagnostics/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/diagnostics/tests/test_plot_pmerge_vs_time.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/fitmerge_multi_redshift.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/merging_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/tests/test_fitmerge_multi_redshift.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/merging/tests/test_merging_model.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/param_utils/diffsky_param_wrapper.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/param_utils/spspop_param_utils.py +0 -0
- {diffsky-0.3.3/diffsky/param_utils → diffsky-0.3.4/diffsky/param_utils/tests}/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/param_utils/tests/test_diffsky_param_wrapper.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/param_utils/tests/test_spspop_param_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/phot_utils.py +0 -0
- {diffsky-0.3.3/diffsky/param_utils/tests → diffsky-0.3.4/diffsky/ssp_err_model}/__init__.py +0 -0
- {diffsky-0.3.3/diffsky/ssp_err_model2 → diffsky-0.3.4/diffsky/ssp_err_model}/defaults.py +0 -0
- {diffsky-0.3.3/diffsky/ssp_err_model2 → diffsky-0.3.4/diffsky/ssp_err_model}/ssp_err_model.py +0 -0
- {diffsky-0.3.3/diffsky/ssp_err_model → diffsky-0.3.4/diffsky/ssp_err_model/tests}/__init__.py +0 -0
- {diffsky-0.3.3/diffsky/ssp_err_model2 → diffsky-0.3.4/diffsky/ssp_err_model}/tests/test_ssp_err_model.py +0 -0
- {diffsky-0.3.3/diffsky/ssp_err_model/tests → diffsky-0.3.4/diffsky/sumstats}/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/sumstats/diffndhist.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/sumstats/smhm.py +0 -0
- {diffsky-0.3.3/diffsky/ssp_err_model2 → diffsky-0.3.4/diffsky/sumstats/tests}/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/sumstats/tests/test_smhm.py +0 -0
- {diffsky-0.3.3/diffsky/ssp_err_model2 → diffsky-0.3.4/diffsky}/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/tests/test_dependencies.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/tests/test_diffndhist.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/tests/test_diffsky_setup.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/tests/test_imports.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/tests/test_mc_diffsky.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/tests/test_phot_utils.py +0 -0
- {diffsky-0.3.3/diffsky/sumstats → diffsky-0.3.4/diffsky/tests/testing_data}/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/crossmatch_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/sfh_utils.py +0 -0
- {diffsky-0.3.3/diffsky/sumstats → diffsky-0.3.4/diffsky/utils}/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/tests/test_crossmatch_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/tests/test_sfh_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/tests/test_tw_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/tests/test_utility_funcs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/tw_utils.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky/utils/utility_funcs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky.egg-info/dependency_links.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/diffsky.egg-info/top_level.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/Makefile +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/make.bat +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/citation.rst +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/demo_diffmahpop_lightcone.ipynb +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/demo_diffmahpop_t_peak.ipynb +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/demo_diffsky_lightcone.ipynb +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/demo_diffsky_recompute_from_mock.ipynb +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/demos.rst +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/index.rst +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/installation.rst +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/docs/source/validate_mc_lightcones.ipynb +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/pyproject.toml +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/bebop_jobs.sh +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/generate_lj_cf_crossmatch_holepatch_jobs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/generate_lj_cf_crossmatch_jobs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/inspect_lc_cf_crossx_job_logs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/lc_cf_crossmatch_script.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/run_lc_cf_crossmatch_base.sh +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/run_tabulate_coreforest_overlap.sh +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_CROSSX/tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_LC_MOCKS/generate_sed_mock_jobs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_LC_MOCKS/generate_sfh_mock_jobs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_LC_MOCKS/inspect_sed_mock_job_logs.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/LJ_SNAP_MOCKS/make_sfh_lj_snapshot_mock.py +0 -0
- {diffsky-0.3.3/diffsky/systematics → diffsky-0.3.4/scripts}/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/ellipsoid_shape_fitting/README.txt +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/ellipsoid_shape_fitting/fit_bulge_shapes_to_rp13.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/ellipsoid_shape_fitting/fit_disk_shapes_to_rp13.py +0 -0
- {diffsky-0.3.3/diffsky/systematics → diffsky-0.3.4/scripts}/tests/__init__.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/tests/test_inspect_lightcone_mock.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/scripts/tests/test_tabulate_coreforest_overlap.py +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/setup.cfg +0 -0
- {diffsky-0.3.3 → diffsky-0.3.4}/setup.py +0 -0
|
@@ -71,7 +71,7 @@ jobs:
|
|
|
71
71
|
|
|
72
72
|
# Download data
|
|
73
73
|
cd dsps_drn
|
|
74
|
-
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/ssp_data_fsps_v3.
|
|
74
|
+
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/ssp_data_fsps_v3.2_emlines.hdf5
|
|
75
75
|
cd filters
|
|
76
76
|
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_u_transmission.h5
|
|
77
77
|
wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_g_transmission.h5
|
|
@@ -115,7 +115,7 @@ jobs:
|
|
|
115
115
|
- name: validate mock
|
|
116
116
|
shell: bash -l {0}
|
|
117
117
|
run: |
|
|
118
|
-
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/
|
|
118
|
+
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/smdpl_dr1
|
|
119
119
|
|
|
120
120
|
- name: remove sfh_model mock
|
|
121
121
|
shell: bash -l {0}
|
|
@@ -137,7 +137,7 @@ jobs:
|
|
|
137
137
|
1 \
|
|
138
138
|
ci_test_output \
|
|
139
139
|
ci_test_mock \
|
|
140
|
-
-cosmos_fit
|
|
140
|
+
-cosmos_fit cosmos_260120_UM \
|
|
141
141
|
-synthetic_cores 1 \
|
|
142
142
|
-lgmp_min 12.0 \
|
|
143
143
|
-lgmp_max 13.0 \
|
|
@@ -151,7 +151,43 @@ jobs:
|
|
|
151
151
|
- name: validate mock
|
|
152
152
|
shell: bash -l {0}
|
|
153
153
|
run: |
|
|
154
|
-
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/
|
|
154
|
+
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/cosmos_260120_UM
|
|
155
|
+
|
|
156
|
+
- name: remove cosmos_fit mock
|
|
157
|
+
shell: bash -l {0}
|
|
158
|
+
run: |
|
|
159
|
+
rm -rf ci_test_output
|
|
160
|
+
|
|
161
|
+
- name: create mock with no_dbk option
|
|
162
|
+
shell: bash -l {0}
|
|
163
|
+
run: |
|
|
164
|
+
# Create output directory
|
|
165
|
+
mkdir -p ci_test_output
|
|
166
|
+
|
|
167
|
+
# Run mock production script
|
|
168
|
+
mpiexec -n 1 python scripts/LJ_LC_MOCKS/make_ou26_mock_batch.py \
|
|
169
|
+
poboy \
|
|
170
|
+
0.01 \
|
|
171
|
+
0.2 \
|
|
172
|
+
0 \
|
|
173
|
+
1 \
|
|
174
|
+
ci_test_output \
|
|
175
|
+
ci_test_mock \
|
|
176
|
+
-cosmos_fit cosmos_260120_UM \
|
|
177
|
+
-synthetic_cores 1 \
|
|
178
|
+
-lgmp_min 12.0 \
|
|
179
|
+
-lgmp_max 13.0 \
|
|
180
|
+
--lsst_only --no_dbk
|
|
181
|
+
|
|
182
|
+
- name: verify script completed
|
|
183
|
+
shell: bash -l {0}
|
|
184
|
+
run: |
|
|
185
|
+
echo "sfh_model mock generated successfully"
|
|
186
|
+
|
|
187
|
+
- name: validate mock
|
|
188
|
+
shell: bash -l {0}
|
|
189
|
+
run: |
|
|
190
|
+
python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/cosmos_260120_UM --no_dbk
|
|
155
191
|
|
|
156
192
|
- name: remove cosmos_fit mock
|
|
157
193
|
shell: bash -l {0}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.4 (2026-02-05)
|
|
2
|
+
-------------------
|
|
3
|
+
- Reduce mock filesize by 10x by omitting redundant dust parameters (https://github.com/ArgonneCPAC/diffsky/pull/317)
|
|
4
|
+
- Add feature to make mocks with/out disk/bulge/knot decomposition (https://github.com/ArgonneCPAC/diffsky/pull/317)
|
|
5
|
+
- Require Numpy>=2 (https://github.com/ArgonneCPAC/diffsky/pull/331)
|
|
6
|
+
- Include emission line fluxes in output mock (https://github.com/ArgonneCPAC/diffsky/pull/335)
|
|
7
|
+
- Mock galaxies populating both synthetic and simulated halos are written out to the same directory (https://github.com/ArgonneCPAC/diffsky/pull/336)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
0.3.3 (2026-01-06)
|
|
2
11
|
-------------------
|
|
3
12
|
- Fix bug in elliptical projections
|
|
4
13
|
- https://github.com/ArgonneCPAC/diffsky/pull/297
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diffsky
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
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
|
|
@@ -38,7 +38,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
38
38
|
Requires-Python: >=3.11
|
|
39
39
|
Description-Content-Type: text/x-rst
|
|
40
40
|
License-File: LICENSE.rst
|
|
41
|
-
Requires-Dist: numpy
|
|
41
|
+
Requires-Dist: numpy>=2
|
|
42
42
|
Requires-Dist: jax
|
|
43
43
|
Requires-Dist: diffmah>=0.7.3
|
|
44
44
|
Requires-Dist: diffstar>=1.0.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.3.4'
|
{diffsky-0.3.3 → diffsky-0.3.4}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py
RENAMED
|
@@ -29,7 +29,7 @@ BNPAT_LC_MOCK = "data-{0}.{1}.diffsky_gals.hdf5"
|
|
|
29
29
|
HLINE = "----------"
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def get_lc_mock_data_report(fn_lc_mock):
|
|
32
|
+
def get_lc_mock_data_report(fn_lc_mock, *, no_dbk, no_sed):
|
|
33
33
|
report = dict()
|
|
34
34
|
data = load_flat_hdf5(fn_lc_mock, dataset="data")
|
|
35
35
|
|
|
@@ -49,17 +49,27 @@ def get_lc_mock_data_report(fn_lc_mock):
|
|
|
49
49
|
if len(msg) > 0:
|
|
50
50
|
report["column_metadata"] = msg
|
|
51
51
|
|
|
52
|
-
msg =
|
|
52
|
+
msg = check_column_shapes(fn_lc_mock, data=data)
|
|
53
53
|
if len(msg) > 0:
|
|
54
|
-
report["
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
report["column_shapes"] = msg
|
|
55
|
+
|
|
56
|
+
if no_dbk or no_sed:
|
|
57
|
+
pass
|
|
58
|
+
else:
|
|
59
|
+
msg = check_consistent_disk_bulge_knot_luminosities(fn_lc_mock, data=data)
|
|
60
|
+
if len(msg) > 0:
|
|
61
|
+
report["disk_bulge_knot_inconsistency"] = msg
|
|
62
|
+
|
|
63
|
+
msg = check_has_t_table(fn_lc_mock)
|
|
64
|
+
if len(msg) > 0:
|
|
65
|
+
report["t_table_metadata"] = msg
|
|
66
|
+
|
|
67
|
+
if no_sed:
|
|
68
|
+
pass
|
|
69
|
+
else:
|
|
70
|
+
msg = check_recomputed_photometry(fn_lc_mock, no_dbk=no_dbk)
|
|
71
|
+
if len(msg) > 0:
|
|
72
|
+
report["recomputed_photometry"] = msg
|
|
63
73
|
|
|
64
74
|
return report
|
|
65
75
|
|
|
@@ -290,7 +300,28 @@ def check_consistent_disk_bulge_knot_luminosities(
|
|
|
290
300
|
return msg
|
|
291
301
|
|
|
292
302
|
|
|
293
|
-
def
|
|
303
|
+
def check_column_shapes(fn_lc_mock, data=None):
|
|
304
|
+
if data is None:
|
|
305
|
+
data = load_flat_hdf5(fn_lc_mock, dataset="data")
|
|
306
|
+
|
|
307
|
+
msg = []
|
|
308
|
+
allowed_multdim_columns = ("delta_mag_ssp_scatter",)
|
|
309
|
+
|
|
310
|
+
shapes = [data[key].shape for key in data.keys()]
|
|
311
|
+
for key, shape in zip(data.keys(), shapes):
|
|
312
|
+
if len(shape) > 1:
|
|
313
|
+
if key in allowed_multdim_columns:
|
|
314
|
+
pass
|
|
315
|
+
else:
|
|
316
|
+
s = f"`{key}` column has unexpected shape={shape}"
|
|
317
|
+
msg.append(s)
|
|
318
|
+
|
|
319
|
+
return msg
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
def check_recomputed_photometry(
|
|
323
|
+
fn_lc_mock, n_test=200, return_results=False, *, no_dbk=False
|
|
324
|
+
):
|
|
294
325
|
"""Recompute first N_TEST=50 galaxies photometry and enforce agreement"""
|
|
295
326
|
with h5py.File(fn_lc_mock, "r") as hdf:
|
|
296
327
|
mock_version_name = hdf["metadata"].attrs["mock_version_name"]
|
|
@@ -320,42 +351,70 @@ def check_recomputed_photometry(fn_lc_mock, n_test=200, return_results=False):
|
|
|
320
351
|
)
|
|
321
352
|
|
|
322
353
|
mc_is_q = np.where(mock["mc_sfh_type"] == 0, True, False)
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
phot_info
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
354
|
+
if no_dbk:
|
|
355
|
+
args = (
|
|
356
|
+
mc_is_q,
|
|
357
|
+
mock["uran_av"],
|
|
358
|
+
mock["uran_delta"],
|
|
359
|
+
mock["uran_funo"],
|
|
360
|
+
mock["uran_pburst"],
|
|
361
|
+
mock["delta_mag_ssp_scatter"],
|
|
362
|
+
sfh_params,
|
|
363
|
+
mock["redshift_true"],
|
|
364
|
+
t_obs,
|
|
365
|
+
mah_params,
|
|
366
|
+
ssp_data,
|
|
367
|
+
precomputed_ssp_mag_table,
|
|
368
|
+
z_phot_table,
|
|
369
|
+
wave_eff_table,
|
|
370
|
+
param_collection.mzr_params,
|
|
371
|
+
param_collection.spspop_params,
|
|
372
|
+
param_collection.scatter_params,
|
|
373
|
+
param_collection.ssperr_params,
|
|
374
|
+
sim_info.cosmo_params,
|
|
375
|
+
sim_info.fb,
|
|
376
|
+
)
|
|
377
|
+
_res = dbk_phot_from_mock._reproduce_mock_phot_kern(*args)
|
|
378
|
+
phot_info, phot_randoms = _res
|
|
379
|
+
phot_info = phot_info._asdict()
|
|
380
|
+
|
|
381
|
+
else:
|
|
382
|
+
args = (
|
|
383
|
+
mc_is_q,
|
|
384
|
+
mock["uran_av"],
|
|
385
|
+
mock["uran_delta"],
|
|
386
|
+
mock["uran_funo"],
|
|
387
|
+
mock["uran_pburst"],
|
|
388
|
+
mock["delta_mag_ssp_scatter"],
|
|
389
|
+
sfh_params,
|
|
390
|
+
mock["redshift_true"],
|
|
391
|
+
t_obs,
|
|
392
|
+
mah_params,
|
|
393
|
+
mock["fknot"],
|
|
394
|
+
ssp_data,
|
|
395
|
+
precomputed_ssp_mag_table,
|
|
396
|
+
z_phot_table,
|
|
397
|
+
wave_eff_table,
|
|
398
|
+
param_collection.mzr_params,
|
|
399
|
+
param_collection.spspop_params,
|
|
400
|
+
param_collection.scatter_params,
|
|
401
|
+
param_collection.ssperr_params,
|
|
402
|
+
sim_info.cosmo_params,
|
|
403
|
+
sim_info.fb,
|
|
404
|
+
)
|
|
405
|
+
_res = dbk_phot_from_mock._reproduce_mock_dbk_kern(*args)
|
|
406
|
+
(
|
|
407
|
+
phot_info,
|
|
408
|
+
phot_randoms,
|
|
409
|
+
disk_bulge_history,
|
|
410
|
+
obs_mags_bulge,
|
|
411
|
+
obs_mags_disk,
|
|
412
|
+
obs_mags_knots,
|
|
413
|
+
) = _res
|
|
414
|
+
phot_info = phot_info._asdict()
|
|
415
|
+
phot_info["obs_mags_bulge"] = obs_mags_bulge
|
|
416
|
+
phot_info["obs_mags_disk"] = obs_mags_disk
|
|
417
|
+
phot_info["obs_mags_knots"] = obs_mags_knots
|
|
359
418
|
|
|
360
419
|
if return_results:
|
|
361
420
|
return mock, phot_info, tcurves
|
|
@@ -410,5 +469,10 @@ def check_recomputed_photometry(fn_lc_mock, n_test=200, return_results=False):
|
|
|
410
469
|
)
|
|
411
470
|
except AssertionError:
|
|
412
471
|
msg.append("Inconsistent recalculation of disk/bulge/knot obs_mags")
|
|
472
|
+
except KeyError:
|
|
473
|
+
if no_dbk is True:
|
|
474
|
+
pass
|
|
475
|
+
else:
|
|
476
|
+
msg.append("Missing disk/bulge/knot photometry")
|
|
413
477
|
|
|
414
478
|
return msg
|
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
# flake8: noqa: E402
|
|
2
2
|
"""Kernels used to produce the SFH mock lightcone"""
|
|
3
|
+
import jax
|
|
4
|
+
|
|
5
|
+
jax.config.update("jax_enable_x64", True)
|
|
3
6
|
|
|
4
7
|
import os
|
|
5
8
|
from collections import namedtuple
|
|
6
9
|
|
|
7
|
-
import jax
|
|
8
|
-
from dsps.data_loaders import load_transmission_curve
|
|
9
|
-
from dsps.data_loaders.load_filter_data import TransmissionCurve
|
|
10
|
-
from dsps.data_loaders.load_ssp_data import SSPData
|
|
11
|
-
|
|
12
|
-
from ...param_utils import diffsky_param_wrapper as dpw
|
|
13
|
-
from .. import io_utils as iou
|
|
14
|
-
|
|
15
|
-
jax.config.update("jax_enable_x64", True)
|
|
16
10
|
import h5py
|
|
17
11
|
import numpy as np
|
|
18
12
|
from diffmah import DEFAULT_MAH_PARAMS, logmh_at_t_obs
|
|
19
13
|
from diffstar import DEFAULT_DIFFSTAR_PARAMS
|
|
20
14
|
from diffstar.defaults import T_TABLE_MIN
|
|
21
15
|
from dsps.cosmology import flat_wcdm
|
|
16
|
+
from dsps.data_loaders import load_transmission_curve
|
|
17
|
+
from dsps.data_loaders.load_filter_data import TransmissionCurve
|
|
22
18
|
from dsps.sfh.diffburst import DEFAULT_BURST_PARAMS
|
|
23
19
|
from jax import jit as jjit
|
|
24
20
|
from jax import numpy as jnp
|
|
25
21
|
from jax import random as jran
|
|
26
22
|
from jax import vmap
|
|
27
23
|
|
|
24
|
+
from diffsky.data_loaders import load_ssp_data
|
|
25
|
+
|
|
28
26
|
from ...dustpop.tw_dust import DEFAULT_DUST_PARAMS
|
|
29
27
|
from ...ellipsoidal_shapes import bulge_shapes, disk_shapes, ellipse_proj_kernels
|
|
30
28
|
from ...experimental.black_hole_modeling import black_hole_mass as bhm
|
|
@@ -38,7 +36,8 @@ from ...experimental.size_modeling import disk_bulge_sizes as dbs
|
|
|
38
36
|
from ...fake_sats import halo_boundary_functions as hbf
|
|
39
37
|
from ...fake_sats import nfw_config_space as nfwcs
|
|
40
38
|
from ...fake_sats import vector_utilities as vecu
|
|
41
|
-
from
|
|
39
|
+
from ...param_utils import diffsky_param_wrapper as dpw
|
|
40
|
+
from .. import io_utils as iou
|
|
42
41
|
from . import lightcone_utils as hlu
|
|
43
42
|
from . import load_lc_cf
|
|
44
43
|
|
|
@@ -105,8 +104,6 @@ DIFFSKY_DATA_KEYS_OUT = (
|
|
|
105
104
|
"logmp_obs",
|
|
106
105
|
*TOP_HOST_SHAPE_KEYS,
|
|
107
106
|
*DEFAULT_MAH_PARAMS._fields,
|
|
108
|
-
*SIZE_KEYS,
|
|
109
|
-
*ORIENTATION_KEYS,
|
|
110
107
|
)
|
|
111
108
|
|
|
112
109
|
PHOT_INFO_KEYS_OUT = (
|
|
@@ -127,6 +124,13 @@ BLACK_HOLE_KEYS_OUT = (
|
|
|
127
124
|
"black_hole_accretion_rate",
|
|
128
125
|
)
|
|
129
126
|
|
|
127
|
+
DBK_KEYS = (
|
|
128
|
+
"fknot",
|
|
129
|
+
*ORIENTATION_KEYS,
|
|
130
|
+
*SIZE_KEYS,
|
|
131
|
+
*MORPH_KEYS_OUT,
|
|
132
|
+
*BLACK_HOLE_KEYS_OUT,
|
|
133
|
+
)
|
|
130
134
|
|
|
131
135
|
interp_vmap = jjit(vmap(jnp.interp, in_axes=(0, None, 0)))
|
|
132
136
|
|
|
@@ -136,20 +140,27 @@ BNPAT_SSP_DATA = "diffsky_{0}_ssp_data.hdf5"
|
|
|
136
140
|
BNPAT_PARAM_COLLECTION = "diffsky_{0}_param_collection.hdf5"
|
|
137
141
|
|
|
138
142
|
|
|
143
|
+
def get_output_mock_columns(no_dbk, no_sed):
|
|
144
|
+
if no_sed:
|
|
145
|
+
raise NotImplementedError("sfh-only mock")
|
|
146
|
+
else:
|
|
147
|
+
if no_dbk:
|
|
148
|
+
raise NotImplementedError("SED-only mock")
|
|
149
|
+
else:
|
|
150
|
+
raise NotImplementedError("DBK SED mock")
|
|
151
|
+
|
|
152
|
+
|
|
139
153
|
def write_diffsky_ssp_data_to_disk(drn_out, mock_version_name, ssp_data):
|
|
140
154
|
""""""
|
|
141
155
|
bn_ssp_data = BNPAT_SSP_DATA.format(mock_version_name)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
hdf_out[name] = arr
|
|
156
|
+
fn_ssp_data = os.path.join(drn_out, bn_ssp_data)
|
|
157
|
+
load_ssp_data.write_ssp_templates_to_disk(fn_ssp_data, ssp_data)
|
|
145
158
|
|
|
146
159
|
|
|
147
160
|
def load_diffsky_ssp_data(drn_mock, mock_version_name):
|
|
148
161
|
bn_ssp_data = BNPAT_SSP_DATA.format(mock_version_name)
|
|
149
162
|
fn_ssp_data = os.path.join(drn_mock, bn_ssp_data)
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
ssp_data = SSPData(*[ssp_data_dict[key] for key in SSPData._fields])
|
|
163
|
+
ssp_data = load_ssp_data.load_ssp_templates(fn=fn_ssp_data)
|
|
153
164
|
return ssp_data
|
|
154
165
|
|
|
155
166
|
|
|
@@ -253,24 +264,6 @@ def load_diffsky_z_phot_table(fn_mock):
|
|
|
253
264
|
return z_phot_table
|
|
254
265
|
|
|
255
266
|
|
|
256
|
-
def write_lc_sfh_mock_to_disk(fnout, lc_data, diffsky_data):
|
|
257
|
-
with h5py.File(fnout, "w") as hdf_out:
|
|
258
|
-
|
|
259
|
-
hdf_out.require_group("data")
|
|
260
|
-
|
|
261
|
-
ra, dec = hlu._get_lon_lat_from_theta_phi(lc_data["theta"], lc_data["phi"])
|
|
262
|
-
hdf_out["data/ra"] = ra
|
|
263
|
-
hdf_out["data/dec"] = dec
|
|
264
|
-
|
|
265
|
-
for key in LC_DATA_KEYS_OUT:
|
|
266
|
-
key_out = "data/" + key
|
|
267
|
-
hdf_out[key_out] = lc_data[key]
|
|
268
|
-
|
|
269
|
-
for key in DIFFSKY_DATA_KEYS_OUT:
|
|
270
|
-
key_out = "data/" + key
|
|
271
|
-
hdf_out[key_out] = diffsky_data[key]
|
|
272
|
-
|
|
273
|
-
|
|
274
267
|
def get_imputed_velocity(vx, vy, vz, ran_key, std_v=500.0):
|
|
275
268
|
"""Overwrite zero-valued velocities with random normal data"""
|
|
276
269
|
msk_imputed = (vx == 0) & (vy == 0) & (vz == 0)
|
|
@@ -296,14 +289,20 @@ def write_batched_lc_sfh_mock_to_disk(fnout, lc_data, diffsky_data):
|
|
|
296
289
|
|
|
297
290
|
|
|
298
291
|
def write_batched_lc_sed_mock_to_disk(
|
|
299
|
-
fnout, phot_info, lc_data, diffsky_data, filter_nicknames
|
|
292
|
+
fnout, phot_info, lc_data, diffsky_data, filter_nicknames, lineflux_nicknames
|
|
300
293
|
):
|
|
301
294
|
write_batched_lc_sfh_mock_to_disk(fnout, lc_data, diffsky_data)
|
|
302
295
|
|
|
303
|
-
|
|
296
|
+
specphot_dict = dict()
|
|
304
297
|
for iband, name in enumerate(filter_nicknames):
|
|
305
|
-
|
|
306
|
-
|
|
298
|
+
specphot_dict[name] = phot_info["obs_mags"][:, iband]
|
|
299
|
+
|
|
300
|
+
for linename in lineflux_nicknames:
|
|
301
|
+
specphot_dict[linename] = phot_info[linename]
|
|
302
|
+
|
|
303
|
+
write_batched_mock_data(
|
|
304
|
+
fnout, specphot_dict, list(specphot_dict.keys()), dataset="data"
|
|
305
|
+
)
|
|
307
306
|
|
|
308
307
|
phot_info_colnames = [
|
|
309
308
|
*DEFAULT_BURST_PARAMS._fields,
|
|
@@ -313,55 +312,14 @@ def write_batched_lc_sed_mock_to_disk(
|
|
|
313
312
|
]
|
|
314
313
|
write_batched_mock_data(fnout, phot_info, phot_info_colnames, dataset="data")
|
|
315
314
|
|
|
316
|
-
diffsky_data_colnames = [*MORPH_KEYS_OUT, *BLACK_HOLE_KEYS_OUT]
|
|
317
|
-
write_batched_mock_data(fnout, diffsky_data, diffsky_data_colnames, dataset="data")
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
def write_lc_sed_mock_to_disk(
|
|
321
|
-
fnout, phot_info, lc_data, diffsky_data, filter_nicknames
|
|
322
|
-
):
|
|
323
|
-
write_lc_sfh_mock_to_disk(fnout, lc_data, diffsky_data)
|
|
324
|
-
|
|
325
|
-
with h5py.File(fnout, "a") as hdf_out:
|
|
326
|
-
for iband, name in enumerate(filter_nicknames):
|
|
327
|
-
hdf_out["data"][name] = phot_info["obs_mags"][:, iband]
|
|
328
|
-
|
|
329
|
-
for burst_pname in DEFAULT_BURST_PARAMS._fields:
|
|
330
|
-
hdf_out["data"][burst_pname] = phot_info[burst_pname]
|
|
331
|
-
|
|
332
|
-
for dust_pname in DEFAULT_DUST_PARAMS._fields:
|
|
333
|
-
hdf_out["data"][dust_pname] = phot_info[dust_pname]
|
|
334
|
-
|
|
335
|
-
hdf_out["data"]["mc_sfh_type"] = phot_info["mc_sfh_type"]
|
|
336
|
-
|
|
337
|
-
for name in PHOT_INFO_KEYS_OUT:
|
|
338
|
-
hdf_out["data"][name] = phot_info[name]
|
|
339
|
-
|
|
340
|
-
for name in MORPH_KEYS_OUT:
|
|
341
|
-
hdf_out["data"][name] = diffsky_data[name]
|
|
342
|
-
|
|
343
|
-
for name in BLACK_HOLE_KEYS_OUT:
|
|
344
|
-
hdf_out["data"][name] = diffsky_data[name]
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
def write_lc_dbk_sed_mock_to_disk(
|
|
348
|
-
fnout, phot_info, lc_data, diffsky_data, filter_nicknames
|
|
349
|
-
):
|
|
350
|
-
write_lc_sed_mock_to_disk(fnout, phot_info, lc_data, diffsky_data, filter_nicknames)
|
|
351
|
-
with h5py.File(fnout, "a") as hdf_out:
|
|
352
|
-
for iband, name in enumerate(filter_nicknames):
|
|
353
|
-
hdf_out["data"][name + "_bulge"] = phot_info["obs_mags_bulge"][:, iband]
|
|
354
|
-
hdf_out["data"][name + "_disk"] = phot_info["obs_mags_disk"][:, iband]
|
|
355
|
-
hdf_out["data"][name + "_knots"] = phot_info["obs_mags_knots"][:, iband]
|
|
356
|
-
hdf_out["data"]["fknot"] = phot_info["fknot"]
|
|
357
|
-
|
|
358
315
|
|
|
359
316
|
def write_batched_lc_dbk_sed_mock_to_disk(
|
|
360
|
-
fnout, phot_info, lc_data, diffsky_data, filter_nicknames
|
|
317
|
+
fnout, phot_info, lc_data, diffsky_data, filter_nicknames, lineflux_nicknames
|
|
361
318
|
):
|
|
362
319
|
write_batched_lc_sed_mock_to_disk(
|
|
363
|
-
fnout, phot_info, lc_data, diffsky_data, filter_nicknames
|
|
320
|
+
fnout, phot_info, lc_data, diffsky_data, filter_nicknames, lineflux_nicknames
|
|
364
321
|
)
|
|
322
|
+
|
|
365
323
|
dbk_phot_dict = dict()
|
|
366
324
|
for iband, name in enumerate(filter_nicknames):
|
|
367
325
|
dbk_phot_dict[name + "_bulge"] = phot_info["obs_mags_bulge"][:, iband]
|
|
@@ -372,6 +330,14 @@ def write_batched_lc_dbk_sed_mock_to_disk(
|
|
|
372
330
|
fnout, dbk_phot_dict, list(dbk_phot_dict.keys()), dataset="data"
|
|
373
331
|
)
|
|
374
332
|
|
|
333
|
+
diffsky_data_colnames = [
|
|
334
|
+
*MORPH_KEYS_OUT,
|
|
335
|
+
*BLACK_HOLE_KEYS_OUT,
|
|
336
|
+
*ORIENTATION_KEYS,
|
|
337
|
+
*SIZE_KEYS,
|
|
338
|
+
]
|
|
339
|
+
write_batched_mock_data(fnout, diffsky_data, diffsky_data_colnames, dataset="data")
|
|
340
|
+
|
|
375
341
|
|
|
376
342
|
def add_peculiar_velocity_to_mock(
|
|
377
343
|
lc_data, diffsky_data, ran_key=None, impute_vzero=True
|
|
@@ -450,15 +416,22 @@ def add_dbk_phot_quantities_to_mock(
|
|
|
450
416
|
[diffsky_data[key] for key in DEFAULT_MAH_PARAMS._fields]
|
|
451
417
|
)
|
|
452
418
|
|
|
453
|
-
|
|
419
|
+
precomputed_ssp_lineflux_cgs_table = np.array(
|
|
420
|
+
[emline.line_flux for emline in ssp_data.emlines]
|
|
421
|
+
)
|
|
422
|
+
line_wave_table = np.array([emline.line_wave for emline in ssp_data.emlines])
|
|
423
|
+
|
|
424
|
+
dbk_phot_info, dbk_weights = mcpk._mc_dbk_specphot_kern(
|
|
454
425
|
ran_key,
|
|
455
426
|
lc_data["redshift_true"],
|
|
456
427
|
diffsky_data["t_obs"],
|
|
457
428
|
mah_params,
|
|
458
429
|
ssp_data,
|
|
459
430
|
precomputed_ssp_mag_table,
|
|
431
|
+
precomputed_ssp_lineflux_cgs_table,
|
|
460
432
|
z_phot_table,
|
|
461
433
|
wave_eff_table,
|
|
434
|
+
line_wave_table,
|
|
462
435
|
param_collection.diffstarpop_params,
|
|
463
436
|
param_collection.mzr_params,
|
|
464
437
|
param_collection.spspop_params,
|
|
@@ -475,6 +448,51 @@ def add_dbk_phot_quantities_to_mock(
|
|
|
475
448
|
return dbk_phot_info, lc_data, diffsky_data
|
|
476
449
|
|
|
477
450
|
|
|
451
|
+
def add_phot_quantities_to_mock(
|
|
452
|
+
sim_info,
|
|
453
|
+
lc_data,
|
|
454
|
+
diffsky_data,
|
|
455
|
+
ssp_data,
|
|
456
|
+
param_collection,
|
|
457
|
+
precomputed_ssp_mag_table,
|
|
458
|
+
z_phot_table,
|
|
459
|
+
wave_eff_table,
|
|
460
|
+
ran_key,
|
|
461
|
+
):
|
|
462
|
+
ran_key, mah_key = jran.split(ran_key, 2)
|
|
463
|
+
diffsky_data = add_diffmah_properties_to_mock(
|
|
464
|
+
diffsky_data, lc_data["redshift_true"], sim_info, mah_key
|
|
465
|
+
)
|
|
466
|
+
|
|
467
|
+
mah_params = DEFAULT_MAH_PARAMS._make(
|
|
468
|
+
[diffsky_data[key] for key in DEFAULT_MAH_PARAMS._fields]
|
|
469
|
+
)
|
|
470
|
+
|
|
471
|
+
phot_info, phot_randoms = mcpk._mc_phot_kern(
|
|
472
|
+
ran_key,
|
|
473
|
+
lc_data["redshift_true"],
|
|
474
|
+
diffsky_data["t_obs"],
|
|
475
|
+
mah_params,
|
|
476
|
+
ssp_data,
|
|
477
|
+
precomputed_ssp_mag_table,
|
|
478
|
+
z_phot_table,
|
|
479
|
+
wave_eff_table,
|
|
480
|
+
param_collection.diffstarpop_params,
|
|
481
|
+
param_collection.mzr_params,
|
|
482
|
+
param_collection.spspop_params,
|
|
483
|
+
param_collection.scatter_params,
|
|
484
|
+
param_collection.ssperr_params,
|
|
485
|
+
sim_info.cosmo_params,
|
|
486
|
+
sim_info.fb,
|
|
487
|
+
)
|
|
488
|
+
|
|
489
|
+
# Discard columns storing non-tabular data
|
|
490
|
+
phot_info = phot_info._asdict()
|
|
491
|
+
phot_info.pop("t_table")
|
|
492
|
+
|
|
493
|
+
return phot_info, lc_data, diffsky_data
|
|
494
|
+
|
|
495
|
+
|
|
478
496
|
def add_morphology_quantities_to_diffsky_data(
|
|
479
497
|
sim_info, phot_info, lc_data, diffsky_data, morph_key
|
|
480
498
|
):
|