Repository navigation
Add plasma compositions by particle number and mass - #4741
Open
chris-ashe wants to merge 7 commits into
Open
chris-ashe wants to merge 7 commits into
chris-ashe wants to merge 7 commits into
Conversation
|
…plasma composition
… tritons, and helions in PhysicsData
… deuterons, tritons, and helions
chris-ashe
force-pushed
the
add_impurity_masses
branch
from
November 10, 2026 14:36
a568775 to
d9b73a2
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4741 +/- ##
==========================================
+ Coverage 50.94% 51.46% +0.52%
==========================================
Files 181 181
Lines 30406 30559 +153
==========================================
+ Hits 15490 15728 +238
+ Misses 14916 14831 -85 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
This pull request adds comprehensive tracking and visualization of plasma composition by both particle number and mass, including detailed support for impurity species. It introduces new data fields, calculations, output reporting, and plotting functions to provide a clearer and more complete picture of plasma constituents in both the core model and its outputs.
Enhancements to plasma composition tracking and reporting:
PhysicsDatafor the mass and number of all major plasma species (deuterons, tritons, helions, alpha particles, electrons) as well as a wide set of impurity ions (e.g., beryllium, carbon, oxygen, etc.), enabling fine-grained tracking of plasma constituents.DetailedPhysicsfor the mass and number of each plasma species and impurity, updating these values during model execution.Visualization improvements:
plot_plasma_composition_barandplot_plasma_mass_composition_bar, to visualize the plasma composition by particle number and mass, respectively, including impurity species. These are now integrated into the summary plotting API and summary page layout.Checklist
I confirm that I have completed the following checks: