Skip to content
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

Papercut 3666 #3814

Closed

Conversation

geograham
Copy link
Contributor

Linked Issues

Closed papercut #3666

Description

"Why does the less intuitive, simpler algebra form work better??"

Not certain of the answer, but as we have the safe _direction_cosine_matrix_debugging version to compare to the speedier _direction_cosine_matrix, it seems ok to remove it from papercut TODO's.

Have left as a NOTE in comments.

Checklist

I confirm that I have completed the following checks:

  • Tests run locally and pass pytest tests --reactor
  • Code quality checks run locally and pass pre-commit run --from-ref develop --to-ref HEAD
  • Documentation built locally and checked sphinx-build -W documentation/source documentation/build

@geograham geograham requested review from a team as code owners February 12, 2025 11:35
je-cook and others added 25 commits February 12, 2025 11:36
* 🎨 Small cleanup

* 🚧 Initial structure
* 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 <[email protected]>
@geograham geograham closed this Feb 12, 2025
@geograham
Copy link
Contributor Author

Wrong branch.

@geograham geograham deleted the papercut_3666 branch February 12, 2025 11:46
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

Attention: Patch coverage is 73.77866% with 263 lines in your changes missing coverage. Please review.

Project coverage is 76.63%. Comparing base (a14ef36) to head (8176612).
Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
bluemira/equilibria/plotting.py 64.41% 137 Missing ⚠️
bluemira/equilibria/analysis.py 77.57% 100 Missing ⚠️
bluemira/utilities/plot_tools.py 52.38% 10 Missing ⚠️
bluemira/equilibria/equilibrium.py 56.25% 7 Missing ⚠️
...quilibria/optimisation/problem/_minimal_current.py 37.50% 5 Missing ⚠️
bluemira/equilibria/solve.py 73.33% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3814      +/-   ##
===========================================
- Coverage    76.75%   76.63%   -0.13%     
===========================================
  Files          230      232       +2     
  Lines        27238    28187     +949     
===========================================
+ Hits         20906    21600     +694     
- Misses        6332     6587     +255     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants