Skip to content

Add function to plot PF coil dimensions in summary plot - #4499

Open
chris-ashe wants to merge 2 commits into
mainfrom
add_pf_dimensions_diagram
Open

Add function to plot PF coil dimensions in summary plot#4499
chris-ashe wants to merge 2 commits into
mainfrom
add_pf_dimensions_diagram

Conversation

@chris-ashe

Copy link
Copy Markdown
Collaborator

This pull request introduces a new visualization for plotting the dimensions of PF (Poloidal Field) coils in the summary plotting workflow. The main change is the addition of the plot_pf_dimensions function, which visually annotates PF coil positions and dimensions on the plot, and its integration into the summary plotting routine.

New PF Coil Visualization

  • Added plot_pf_dimensions function to summary.py, which plots the PF coil locations, dimensions, and annotations (ΔR and ΔZ) on a given axis, enhancing the clarity of PF coil geometry in the plots.
image

Checklist

I confirm that I have completed the following checks:

  • My changes follow the PROCESS style guide
  • I have justified any large differences in the regression tests caused by this pull request in the comments.
  • I have added new tests where appropriate for the changes I have made.
  • If I have had to change any existing unit or integration tests, I have justified this change in the pull request comments.
  • If I have made documentation changes, I have checked they render correctly.
  • I have added documentation for my change, if appropriate.

@chris-ashe
chris-ashe requested a review from a team as a code owner August 4, 2026 14:43
@codecov-commenter

codecov-commenter commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 1.85185% with 53 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.15%. Comparing base (cd715d2) to head (3d10b02).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
process/core/io/plot/summary.py 1.85% 53 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4499      +/-   ##
==========================================
- Coverage   49.30%   49.15%   -0.16%     
==========================================
  Files         151      151              
  Lines       29611    29707      +96     
==========================================
+ Hits        14599    14601       +2     
- Misses      15012    15106      +94     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@clmould clmould self-assigned this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants