Skip to content

Incorporate differentiable satellite quenching into all photometry kernels#429

Merged
aphearin merged 21 commits into
mainfrom
gd_integration
Jun 1, 2026
Merged

Incorporate differentiable satellite quenching into all photometry kernels#429
aphearin merged 21 commits into
mainfrom
gd_integration

Conversation

@aphearin
Copy link
Copy Markdown
Collaborator

@aphearin aphearin commented Jun 1, 2026

This PR brings in gd_-versions of all the photometry kernels, e.g., gd_dbk_kernels.py, gd_dbk_specphot_kernels_merging.py, etc. This is partial progress towards the effort began in #421 and #425 to incorporate differentiable satellite quenching into the kernels.

Note that the way that the rapid_quenching module is used in this code is slightly different from what was implemented in #421 and #425. Here, we implement rapid quenching before burstiness is added, whereas before we implemented it after. This new way of doing it made it much more straightforward to incorporate rapid quenching into the disk/bulge/knot decomposition. With this new way of doing things, some additional work is needed to ensure that burstiness does not undo the effect of rapid quenching: now we additionally map lgfburst-->1e-7 as p_merge-->1, whereas before this additional step was not needed. The upshot is that previously-run gradient descents were run on slightly different versions of the rapid quenching effect. I don't think this change should have any material consequences, but I thought worth flagging just in case.

The new gd_ modules still exist on an island of code unto themselves, and have not yet been incorporated into the mock production. Before that, we will need gd_ versions of the sed kernels, such as kernels/sed_kernels_merging.py and kernels/dbk_sed_kernels_merging.py.

aphearin added 21 commits May 30, 2026 10:17
…_kernels. Still need to compute weighted linelum
@aphearin aphearin merged commit 44c4519 into main Jun 1, 2026
11 checks passed
@aphearin aphearin deleted the gd_integration branch June 1, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant