-
Notifications
You must be signed in to change notification settings - Fork 12
⚡ Tidy superconductors.py
part 1
#3657
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
Conversation
…rameterization and strain function notes
…d documentation and parameter definitions
…g_nb3sn` for clarity and consistency
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3657 +/- ##
=======================================
Coverage 36.23% 36.23%
=======================================
Files 88 88
Lines 22191 22191
=======================================
Hits 8041 8041
Misses 14150 14150 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…d update documentation
acb3037
to
98a54d9
Compare
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.
Happy with the docs. Like the interactive plot!
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.
Also happy with the code changes.
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.
Reapproving after pre-commit fixes.
* 📝 Add Superconductors documentation page to navigation * 📝 Re-factor bottura scaling and add equations to docs * 📝 Enhance documentation for Bottura scaling function with detailed parameterization and strain function notes * 📝 Update WST Nb3Sn critical surface model implementation with enhanced documentation and parameter definitions * ♻️ Refactor superconductors function names to `western_superconducting_nb3sn` for clarity and consistency * 🎨 Add critical surface plot for Western Superconducting Ltd. Nb3Sn and update documentation * Implement code changes to enhance functionality and improve performance
This pull request introduces significant updates to the documentation, codebase, and testing infrastructure for the modeling of superconductors, specifically focusing on the Western Superconducting Nb₃Sn critical surface model. The changes include the addition of detailed documentation, the replacement of an older method (
wstsc
) with a new implementation (western_superconducting_nb3sn
), and the integration of this new implementation across various modules and tests.Documentation Enhancements:
superconductors.md
explaining the Bottura scaling model and its application to Western Superconducting Nb₃Sn, including equations, parameter definitions, and references.Code Updates:
wstsc
function with the newwestern_superconducting_nb3sn
function inprocess/superconductors.py
. The new implementation improves readability, adds type annotations, and provides detailed docstrings.wstsc
across the codebase to usewestern_superconducting_nb3sn
, ensuring consistency inpfcoil.py
,stellarator.py
,superconducting_tf_coil.py
, andsuperconductors.py
.Visualization:
plotting_scripts/western_nb3sn_critical_surface.py
, to generate both static and interactive visualizations of the critical current density surface for Western Superconducting Nb₃Sn. The script uses Matplotlib and Plotly for visualization.Navigation and Testing:
mkdocs.yml
to include the new superconductors documentation.wstsc
to validate the newwestern_superconducting_nb3sn
function, ensuring the correctness of the updated implementation.Checklist
I confirm that I have completed the following checks: