-
Notifications
You must be signed in to change notification settings - Fork 18
Add Solov'ev equilibria #4114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add Solov'ev equilibria #4114
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,6 +57,7 @@ | |
| ElectronCyclotron, | ||
| ) | ||
| from process.models.physics.impurity_radiation import read_impurity_file | ||
| from process.models.physics.solovev_equilibrium import plot_analytic_equilibrium | ||
| from process.models.physics.l_h_transition import PlasmaConfinementTransitionModel | ||
| from process.models.physics.physics import BetaComponentLimits, BetaNormMaxModel | ||
| from process.models.physics.plasma_current import ( | ||
|
|
@@ -13819,6 +13820,10 @@ def main_plot( | |
|
|
||
| plot_larmor_radius_profile(figs[18].add_subplot(313), m_file, scan) | ||
|
|
||
| ax25 = figs[16].add_subplot(222, aspect="equal") | ||
| ax25.set_position([0.6, 0.55, 0.45, 0.45]) | ||
| plot_analytic_equilibrium(ax25, m_file, scan, figs[16]) | ||
|
||
|
|
||
| # Plot poloidal cross-section | ||
| poloidal_cross_section( | ||
| figs[19].add_subplot(121, aspect="equal"), | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds a
222subplot and then sets its position to[0.6, 0.55, 0.45, 0.45], which extends beyond the figure bounds (right edge at 1.05) and may clip content. Also noteplot_analytic_equilibrium()creates its own axes insidefigs[16], so the layout responsibilities are currently split between caller and callee and can cause overlaps.