diffsky 0.2.5__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/linting.yaml +8 -3
  2. diffsky-0.3.1/.github/workflows/mock_generation_test.yaml +111 -0
  3. {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/monthly-warning-test.yaml +2 -3
  4. {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/test_latest_releases.yaml +2 -2
  5. {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/test_main_branch.yaml +2 -3
  6. diffsky-0.3.1/.github/workflows/test_new_diffstar.yaml +90 -0
  7. {diffsky-0.2.5 → diffsky-0.3.1}/.github/workflows/tests_cron.yaml +2 -3
  8. {diffsky-0.2.5 → diffsky-0.3.1}/.gitignore +2 -0
  9. {diffsky-0.2.5 → diffsky-0.3.1}/CHANGES.rst +20 -0
  10. {diffsky-0.2.5 → diffsky-0.3.1}/PKG-INFO +6 -18
  11. {diffsky-0.2.5 → diffsky-0.3.1}/README.rst +3 -14
  12. diffsky-0.3.1/diffsky/_version.py +1 -0
  13. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/__init__.py +2 -2
  14. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/plot_fburstpop.py +1 -2
  15. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/plot_tburstpop.py +1 -2
  16. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/tests/test_plot_fburstpop.py +1 -2
  17. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/tests/test_plot_tburstpop.py +1 -2
  18. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffburstpop.py +2 -2
  19. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffqburstpop.py +1 -2
  20. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffqburstpop_mono_noise.py +6 -4
  21. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/fburstpop.py +1 -2
  22. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/freqburst.py +1 -2
  23. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tburstpop.py +2 -2
  24. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffburstpop.py +2 -2
  25. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffqburstpop.py +1 -2
  26. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_fburstpop.py +1 -2
  27. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_fburstpop_mono.py +1 -2
  28. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_freqburst.py +1 -2
  29. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_tburstpop.py +2 -2
  30. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/cosmos_mstar_model.py +1 -2
  31. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/tests/test_cosmos_mstar_model.py +1 -2
  32. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmo.txt +7 -0
  33. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps.txt +101 -0
  34. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryLCDM/cosmotools_steps_a.txt +101 -0
  35. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmo.txt +7 -0
  36. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps.txt +101 -0
  37. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/DiscoveryW0WA/cosmotools_steps_a.txt +101 -0
  38. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmo.txt +7 -0
  39. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps.txt +101 -0
  40. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/cosmotools_steps_a.txt +101 -0
  41. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data/LastJourney/lc_cores-decomposition.txt +1474 -0
  42. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_cores.py +3 -10
  43. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +17 -0
  44. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +387 -0
  45. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/hacc_core_utils.py +7 -12
  46. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/haccsims.py +63 -0
  47. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/lc_mock_production.py +663 -0
  48. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/lightcone_utils.py +139 -11
  49. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_hacc_cores.py +7 -8
  50. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_lc_cf.py +9 -8
  51. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_lc_cf_synthetic.py +22 -8
  52. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/metadata_sfh_mock.py +471 -0
  53. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_hacc_core_utils.py +5 -17
  54. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/tests/test_haccsims.py +79 -0
  55. diffsky-0.3.1/diffsky/data_loaders/hacc_utils/tests/test_lc_mock_production.py +173 -0
  56. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_lightcone_utils.py +38 -12
  57. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_load_hacc_cores.py +2 -0
  58. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_load_lc_cf.py +4 -1
  59. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/io_utils.py +23 -0
  60. diffsky-0.3.1/diffsky/data_loaders/mock_utils.py +31 -0
  61. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/mpi_utils.py +23 -0
  62. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/test_cosmos_loader.py +1 -2
  63. diffsky-0.3.1/diffsky/data_loaders/tests/test_io_utils.py +32 -0
  64. diffsky-0.3.1/diffsky/data_loaders/tests/test_mock_utils.py +33 -0
  65. diffsky-0.3.1/diffsky/data_loaders/tests/test_mpi_utils.py +21 -0
  66. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/plot_delta_mag_burstiness.py +3 -3
  67. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/plot_diffstar_fq.py +2 -3
  68. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/tests/test_plot_delta_mag_burstiness.py +1 -2
  69. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/tests/test_plot_diffstar_fq.py +1 -2
  70. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/utils.py +1 -2
  71. {diffsky-0.2.5/diffsky/sumstats → diffsky-0.3.1/diffsky}/diffndhist.py +2 -7
  72. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/__init__.py +2 -2
  73. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/avpop.py +2 -2
  74. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/avpop_flex.py +1 -2
  75. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/avpop_mono.py +1 -2
  76. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/deltapop.py +2 -2
  77. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/plot_avpop_flex.py +1 -2
  78. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/plot_funopop_simple.py +1 -2
  79. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/tests/test_plot_avpop_flex.py +1 -2
  80. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/tests/test_plot_funopop_simple.py +1 -2
  81. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/funopop.py +2 -2
  82. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/funopop_simple.py +2 -2
  83. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/funopop_ssfr.py +1 -2
  84. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/sbl18_dust.py +2 -2
  85. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/sbl18_dustpop.py +2 -2
  86. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_avpop.py +2 -2
  87. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_avpop_flex.py +2 -2
  88. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_avpop_mono.py +1 -2
  89. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_deltapop.py +2 -2
  90. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_funopop_model.py +2 -2
  91. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_funopop_simple.py +2 -2
  92. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_funopop_ssfr.py +1 -2
  93. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_sbl18_dustpop.py +2 -2
  94. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dust_kernels.py +2 -2
  95. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop.py +2 -2
  96. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop_new.py +1 -2
  97. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dust.py +2 -2
  98. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop.py +2 -2
  99. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop_new.py +1 -0
  100. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/bulge_shapes.py +2 -2
  101. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/disk_shapes.py +1 -1
  102. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/ellipse_proj_kernels.py +18 -0
  103. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/pdf_model_utils.py +1 -1
  104. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_pdf_model_utils.py +5 -1
  105. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/black_hole_accretion_rate.py +12 -3
  106. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_accretion_rate.py +3 -1
  107. diffsky-0.3.1/diffsky/experimental/black_hole_modeling/tests/test_utils.py +13 -0
  108. diffsky-0.3.1/diffsky/experimental/black_hole_modeling/utils.py +81 -0
  109. diffsky-0.3.1/diffsky/experimental/dbk_from_mock.py +278 -0
  110. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/check_smhm.py +1 -1
  111. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/disk_bulge_kernels.py +13 -9
  112. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/disk_knots.py +5 -4
  113. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/generate_bulge_disk_sample.py +12 -9
  114. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/mc_disk_bulge.py +43 -40
  115. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_bulge.py +20 -23
  116. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_disk_knots.py +6 -4
  117. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_generate_bulge_disk_sample.py +8 -8
  118. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/test_mc_disk_bulge.py +30 -22
  119. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/boris_dust.py +2 -2
  120. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/burstshapepop.py +1 -2
  121. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/dust_deltapop.py +1 -2
  122. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/dustpop.py +2 -2
  123. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/lgavpop.py +1 -2
  124. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/lgfburstpop.py +1 -2
  125. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/nagaraj22_dust.py +2 -2
  126. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/photpop.py +2 -2
  127. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_attavpop.py +2 -2
  128. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_boris_dust.py +2 -2
  129. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_burstshapepop.py +2 -2
  130. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_dustdeltapop.py +2 -2
  131. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_lgfburstpop.py +2 -2
  132. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/test_photpop.py +2 -2
  133. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/lc_phot_kern.py +29 -15
  134. diffsky-0.3.1/diffsky/experimental/mc_diffsky_disk_bulge_knot_seds.py +943 -0
  135. diffsky-0.2.5/diffsky/experimental/mc_diffsky_seds.py → diffsky-0.3.1/diffsky/experimental/mc_diffsky_disk_bulge_seds.py +26 -8
  136. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/mc_diffsky_phot.py +4 -1
  137. diffsky-0.3.1/diffsky/experimental/mc_diffsky_seds.py +1010 -0
  138. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/mc_lightcone_halos.py +8 -5
  139. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/scatter.py +2 -2
  140. diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_galacticus_in_plus_ex_situ.npy +0 -0
  141. diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_smdpl_dr1.npy +0 -0
  142. diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/data/u_params_best_1015_tng.npy +0 -0
  143. diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/load_diffsky_sfh_model_calibrations.py +20 -0
  144. diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/tests/test_load_diffsky_sfh_model_calibrations.py +13 -0
  145. diffsky-0.3.1/diffsky/experimental/size_modeling/disk_bulge_sizes.py +148 -0
  146. diffsky-0.3.1/diffsky/experimental/size_modeling/tests/test_disk_bulge_sizes.py +60 -0
  147. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/ssp_err_pop.py +1 -2
  148. diffsky-0.3.1/diffsky/experimental/tests/test_dbk_from_mock.py +133 -0
  149. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_lc_phot_kern.py +5 -3
  150. diffsky-0.3.1/diffsky/experimental/tests/test_mc_diffsky_disk_bulge_knot_seds.py +149 -0
  151. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_mc_diffsky_seds.py +61 -6
  152. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_mc_lightcone_halos.py +2 -4
  153. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_photometry_interpolation.py +1 -2
  154. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_scatter.py +7 -18
  155. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_sobol_lightcone.py +3 -5
  156. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_ssp_err_pop.py +1 -2
  157. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_mc_ellipticial_velocities.py +2 -2
  158. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/__init__.py +1 -2
  159. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/ccshmf_model.py +1 -0
  160. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_ccshmf.py +1 -0
  161. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_ccshmf_kernels.py +1 -0
  162. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_hmf_kernels.py +1 -0
  163. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fitting_helpers.py +2 -2
  164. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf.py +2 -2
  165. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_ccshmf_kernels.py +2 -2
  166. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_kernels.py +2 -2
  167. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/io_utils/loader.py +2 -2
  168. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/io_utils/smdpl_helpers.py +2 -2
  169. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/ccshmf_kernels.py +1 -0
  170. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/hmf_kernels.py +1 -0
  171. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/tests/test_ccshmf_kernels.py +2 -2
  172. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/kernels/tests/test_hmf_kernels.py +2 -2
  173. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/measure_ccshmf.py +1 -0
  174. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/fit_hmf_disc_lcdm.py +0 -1
  175. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/measure_hmf_target_data_hacc.py +0 -1
  176. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/smhm_kernels/tests/test_threeroll_smhm.py +1 -2
  177. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_ccshmf.py +2 -2
  178. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_subs.py +2 -2
  179. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_tinfall.py +1 -2
  180. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_measure_hmf.py +1 -2
  181. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/utils.py +1 -2
  182. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mc_diffsky.py +8 -6
  183. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/tests/test_fitmerge_multi_redshift.py +108 -38
  184. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/tests/test_merging_model.py +7 -14
  185. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/diffsky_param_wrapper.py +108 -40
  186. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/tests/test_diffsky_param_wrapper.py +43 -9
  187. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/tests/test_spspop_param_utils.py +4 -4
  188. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ssp_err_model/ssp_err_model.py +6 -20
  189. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ssp_err_model/tests/test_ssp_err_model.py +1 -1
  190. {diffsky-0.2.5/diffsky → diffsky-0.3.1/diffsky/sumstats}/diffndhist.py +2 -7
  191. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/sumstats/tests/test_smhm.py +1 -2
  192. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/systematics/tests/test_ssp_errors.py +1 -2
  193. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_dependencies.py +2 -2
  194. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_diffndhist.py +2 -2
  195. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_diffsky_setup.py +1 -2
  196. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_mc_diffsky.py +1 -2
  197. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_phot_utils.py +1 -2
  198. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_sbl18_photgrad.py +2 -2
  199. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_tw_photgrad.py +2 -2
  200. diffsky-0.3.1/diffsky/tests/testing_data/__init__.py +0 -0
  201. diffsky-0.3.1/diffsky/utils/tests/__init__.py +0 -0
  202. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/utility_funcs.py +1 -2
  203. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/PKG-INFO +6 -18
  204. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/SOURCES.txt +40 -0
  205. diffsky-0.3.1/diffsky.egg-info/requires.txt +6 -0
  206. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demo_diffsky_lightcone.ipynb +7 -7
  207. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/rtd_environment.yaml +1 -2
  208. {diffsky-0.2.5 → diffsky-0.3.1}/pyproject.toml +1 -1
  209. diffsky-0.3.1/requirements.txt +6 -0
  210. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/inspect_lc_cf_crossx_job_logs.py +18 -0
  211. diffsky-0.3.1/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +118 -0
  212. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/lc_cf_crossmatch_script.py +2 -0
  213. diffsky-0.3.1/scripts/LJ_LC_MOCKS/generate_sed_mock_jobs.py +124 -0
  214. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/inspect_lc_mock.py +8 -3
  215. diffsky-0.3.1/scripts/LJ_LC_MOCKS/inspect_sed_mock_job_logs.py +144 -0
  216. diffsky-0.3.1/scripts/LJ_LC_MOCKS/make_dbk_sed_lc_mock_lj.py +412 -0
  217. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/make_sed_lc_mock_lj.py +100 -17
  218. diffsky-0.3.1/scripts/LJ_LC_MOCKS/run_sed_mocks.sh +25 -0
  219. diffsky-0.3.1/scripts/__init__.py +0 -0
  220. diffsky-0.3.1/scripts/tests/__init__.py +0 -0
  221. diffsky-0.2.5/diffsky/_version.py +0 -1
  222. diffsky-0.2.5/diffsky/data_loaders/hacc_utils/data_validation/tests/test_validate_lc_mock.py +0 -36
  223. diffsky-0.2.5/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_mock.py +0 -109
  224. diffsky-0.2.5/diffsky/data_loaders/hacc_utils/lc_mock_production.py +0 -281
  225. diffsky-0.2.5/diffsky/data_loaders/hacc_utils/metadata_sfh_mock.py +0 -183
  226. diffsky-0.2.5/diffsky/data_loaders/hacc_utils/tests/test_lc_mock_production.py +0 -35
  227. diffsky-0.2.5/diffsky.egg-info/requires.txt +0 -7
  228. diffsky-0.2.5/requirements.txt +0 -7
  229. diffsky-0.2.5/scripts/LJ_CROSSX/inspect_lc_crossx_data.py +0 -43
  230. {diffsky-0.2.5 → diffsky-0.3.1}/.coveragerc +0 -0
  231. {diffsky-0.2.5 → diffsky-0.3.1}/.git_archival.txt +0 -0
  232. {diffsky-0.2.5 → diffsky-0.3.1}/.gitattributes +0 -0
  233. {diffsky-0.2.5 → diffsky-0.3.1}/.github/dependabot.yml +0 -0
  234. {diffsky-0.2.5 → diffsky-0.3.1}/.readthedocs.yml +0 -0
  235. {diffsky-0.2.5 → diffsky-0.3.1}/LICENSE.rst +0 -0
  236. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/__init__.py +0 -0
  237. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/__init__.py +0 -0
  238. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diagnostics/tests/__init__.py +0 -0
  239. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/diffqburstpop_mono.py +0 -0
  240. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/fburstpop_mono.py +0 -0
  241. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/freqburst_mono.py +0 -0
  242. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/__init__.py +0 -0
  243. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffqburstpop_mono.py +0 -0
  244. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_diffqburstpop_mono_noise.py +0 -0
  245. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/burstpop/tests/test_freqburst_mono.py +0 -0
  246. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/__init__.py +0 -0
  247. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/cosmos_utils/tests/__init__.py +0 -0
  248. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/__init__.py +0 -0
  249. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/cosmos20_loader.py +0 -0
  250. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/__init__.py +0 -0
  251. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/__init__.py +0 -0
  252. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/tests/__init__.py +0 -0
  253. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/data_validation/validate_lc_cores.py +0 -0
  254. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/defaults.py +0 -0
  255. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/load_lc_mock.py +0 -0
  256. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/__init__.py +0 -0
  257. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/test_defaults.py +0 -0
  258. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/lc_cores-decomposition.txt +0 -0
  259. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/phi_haccytrees_tdata.txt +0 -0
  260. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/redshift_haccytrees_tdata.txt +0 -0
  261. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/theta_haccytrees_tdata.txt +0 -0
  262. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/x_haccytrees_tdata.txt +0 -0
  263. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/y_haccytrees_tdata.txt +0 -0
  264. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/hacc_utils/tests/testing_data/z_haccytrees_tdata.txt +0 -0
  265. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/__init__.py +0 -0
  266. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/test_imports.py +0 -0
  267. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/testing_data/__init__.py +0 -0
  268. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/tests/testing_data/cosmos20_shasum.dat +0 -0
  269. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/data_loaders/um_binary_loader.py +0 -0
  270. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/__init__.py +0 -0
  271. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/diagnostics/tests/__init__.py +0 -0
  272. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/__init__.py +0 -0
  273. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/diagnostics/tests/__init__.py +0 -0
  274. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/sbl18_dust_kernels.py +0 -0
  275. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/__init__.py +0 -0
  276. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop_mono.py +0 -0
  277. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tests/test_tw_dustpop_mono_noise.py +0 -0
  278. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dust_kernels.py +0 -0
  279. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop_mono.py +0 -0
  280. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/dustpop/tw_dustpop_mono_noise.py +0 -0
  281. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/__init__.py +0 -0
  282. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/bulge_opt.py +0 -0
  283. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/disk_opt.py +0 -0
  284. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/__init__.py +0 -0
  285. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_bulge_opt.py +0 -0
  286. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_bulge_shapes.py +0 -0
  287. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_disk_opt.py +0 -0
  288. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_disk_shapes.py +0 -0
  289. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/test_ellipse_proj_kernels.py +0 -0
  290. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/testing_data/ellipsoid_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
  291. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/ellipsoidal_shapes/tests/testing_data/spiral_b_over_a_pdf_rodriguez_padilla_2013.txt +0 -0
  292. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/__init__.py +0 -0
  293. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/README.txt +0 -0
  294. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/__init__.py +0 -0
  295. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/black_hole_mass.py +0 -0
  296. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/tests/__init__.py +0 -0
  297. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/black_hole_modeling/tests/test_black_hole_mass.py +0 -0
  298. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/__init__.py +0 -0
  299. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/tests/__init__.py +0 -0
  300. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/diagnostics/tests/test_check_smhm.py +0 -0
  301. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/__init__.py +0 -0
  302. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/disk_bulge_modeling/tests/__init__.py +0 -0
  303. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/__init__.py +0 -0
  304. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/dspspop/tests/__init__.py +0 -0
  305. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/lc_utils.py +0 -0
  306. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/phot_utils.py +0 -0
  307. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/photometry_interpolation.py +0 -0
  308. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/precompute_ssp_phot.py +0 -0
  309. {diffsky-0.2.5/diffsky/experimental/tests → diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations}/__init__.py +0 -0
  310. {diffsky-0.2.5/diffsky/fake_sats → diffsky-0.3.1/diffsky/experimental/sfh_model_calibrations/tests}/__init__.py +0 -0
  311. {diffsky-0.2.5/diffsky/fake_sats/tests → diffsky-0.3.1/diffsky/experimental/size_modeling}/__init__.py +0 -0
  312. {diffsky-0.2.5/diffsky/mass_functions/fitting_utils → diffsky-0.3.1/diffsky/experimental/size_modeling/tests}/__init__.py +0 -0
  313. {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/calibrations → diffsky-0.3.1/diffsky/experimental/tests}/__init__.py +0 -0
  314. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_lc_utils.py +0 -0
  315. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_mc_diffsky_phot.py +0 -0
  316. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_precompute_ssp_phot.py +0 -0
  317. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/experimental/tests/test_top_level_imports.py +0 -0
  318. {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/calibrations/tests → diffsky-0.3.1/diffsky/fake_sats}/__init__.py +0 -0
  319. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/ellipsoidal_nfw_phase_space.py +0 -0
  320. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/ellipsoidal_velocities.py +0 -0
  321. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/halo_boundary_functions.py +0 -0
  322. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/nfw_config_space.py +0 -0
  323. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/rotations3d.py +0 -0
  324. {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/diagnostics → diffsky-0.3.1/diffsky/fake_sats/tests}/__init__.py +0 -0
  325. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_ellipsoidal_nfw_phase_space.py +0 -0
  326. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_halo_boundary_functions.py +0 -0
  327. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_nfw_config_space.py +0 -0
  328. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/test_rotations3d.py +0 -0
  329. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/testing_data/halo_mass_ht_test.txt +0 -0
  330. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/testing_data/halo_radius_200c_ht_test.txt +0 -0
  331. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/tests/testing_data/redshift_ht_test.txt +0 -0
  332. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/fake_sats/vector_utilities.py +0 -0
  333. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/README.rst +0 -0
  334. {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/diagnostics/tests → diffsky-0.3.1/diffsky/mass_functions/fitting_utils}/__init__.py +0 -0
  335. {diffsky-0.2.5/diffsky/mass_functions/fitting_utils/tests → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/calibrations}/__init__.py +0 -0
  336. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/calibrations/hacc_core_shmf_params.py +0 -0
  337. {diffsky-0.2.5/diffsky/mass_functions/hmf_calibrations → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/calibrations}/tests/__init__.py +0 -0
  338. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/calibrations/tests/test_hacc_core_shmf_params.py +0 -0
  339. {diffsky-0.2.5/diffsky/mass_functions/io_utils → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/diagnostics}/__init__.py +0 -0
  340. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/diagnostics/hmf_fit_diagnostics.py +0 -0
  341. {diffsky-0.2.5/diffsky/mass_functions/kernels → diffsky-0.3.1/diffsky/mass_functions/fitting_utils/diagnostics/tests}/__init__.py +0 -0
  342. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/diagnostics/tests/test_hmf_fit_diagnostics.py +0 -0
  343. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_flat_hmf_model.py +0 -0
  344. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_halobias_model.py +0 -0
  345. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_halobias_singlez_model.py +0 -0
  346. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/fit_hmf_model.py +0 -0
  347. {diffsky-0.2.5/diffsky/mass_functions/kernels → diffsky-0.3.1/diffsky/mass_functions/fitting_utils}/tests/__init__.py +0 -0
  348. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_flat_hmf_model.py +0 -0
  349. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model.py +0 -0
  350. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_halobias_model_singlez.py +0 -0
  351. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/fitting_utils/tests/test_fit_hmf_model.py +0 -0
  352. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/flat_hmf_model.py +0 -0
  353. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/halobias_model.py +0 -0
  354. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/halobias_singlez_model.py +0 -0
  355. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/__init__.py +0 -0
  356. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params.txt +0 -0
  357. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/disc_lcdm_hmf_params_all.txt +0 -0
  358. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/hmf_param_reader.py +0 -0
  359. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params.txt +0 -0
  360. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/lj_hmf_params_all.txt +0 -0
  361. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf.py +0 -0
  362. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_fitting_helpers.py +0 -0
  363. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/smdpl_hmf_subs.py +0 -0
  364. {diffsky-0.2.5/diffsky/mass_functions/smhm_kernels → diffsky-0.3.1/diffsky/mass_functions/hmf_calibrations/tests}/__init__.py +0 -0
  365. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/test_imports.py +0 -0
  366. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/test_lj_hmf.py +0 -0
  367. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/test_smdpl_hmf.py +0 -0
  368. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_all.txt +0 -0
  369. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_cuml_density_cens.txt +0 -0
  370. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_logmp_bins.txt +0 -0
  371. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/disc_lcdm_hmf_redshift_bins.txt +0 -0
  372. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_all.txt +0 -0
  373. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_cuml_density_cens.txt +0 -0
  374. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_logmp_bins.txt +0 -0
  375. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/lj_hmf_redshift_bins.txt +0 -0
  376. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.lgcuml_density.npy +0 -0
  377. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.219000.subhalos.logmp_bins.npy +0 -0
  378. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.lgcuml_density.npy +0 -0
  379. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.hosthalos.logmp_bins.npy +0 -0
  380. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.lgcuml_density.npy +0 -0
  381. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_0.460000.subhalos.logmp_bins.npy +0 -0
  382. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.lgcuml_density.npy +0 -0
  383. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.hosthalos.logmp_bins.npy +0 -0
  384. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.lgcuml_density.npy +0 -0
  385. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_calibrations/tests/testing_data/sfr_catalog_1.000000.subhalos.logmp_bins.npy +0 -0
  386. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/hmf_model.py +0 -0
  387. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/io_utils/README.txt +0 -0
  388. {diffsky-0.2.5/diffsky/mass_functions/smhm_kernels/tests → diffsky-0.3.1/diffsky/mass_functions/io_utils}/__init__.py +0 -0
  389. {diffsky-0.2.5/diffsky/mass_functions/tests → diffsky-0.3.1/diffsky/mass_functions/kernels}/__init__.py +0 -0
  390. {diffsky-0.2.5/diffsky/mass_functions/tests/testing_data → diffsky-0.3.1/diffsky/mass_functions/kernels/tests}/__init__.py +0 -0
  391. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_diffmah_tpeak.py +0 -0
  392. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_hosts.py +0 -0
  393. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_subs.py +0 -0
  394. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/mc_tinfall.py +0 -0
  395. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/measure_hmf.py +0 -0
  396. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/discovery_lcdm_calibration/run_hmf_tabulation_disc_lcdm.sh +0 -0
  397. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/last_journey_calibration/fit_hmf_lj.py +0 -0
  398. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/last_journey_calibration/measure_hmf_target_data_hacc.py +0 -0
  399. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/smdpl_calibration/fit_smdpl_hmf_script.py +0 -0
  400. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/scripts/smdpl_calibration/measure_smdpl_hmf_script.py +0 -0
  401. {diffsky-0.2.5/diffsky/mass_functions/upweighting → diffsky-0.3.1/diffsky/mass_functions/smhm_kernels}/__init__.py +0 -0
  402. {diffsky-0.2.5/diffsky/mass_functions/upweighting → diffsky-0.3.1/diffsky/mass_functions/smhm_kernels}/tests/__init__.py +0 -0
  403. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/smhm_kernels/threeroll_kernels.py +0 -0
  404. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/smhm_kernels/threeroll_smhm.py +0 -0
  405. {diffsky-0.2.5/diffsky/merging → diffsky-0.3.1/diffsky/mass_functions/tests}/__init__.py +0 -0
  406. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_flat_hmf_model.py +0 -0
  407. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_halobias_model.py +0 -0
  408. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_halobias_singlez_model.py +0 -0
  409. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_hmf_model.py +0 -0
  410. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_diffmah_tpeak.py +0 -0
  411. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/test_mc_hosts.py +0 -0
  412. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/README.txt +0 -0
  413. {diffsky-0.2.5/diffsky/merging/diagnostics → diffsky-0.3.1/diffsky/mass_functions/tests/testing_data}/__init__.py +0 -0
  414. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_12.32.txt +0 -0
  415. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.00.txt +0 -0
  416. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_13.55.txt +0 -0
  417. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_0.00_lgmhost_14.08.txt +0 -0
  418. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.31.txt +0 -0
  419. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_12.99.txt +0 -0
  420. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_13.51.txt +0 -0
  421. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/tests/testing_data/smdpl_cshmf_cuml_redshift_1.00_lgmhost_14.05.txt +0 -0
  422. {diffsky-0.2.5/diffsky/merging/diagnostics/tests → diffsky-0.3.1/diffsky/mass_functions/upweighting}/__init__.py +0 -0
  423. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/upweighting/namedtuple_cat_utils.py +0 -0
  424. {diffsky-0.2.5/diffsky/merging → diffsky-0.3.1/diffsky/mass_functions/upweighting}/tests/__init__.py +0 -0
  425. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/upweighting/tests/test_mc_gen_upweighting.py +0 -0
  426. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/mass_functions/upweighting/upweighting.py +0 -0
  427. {diffsky-0.2.5/diffsky/param_utils → diffsky-0.3.1/diffsky/merging}/__init__.py +0 -0
  428. {diffsky-0.2.5/diffsky/param_utils/tests → diffsky-0.3.1/diffsky/merging/diagnostics}/__init__.py +0 -0
  429. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/diagnostics/plot_pmerge_vs_time.py +0 -0
  430. {diffsky-0.2.5/diffsky/ssp_err_model → diffsky-0.3.1/diffsky/merging/diagnostics/tests}/__init__.py +0 -0
  431. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/diagnostics/tests/test_plot_pmerge_vs_time.py +0 -0
  432. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/fitmerge_multi_redshift.py +0 -0
  433. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/merging/merging_model.py +0 -0
  434. {diffsky-0.2.5/diffsky/ssp_err_model → diffsky-0.3.1/diffsky/merging}/tests/__init__.py +0 -0
  435. {diffsky-0.2.5/diffsky/sumstats → diffsky-0.3.1/diffsky/param_utils}/__init__.py +0 -0
  436. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/param_utils/spspop_param_utils.py +0 -0
  437. {diffsky-0.2.5/diffsky/sumstats → diffsky-0.3.1/diffsky/param_utils}/tests/__init__.py +0 -0
  438. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/phot_utils.py +0 -0
  439. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/sbl18_photgrad.py +0 -0
  440. {diffsky-0.2.5/diffsky/systematics → diffsky-0.3.1/diffsky/ssp_err_model}/__init__.py +0 -0
  441. {diffsky-0.2.5/diffsky/systematics → diffsky-0.3.1/diffsky/ssp_err_model}/tests/__init__.py +0 -0
  442. {diffsky-0.2.5/diffsky/tests → diffsky-0.3.1/diffsky/sumstats}/__init__.py +0 -0
  443. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/sumstats/smhm.py +0 -0
  444. {diffsky-0.2.5/diffsky/tests/testing_data → diffsky-0.3.1/diffsky/sumstats/tests}/__init__.py +0 -0
  445. {diffsky-0.2.5/diffsky/utils/tests → diffsky-0.3.1/diffsky/systematics}/__init__.py +0 -0
  446. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/systematics/ssp_errors.py +0 -0
  447. {diffsky-0.2.5/scripts → diffsky-0.3.1/diffsky/systematics/tests}/__init__.py +0 -0
  448. {diffsky-0.2.5/scripts → diffsky-0.3.1/diffsky}/tests/__init__.py +0 -0
  449. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tests/test_imports.py +0 -0
  450. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/tw_photgrad.py +0 -0
  451. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/__init__.py +0 -0
  452. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/crossmatch_utils.py +0 -0
  453. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/sfh_utils.py +0 -0
  454. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_crossmatch_utils.py +0 -0
  455. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_sfh_utils.py +0 -0
  456. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_tw_utils.py +0 -0
  457. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tests/test_utility_funcs.py +0 -0
  458. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky/utils/tw_utils.py +0 -0
  459. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/dependency_links.txt +0 -0
  460. {diffsky-0.2.5 → diffsky-0.3.1}/diffsky.egg-info/top_level.txt +0 -0
  461. {diffsky-0.2.5 → diffsky-0.3.1}/docs/Makefile +0 -0
  462. {diffsky-0.2.5 → diffsky-0.3.1}/docs/make.bat +0 -0
  463. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/citation.rst +0 -0
  464. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/conf.py +0 -0
  465. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demo_diffmahpop_lightcone.ipynb +0 -0
  466. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demo_diffmahpop_t_peak.ipynb +0 -0
  467. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/demos.rst +0 -0
  468. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/index.rst +0 -0
  469. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/installation.rst +0 -0
  470. {diffsky-0.2.5 → diffsky-0.3.1}/docs/source/validate_mc_lightcones.ipynb +0 -0
  471. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/bebop_jobs.sh +0 -0
  472. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/generate_lj_cf_crossmatch_jobs.py +0 -0
  473. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/run_lc_cf_crossmatch_base.sh +0 -0
  474. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/run_tabulate_coreforest_overlap.sh +0 -0
  475. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_CROSSX/tabulate_coreforest_overlap.py +0 -0
  476. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/generate_sfh_mock_jobs.py +0 -0
  477. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_LC_MOCKS/make_sfh_lc_mock_lj.py +0 -0
  478. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/LJ_SNAP_MOCKS/make_sfh_lj_snapshot_mock.py +0 -0
  479. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/tests/test_inspect_lightcone_mock.py +0 -0
  480. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/tests/test_make_sfh_lj_mock.py +0 -0
  481. {diffsky-0.2.5 → diffsky-0.3.1}/scripts/tests/test_tabulate_coreforest_overlap.py +0 -0
  482. {diffsky-0.2.5 → diffsky-0.3.1}/setup.cfg +0 -0
  483. {diffsky-0.2.5 → diffsky-0.3.1}/setup.py +0 -0
@@ -1,4 +1,4 @@
1
- name: linting
1
+ name: Flake8 test of source code
2
2
 
3
3
  on:
4
4
  push:
@@ -8,7 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  tests:
11
- name: tests
11
+ name: flake8 diffsky scripts
12
12
  runs-on: "ubuntu-latest"
13
13
 
14
14
  steps:
@@ -32,7 +32,12 @@ jobs:
32
32
  flake8 \
33
33
  flake8-pyproject
34
34
 
35
- - name: lint
35
+ - name: lint source code
36
36
  shell: bash -l {0}
37
37
  run: |
38
38
  flake8 diffsky
39
+
40
+ - name: lint scripts
41
+ shell: bash -l {0}
42
+ run: |
43
+ flake8 scripts
@@ -0,0 +1,111 @@
1
+ name: Test mock-production script runs with synthetic halos
2
+
3
+ on:
4
+ workflow_dispatch: null
5
+ schedule:
6
+ # Runs "every Monday & Thursday at 3:05am Central"
7
+ - cron: '5 8 * * 1,4'
8
+ push:
9
+ branches:
10
+ - main
11
+ pull_request: null
12
+
13
+ jobs:
14
+ mock-generation:
15
+ name: python make_dbk_sed_lc_mock_lj.py -synthetic_cores 1
16
+ runs-on: "ubuntu-latest"
17
+
18
+ steps:
19
+ - uses: actions/checkout@v5
20
+ with:
21
+ fetch-depth: 0
22
+
23
+ - uses: conda-incubator/setup-miniconda@v3
24
+ with:
25
+ python-version: 3.11
26
+ channels: conda-forge,defaults
27
+ channel-priority: strict
28
+ show-channel-urls: true
29
+ miniforge-version: latest
30
+
31
+ - name: configure conda and install code
32
+ shell: bash -l {0}
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.CPAC_PRIVATE_REPO_TOKEN }}
35
+ GITHUB_USER: ${{ secrets.GH_USR_TESTING_TOKEN }}
36
+
37
+ run: |
38
+ conda config --set always_yes yes
39
+ conda install --quiet \
40
+ --file=requirements.txt
41
+ conda install -y -q \
42
+ pip \
43
+ setuptools \
44
+ "setuptools_scm>=7,<8" \
45
+ matplotlib \
46
+ astropy \
47
+ h5py \
48
+ mpi4py
49
+ pip install git+https://github.com/ArgonneCPAC/HACCyTrees.git
50
+ pip uninstall diffmah --yes
51
+ pip uninstall diffstar --yes
52
+ pip uninstall dsps --yes
53
+ pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
54
+ pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
55
+ pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
56
+ python -m pip install --no-build-isolation --no-deps -e .
57
+
58
+ - name: download dsps data
59
+ shell: bash -l {0}
60
+ run: |
61
+ # Create data directory
62
+ mkdir -p dsps_drn/filters
63
+
64
+ # Download data
65
+ cd dsps_drn
66
+ wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/ssp_data_fsps_v3.2_lgmet_age.h5
67
+ cd filters
68
+ wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_u_transmission.h5
69
+ wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_g_transmission.h5
70
+ wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_r_transmission.h5
71
+ wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_i_transmission.h5
72
+ wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_z_transmission.h5
73
+ wget https://portal.nersc.gov/project/hacc/aphearin/DSPS_data/filters/lsst_y_transmission.h5
74
+ cd ..
75
+ cd ..
76
+
77
+ # Set environment variable
78
+ export DSPS_DRN="${GITHUB_WORKSPACE}/dsps_drn"
79
+ echo "DSPS_DRN=${DSPS_DRN}" >> $GITHUB_ENV
80
+
81
+ - name: run mock generation script
82
+ shell: bash -l {0}
83
+ run: |
84
+ # Create output directory
85
+ mkdir -p ci_test_output
86
+
87
+ # Run mock production script
88
+ mpiexec -n 1 python scripts/LJ_LC_MOCKS/make_dbk_sed_lc_mock_lj.py \
89
+ poboy \
90
+ 0.01 \
91
+ 0.2 \
92
+ 0 \
93
+ 1 \
94
+ ci_test_output \
95
+ ci_test_mock \
96
+ -fn_u_params sfh_model \
97
+ -sfh_model smdpl_dr1 \
98
+ -synthetic_cores 1 \
99
+ -lgmp_min 12.0 \
100
+ -lgmp_max 13.0
101
+
102
+ - name: verify script completed
103
+ shell: bash -l {0}
104
+ run: |
105
+ echo "Mock generation script completed successfully"
106
+
107
+ - name: validate mock
108
+ shell: bash -l {0}
109
+ run: |
110
+ python scripts/LJ_LC_MOCKS/inspect_lc_mock.py ci_test_output/synthetic_cores/smdpl_dr1
111
+
@@ -1,4 +1,4 @@
1
- name: Test for Warnings
1
+ name: Monthly test for warnings in diffstuff main branches
2
2
 
3
3
  on:
4
4
  workflow_dispatch: null
@@ -8,7 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  tests:
11
- name: tests
11
+ name: pytest with diffmah/diffstar/dsps@main
12
12
  runs-on: "ubuntu-latest"
13
13
 
14
14
  steps:
@@ -54,7 +54,6 @@ jobs:
54
54
  pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
55
55
  pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
56
56
  pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
57
- pip install --no-deps git+https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/ArgonneCPAC/diffstarpop.git@main
58
57
  python -m pip install --no-build-isolation --no-deps -e .
59
58
 
60
59
  - name: test that no warnings are raised
@@ -1,4 +1,4 @@
1
- name: test-latest-diffstuff-releases
1
+ name: Test against latest diffstuff releases
2
2
 
3
3
  on:
4
4
  push:
@@ -8,7 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  tests:
11
- name: test-latest-diffstuff-releases
11
+ name: pytest with latest releases on conda-forge
12
12
  runs-on: "ubuntu-latest"
13
13
 
14
14
  steps:
@@ -1,4 +1,4 @@
1
- name: test-main-branch-diffstuff
1
+ name: Test with Main Branch Dependencies
2
2
 
3
3
  on:
4
4
  push:
@@ -8,7 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  tests:
11
- name: test-main-branch-diffstuff
11
+ name: pytest with diffmah/diffstar/dsps@main
12
12
  runs-on: "ubuntu-latest"
13
13
 
14
14
  steps:
@@ -53,7 +53,6 @@ jobs:
53
53
  pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
54
54
  pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
55
55
  pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
56
- pip install --no-deps git+https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/ArgonneCPAC/diffstarpop.git@main
57
56
  python -m pip install --no-build-isolation --no-deps -e .
58
57
 
59
58
  - name: test
@@ -0,0 +1,90 @@
1
+ name: Test against updated diffstar
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request: null
8
+
9
+ jobs:
10
+ tests:
11
+ name: pytest with diffstar@refs/pull/108/head
12
+ runs-on: "ubuntu-latest"
13
+
14
+ steps:
15
+ - uses: actions/checkout@v5
16
+ with:
17
+ fetch-depth: 0
18
+
19
+ - uses: conda-incubator/setup-miniconda@v3
20
+ with:
21
+ python-version: 3.11
22
+ channels: conda-forge,defaults
23
+ channel-priority: strict
24
+ show-channel-urls: true
25
+ miniforge-version: latest
26
+
27
+ - name: configure conda and install code
28
+ # Test against current main branch of all diff+ dependencies
29
+ shell: bash -l {0}
30
+ env:
31
+ GITHUB_TOKEN: ${{ secrets.CPAC_PRIVATE_REPO_TOKEN }}
32
+ GITHUB_USER: ${{ secrets.GH_USR_TESTING_TOKEN }}
33
+
34
+ # Test against updated diffstar
35
+ run: |
36
+ conda config --set always_yes yes
37
+ conda install --quiet \
38
+ --file=requirements.txt
39
+ conda install -y -q \
40
+ flake8 \
41
+ pytest \
42
+ pytest-xdist \
43
+ pytest-cov \
44
+ pip \
45
+ setuptools \
46
+ "setuptools_scm>=7,<8" \
47
+ matplotlib \
48
+ astropy \
49
+ python-build
50
+ pip uninstall diffmah --yes
51
+ pip uninstall diffstar --yes
52
+ pip uninstall dsps --yes
53
+ pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
54
+ pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git@refs/pull/108/head
55
+ pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
56
+ python -m pip install --no-build-isolation --no-deps -e .
57
+
58
+ - name: test
59
+ shell: bash -l {0}
60
+ run: |
61
+ pytest -v diffsky --cov --cov-report=xml
62
+
63
+ - name: Upload coverage reports to Codecov
64
+ uses: codecov/codecov-action@v5
65
+ env:
66
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
67
+
68
+ - name: test versions
69
+ shell: bash -el {0}
70
+ run: |
71
+ pip uninstall diffsky --yes
72
+ [[ $(python setup.py --version) != "0.0.0" ]] || exit 1
73
+
74
+ rm -rf dist/*
75
+ python setup.py sdist
76
+ pip install --no-deps --no-build-isolation dist/*.tar.gz
77
+ pushd ..
78
+ python -c "import diffsky; assert diffsky.__version__ != '0.0.0'"
79
+ popd
80
+ pip uninstall diffsky --yes
81
+
82
+ rm -rf dist/*
83
+ python -m build --sdist . --outdir dist
84
+ pip install --no-deps --no-build-isolation dist/*.tar.gz
85
+ pushd ..
86
+ python -c "import diffsky; assert diffsky.__version__ != '0.0.0'"
87
+ popd
88
+ pip uninstall diffsky --yes
89
+
90
+ python -m pip install -v --no-deps --no-build-isolation -e .
@@ -1,4 +1,4 @@
1
- name: test-main-branch-diffstuff
1
+ name: Weekly cron testing
2
2
 
3
3
  on:
4
4
  workflow_dispatch: null
@@ -12,7 +12,7 @@ on:
12
12
 
13
13
  jobs:
14
14
  tests:
15
- name: tests
15
+ name: pytest with diffmah/diffstar/dsps@main
16
16
  runs-on: "ubuntu-latest"
17
17
 
18
18
  steps:
@@ -57,7 +57,6 @@ jobs:
57
57
  pip install --no-deps git+https://github.com/ArgonneCPAC/diffmah.git
58
58
  pip install --no-deps git+https://github.com/ArgonneCPAC/diffstar.git
59
59
  pip install --no-deps git+https://github.com/ArgonneCPAC/dsps.git
60
- pip install --no-deps git+https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/ArgonneCPAC/diffstarpop.git@main
61
60
  python -m pip install --no-build-isolation --no-deps -e .
62
61
 
63
62
  - name: test
@@ -2,9 +2,11 @@ diffsky/_version.py
2
2
 
3
3
  Untitled*.ipynb
4
4
  *.h5
5
+ *.hdf5
5
6
  *.pdf
6
7
  *.npy
7
8
  *.png
9
+ *.txt
8
10
 
9
11
  scripts/*.cfg
10
12
  scripts/*.cfg~
@@ -1,3 +1,23 @@
1
+ 0.3.1 (2025-11-23)
2
+ -------------------
3
+ - Update diffsky to be compatible with diffstar v1.0.2 (https://github.com/ArgonneCPAC/diffsky/pull/277)
4
+ - Add new module to recompute photometry from mock (https://github.com/ArgonneCPAC/diffsky/pull/272)
5
+ - Implement mock-production validation test of recomputed photometry (https://github.com/ArgonneCPAC/diffsky/pull/274)
6
+ - Add kernel to decompose SED into Disk/bulge/knot components (https://github.com/ArgonneCPAC/diffsky/pull/248)
7
+ - Fix memory leak in SED mock production script (https://github.com/ArgonneCPAC/diffsky/pull/244)
8
+ - Parallelize mock-production script (https://github.com/ArgonneCPAC/diffsky/pull/267)
9
+ - Compute mock photometry in batches (https://github.com/ArgonneCPAC/diffsky/pull/269)
10
+ - Add size and orientation of disk and bulge to galaxies in SED mock
11
+ - https://github.com/ArgonneCPAC/diffsky/pull/254
12
+ - https://github.com/ArgonneCPAC/diffsky/pull/265
13
+
14
+
15
+
16
+ 0.3.0 (2025-10-03)
17
+ -------------------
18
+ - Update diffsky to be compatible with diffstar v1.0
19
+
20
+
1
21
  0.2.5 (2025-10-01)
2
22
  -------------------
3
23
  - Minor changes before updating to diffstar v1.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diffsky
3
- Version: 0.2.5
3
+ Version: 0.3.1
4
4
  Summary: Library for differentiable generation of synthetic skies
5
5
  Author-email: Andrew Hearin <ahearin@anl.gov>
6
6
  License: BSD 3-Clause License
@@ -40,9 +40,8 @@ Description-Content-Type: text/x-rst
40
40
  License-File: LICENSE.rst
41
41
  Requires-Dist: numpy
42
42
  Requires-Dist: jax
43
- Requires-Dist: diffmah>=0.7.2
44
- Requires-Dist: diffstar>=0.3.4
45
- Requires-Dist: diffstarpop>=0.0.2
43
+ Requires-Dist: diffmah>=0.7.3
44
+ Requires-Dist: diffstar>=1.0.1
46
45
  Requires-Dist: dsps>=0.4.5
47
46
  Requires-Dist: h5py
48
47
  Dynamic: license-file
@@ -50,8 +49,8 @@ Dynamic: license-file
50
49
  diffsky
51
50
  ============
52
51
 
53
- Diffsky is a python library based on JAX for producing mock catalogs based on
54
- `diffstar <https://diffstar.readthedocs.io/en/latest/>`_
52
+ Diffsky is a python library based on JAX for producing mock catalogs based on
53
+ `diffstar <https://diffstar.readthedocs.io/en/latest/>`_
55
54
  and `dsps <https://dsps.readthedocs.io/en/latest/>`_.
56
55
 
57
56
  Installation
@@ -77,18 +76,7 @@ For a typical development environment in conda-forge::
77
76
  Documentation
78
77
  -------------
79
78
 
80
- Online documentation for diffsky is available at
79
+ Online documentation for diffsky is available at
81
80
  `diffsky.readthedocs.io <https://diffsky.readthedocs.io/en/latest/>`_.
82
81
 
83
- Testing
84
- -------
85
- To run the suite of unit tests::
86
-
87
- $ cd /path/to/root/diffsky
88
- $ pytest
89
-
90
- To build html of test coverage::
91
-
92
- $ pytest -v --cov --cov-report html
93
- $ open htmlcov/index.html
94
82
 
@@ -1,8 +1,8 @@
1
1
  diffsky
2
2
  ============
3
3
 
4
- Diffsky is a python library based on JAX for producing mock catalogs based on
5
- `diffstar <https://diffstar.readthedocs.io/en/latest/>`_
4
+ Diffsky is a python library based on JAX for producing mock catalogs based on
5
+ `diffstar <https://diffstar.readthedocs.io/en/latest/>`_
6
6
  and `dsps <https://dsps.readthedocs.io/en/latest/>`_.
7
7
 
8
8
  Installation
@@ -28,18 +28,7 @@ For a typical development environment in conda-forge::
28
28
  Documentation
29
29
  -------------
30
30
 
31
- Online documentation for diffsky is available at
31
+ Online documentation for diffsky is available at
32
32
  `diffsky.readthedocs.io <https://diffsky.readthedocs.io/en/latest/>`_.
33
33
 
34
- Testing
35
- -------
36
- To run the suite of unit tests::
37
-
38
- $ cd /path/to/root/diffsky
39
- $ pytest
40
-
41
- To build html of test coverage::
42
-
43
- $ pytest -v --cov --cov-report html
44
- $ open htmlcov/index.html
45
34
 
@@ -0,0 +1 @@
1
+ __version__ = '0.3.1'
@@ -1,5 +1,5 @@
1
- """
2
- """
1
+ """ """
2
+
3
3
  # flake8: noqa
4
4
 
5
5
  from .diffburstpop import (
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import numpy as np
5
4
  from matplotlib import pyplot as plt
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import numpy as np
5
4
  from dsps.sfh import diffburst
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import os
5
4
 
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import os
5
4
 
@@ -1,5 +1,5 @@
1
- """
2
- """
1
+ """ """
2
+
3
3
  from collections import namedtuple
4
4
 
5
5
  from dsps.sfh.diffburst import BurstParams, calc_bursty_age_weights
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  from collections import namedtuple
5
4
 
@@ -13,7 +13,7 @@ from .fburstpop_mono import (
13
13
  get_fburst_from_fburstpop_params,
14
14
  get_unbounded_fburstpop_params,
15
15
  _get_bounded_fburstpop_param,
16
- _get_unbounded_fburstpop_param
16
+ _get_unbounded_fburstpop_param,
17
17
  )
18
18
  from .freqburst_mono import (
19
19
  DEFAULT_FREQBURST_PARAMS,
@@ -88,7 +88,9 @@ def calc_bursty_age_weights_from_diffburstpop_params(
88
88
  diffburstpop_params.fburstpop_params, logsm, logssfr
89
89
  )
90
90
  ufburst = _get_unbounded_fburstpop_param(f_burst, FBURST_BOUNDS)
91
- noisy_ufburst = _inverse_sigmoid(random_draw_burst, ufburst, scatter_params.fburst_scatter, 0.0, 1.0)
91
+ noisy_ufburst = _inverse_sigmoid(
92
+ random_draw_burst, ufburst, scatter_params.fburst_scatter, 0.0, 1.0
93
+ )
92
94
  noisy_fburst = _get_bounded_fburstpop_param(noisy_ufburst, FBURST_BOUNDS)
93
95
  lgfburst = jnp.log10(noisy_fburst)
94
96
 
@@ -113,7 +115,6 @@ def calc_bursty_age_weights_from_diffburstpop_u_params(
113
115
  smooth_age_weights,
114
116
  random_draw_burst,
115
117
  scatter_params,
116
-
117
118
  ):
118
119
  diffburstpop_params = get_bounded_diffburstpop_params(diffburstpop_u_params)
119
120
  args = (
@@ -123,7 +124,8 @@ def calc_bursty_age_weights_from_diffburstpop_u_params(
123
124
  ssp_lg_age_gyr,
124
125
  smooth_age_weights,
125
126
  random_draw_burst,
126
- scatter_params)
127
+ scatter_params,
128
+ )
127
129
  age_weights, burst_params = calc_bursty_age_weights_from_diffburstpop_params(*args)
128
130
  return age_weights, burst_params
129
131
 
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  from collections import OrderedDict, namedtuple
5
4
  from copy import deepcopy
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  from collections import OrderedDict, namedtuple
5
4
 
@@ -1,5 +1,5 @@
1
- """
2
- """
1
+ """ """
2
+
3
3
  from collections import OrderedDict, namedtuple
4
4
 
5
5
  from dsps.sfh.diffburst import (
@@ -1,5 +1,5 @@
1
- """
2
- """
1
+ """ """
2
+
3
3
  import numpy as np
4
4
  from dsps.sfh import diffburst
5
5
  from jax import random as jran
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import numpy as np
5
4
  from dsps.sfh import diffburst
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import numpy as np
5
4
  from jax import random as jran
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import numpy as np
5
4
  from jax import nn
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import numpy as np
5
4
  from jax import random as jran
@@ -1,5 +1,5 @@
1
- """
2
- """
1
+ """ """
2
+
3
3
  import numpy as np
4
4
  from dsps.sfh.diffburst import (
5
5
  _pureburst_age_weights_from_params,
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  from collections import OrderedDict, namedtuple
5
4
 
@@ -1,5 +1,4 @@
1
- """
2
- """
1
+ """ """
3
2
 
4
3
  import numpy as np
5
4
  from jax import random as jran
@@ -0,0 +1,7 @@
1
+ 3.069021325408406442e-01
2
+ -1.000000000000000000e+00
3
+ 0.000000000000000000e+00
4
+ 6.796999999999999709e-01
5
+ 4.870213254084068688e-02
6
+ 8.135000000000000009e-01
7
+ 9.679999999999999716e-01