Closed aphearin closed 8 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
f09c28b
) 54.67% compared to head (2d1cb0f
) 55.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR refactors the get_diffsky_sed_info function so that it accepts
mah_params
,ms_params
, andq_params
rather than a precomputedgal_sfr_table
. This change makes it more straightforward to use this same function as the convenience function that our users will use to compute photometry for diffsky galaxies.Note that the cosmology argument of
get_diffsky_sed_info
is now a 5-parameter array rather than 4 (the new final parameter is fb=Ob0/Om0).I have also changed the order of some of the arguments so that this function's inputs more closely mirrors the way that the calc_rest_sed_galpop function is called.
The unit-testing for the
get_diffsky_sed_info
has been updated according to this new calling signature. I have also attempted to appropriately change the call toget_diffsky_sed_info
withinwrite_mock_to_disk
, but we have no unit-tests forwrite_mock_to_disk
and so the best test will be for @evevkovacs to rerun the pipeline with the updated code.