Conversation
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 introduces several new plasma physics variables and expands the visualization capabilities for plasma profile plots. The main improvements are the addition of new variables for deuteron and triton Larmor radii, alpha particle velocities, Coulomb logarithms, and plasma frequencies, as well as new and enhanced plotting functions to visualize these profiles. The changes also reorganize subplot assignments in the main plotting routine to accommodate the new plots.
Additions and enhancements to plasma physics variables:
physics_variables.pyfor deuteron and triton toroidal Larmor radii, alpha particle thermal and birth velocities, deuteron-triton and electron-alpha Coulomb logarithms, deuteron plasma frequency, and upper hybrid frequency.init_physics_variables()to include the new variables.Plotting and visualization improvements:
plot_larmor_radius_profilefunction to visualize deuteron and triton Larmor radius profiles, and integrated it into the main plot routine.plot_velocity_profileto plot alpha particle thermal velocity and birth velocity, including a new legend and line style for clarity.plot_electron_frequency_profileto show harmonics of the electron Larmor frequency and upper hybrid frequency, and added a secondary x-axis for physical radius.plot_plasma_coloumb_logarithmsto include deuteron-triton and electron-alpha Coulomb logarithm profiles, with new color coding for each interaction.Plot layout and figure management:
main_plotand increased the number of figure pages to accommodate the new plots, ensuring each profile is displayed on its own subplot and maintaining clarity in the overall visualization.Checklist
I confirm that I have completed the following checks: