Skip to content

Add the broadened line emission to the binned spectrum - #68

Merged
barrettp merged 1 commit into
mainfrom
binemis
Oct 9, 2026
Merged

barrettp merged 1 commit into
mainfrom
binemis

Conversation

@barrettp

@barrettp barrettp commented Oct 9, 2026

Copy link
Copy Markdown
Member

Ports XSTAR's binemis as broaden and adds transmitted_lines, diffuse_* and lines_* columns to the spectrum table (binned=false skips it).

Checked against xout_spect1.fits of the thick slab: transmitted_lines within 7e-4; emission median ratio 1.00005 (inward) and 0.99991 (outward). Known differences: H Lyα/Hα bins and the 53–75 eV He II recombination region. Tables take about 14 s.

Tests pass on Julia 1.13 (with the database) and 1.10.

🤖 Generated with Claude Code

Port XSTAR's binemis as broaden: ranked lines, Voigt profiles with the
Auger widths, and bin averaging. tables() gains diffuse_*, lines_* and
transmitted_lines columns, checked against xout_spect1.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@barrettp
barrettp merged commit cf52fb8 into main Oct 9, 2026
5 checks passed
@barrettp
barrettp deleted the binemis branch October 9, 2026 21:27
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