-
Notifications
You must be signed in to change notification settings - Fork 16
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
SH Plotting #3023
SH Plotting #3023
Conversation
2809d2f
to
3015955
Compare
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/eq_analysis_tools #3023 +/- ##
=============================================================
- Coverage 76.35% 75.52% -0.83%
=============================================================
Files 231 232 +1
Lines 26652 26849 +197
=============================================================
- Hits 20351 20279 -72
- Misses 6301 6570 +269 ☔ View full report in Codecov by Sentry. |
1170ed3
to
cda23ac
Compare
Quality Gate passedIssues Measures |
4e35a91
to
0c2a871
Compare
Quality Gate passedIssues Measures |
Hey, could you add a few lines to the description? I don't think the original issue fully covers the extra plotting features you have added. |
Currently we have the option to plot the 'full' psi or 'split' psi contributions. The alternative is to plot all three (total, plasma, coilset) along side each other. Pro = would remove a plotting option input. Con = might be a lot to look at at once during an optimisation. What do you (@clmould, @oliverfunk, @je-cook) think? (This is something we had talked about before but not decided on). |
I have no preference it more what people think is useful. My only blocker on here atm is there is no test to cover 80% of this which is needed. Btw to view figures while testing you can use the |
5a50acb
to
7574352
Compare
- compare equilibrium object with reference equilibrium - split psi plotting - plotting percentage difference between current and reference equilibrium - plot reference lcfs
…in _minimal_current
2a2d02d
to
58a8085
Compare
Quality Gate passedIssues Measures |
a72188d
into
Fusion-Power-Plant-Framework:feature/eq_analysis_tools
* Create equilibrium comparison plotter class - compare equilibrium object with reference equilibrium - split psi plotting - plotting percentage difference between current and reference equilibrium - plot reference lcfs * work on plots before work to update plot instead of producing new plots * make subplots have the same axes limits * remove unused argument in call to EquilibriumComparisonPlotter class in _minimal_current * Add xz_plot_setup to plot_tools.py * working on updating plot * remove blank line after docstring * trying to update colorbar (from stackexchange) * colorbar updating instead of multiple colorbars * add # noqa: BLE001 to Exception * update typing * pre-commit changes * fix from github comment * 🚨 Few missing imports --------- Co-authored-by: james <james.cook1@ukaea.uk>
* Create equilibrium comparison plotter class - compare equilibrium object with reference equilibrium - split psi plotting - plotting percentage difference between current and reference equilibrium - plot reference lcfs * work on plots before work to update plot instead of producing new plots * make subplots have the same axes limits * remove unused argument in call to EquilibriumComparisonPlotter class in _minimal_current * Add xz_plot_setup to plot_tools.py * working on updating plot * remove blank line after docstring * trying to update colorbar (from stackexchange) * colorbar updating instead of multiple colorbars * add # noqa: BLE001 to Exception * update typing * pre-commit changes * fix from github comment * 🚨 Few missing imports --------- Co-authored-by: james <james.cook1@ukaea.uk>
* Create equilibrium comparison plotter class - compare equilibrium object with reference equilibrium - split psi plotting - plotting percentage difference between current and reference equilibrium - plot reference lcfs * work on plots before work to update plot instead of producing new plots * make subplots have the same axes limits * remove unused argument in call to EquilibriumComparisonPlotter class in _minimal_current * Add xz_plot_setup to plot_tools.py * working on updating plot * remove blank line after docstring * trying to update colorbar (from stackexchange) * colorbar updating instead of multiple colorbars * add # noqa: BLE001 to Exception * update typing * pre-commit changes * fix from github comment * 🚨 Few missing imports --------- Co-authored-by: james <james.cook1@ukaea.uk>
* Create equilibrium comparison plotter class - compare equilibrium object with reference equilibrium - split psi plotting - plotting percentage difference between current and reference equilibrium - plot reference lcfs * work on plots before work to update plot instead of producing new plots * make subplots have the same axes limits * remove unused argument in call to EquilibriumComparisonPlotter class in _minimal_current * Add xz_plot_setup to plot_tools.py * working on updating plot * remove blank line after docstring * trying to update colorbar (from stackexchange) * colorbar updating instead of multiple colorbars * add # noqa: BLE001 to Exception * update typing * pre-commit changes * fix from github comment * 🚨 Few missing imports --------- Co-authored-by: james <james.cook1@ukaea.uk>
* Create equilibrium comparison plotter class - compare equilibrium object with reference equilibrium - split psi plotting - plotting percentage difference between current and reference equilibrium - plot reference lcfs * work on plots before work to update plot instead of producing new plots * make subplots have the same axes limits * remove unused argument in call to EquilibriumComparisonPlotter class in _minimal_current * Add xz_plot_setup to plot_tools.py * working on updating plot * remove blank line after docstring * trying to update colorbar (from stackexchange) * colorbar updating instead of multiple colorbars * add # noqa: BLE001 to Exception * update typing * pre-commit changes * fix from github comment * 🚨 Few missing imports --------- Co-authored-by: james <james.cook1@ukaea.uk>
Linked Issues
Closes #3080
Description
A new class called EquilibriumComparisonPlotter has been created which allows equilibrium plotting and comparing to a reference equilibrium. The plotting options allow for splitting the psi plots to show the coilset psi and plasma psi, and also a difference plot which plots the relative difference in psi between the current and reference equilibrium. For all the plotting options, the reference LCFS and current LCFS are overlaid on the plots.
Interface Changes
Checklist
I confirm that I have completed the following checks:
pytest tests --reactor
pre-commit run --from-ref develop --to-ref HEAD
sphinx-build -W documentation/source documentation/build