-
Notifications
You must be signed in to change notification settings - Fork 340
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
Nuke plasmapy.constants #651
Conversation
Most plasmapy.constants imports were changed to astropy.constants Electrons are weird so those were changed to astropy.constants.si where necessary Astropy.constants lacks pi, so that was imported from NumPy
8ee1643
to
799cea4
Compare
Also rename changelog entry to previous PR
Codecov Report
@@ Coverage Diff @@
## master #651 +/- ##
==========================================
+ Coverage 96.51% 96.51% +<.01%
==========================================
Files 54 54
Lines 4558 4563 +5
==========================================
+ Hits 4399 4404 +5
Misses 159 159
Continue to review full report at Codecov.
|
8ee1643
to
b6944db
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.
Thinking about this more, this does make sense as long as there are no constants that are specific to plasma physics that are not in astropy.constants
. If there are some constants that we end up needing in the future, then probably the better thing to do would be to propose an upstream change to astropy.constants
instead.
It would be helpful to include some documentation to remind users that they should go to astropy.constants
for the physical constants that they need, which could be either in this PR or raised as an issue for the future.
Good point on the docs! If there are any constants that are irrelevant to astronomy (as per documentation to |
I thought we had done that a while ago.
plasmapy.constants
is purely a wrapper forastropy.constants
. It provides no useful functionality of its own except introducing confusion.Off with its HEAD, as they say.