Repository navigation
docs(csp-batch): doc comments for nebular_kernels and age_sums_z4 - #141
Merged
elijahmathews merged 3 commits intoNov 19, 2026
Merged
Conversation
…d age_sums_z4 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MXDRCs7ATQiqhT6RLPLXR5
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MXDRCs7ATQiqhT6RLPLXR5
… of batch_backward Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MXDRCs7ATQiqhT6RLPLXR5
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/hotpath-split-file #141 +/- ##
========================================================
Coverage 74.93% 74.93%
========================================================
Files 51 51
Lines 14481 14481
Branches 6089 6089
========================================================
Hits 10852 10852
Misses 1482 1482
Partials 2147 2147 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
elijahmathews
marked this pull request as ready for review
November 19, 2026 16:55
elijahmathews
added a commit
that referenced
this pull request
Nov 19, 2026
Stack: after #141. Documentation only. `doc/HOT_PATH_TOUR.md` gets a "Calling it yourself" section: a C example from creating a context to one batch call (`opensps_context_create`, `_setup`, `_get_nbands`, `_set_int`, `_compute_csp_batch`, with the status codes), and a note on the Fortran entry point and the gradient arguments with the tests that show every mode. The names and signatures in the example were checked against `include/opensps.h` and `doc/C_API.md`. 🤖 Generated with [Claude Code](https://claude.ai/code) https://claude.ai/code/session_01MXDRCs7ATQiqhT6RLPLXR5 Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack: after #140. Comment-only change in
opensps_csp_batch.f90(the code is untouched; it builds).A survey of the procedures of the file for doc comments found 15 with fewer than two comment lines before them; most are small routines with an adequate one-line doc. The two real gaps are filled:
nebular_kernels(389 lines, formerly one comment line): the doc lists its five numbered steps (the ionizing photons Q of the young spectra, the EUV rows with the escaping fraction, the continuum as a sum over the nebular ages with the large factors scaled out, the line luminosities, the line profiles) and whatgridselects (cue does steps 3 - 5 itself).age_sums_z4(no comment): what the four slabs are, how the weights are formed, which template instance it calls.batch_backward: the doc gets the stages of the reverse pass in order (magnitudes -> band fluxes, the observed frame, smoothing, AGN, dust emission, dust attenuation, the lines outside the spectrum, nebular emission, the age sums), the mirror of the stage index of the forward driver.🤖 Generated with Claude Code
https://claude.ai/code/session_01MXDRCs7ATQiqhT6RLPLXR5