Repository navigation
Resurrect chemical_potential and associated functions - #1678
Merged
StanczakDominik merged 6 commits intoAug 23, 2022
Merged
Conversation
Add changelog
JaydenR2305
marked this pull request as ready for review
August 18, 2022 15:12
Codecov Report
@@ Coverage Diff @@
## main #1678 +/- ##
==========================================
+ Coverage 97.22% 97.61% +0.38%
==========================================
Files 85 85
Lines 8013 8018 +5
==========================================
+ Hits 7791 7827 +36
+ Misses 222 191 -31
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
chemical_potentialchemical_potential and associated functions
*Allow tolerance for floating point errors in evaluating Fermi integral * Floating point inaccuracies arising in the evaluation of the Fermi integral can result in a complex number with a very small imaginary component. So long as this component remains within a tolerance, the value is valid and the real component can be used.
StanczakDominik
approved these changes
Aug 23, 2022
StanczakDominik
left a comment
Member
There was a problem hiding this comment.
Huh! Fascinating that this works again. I don't exactly have anything to validate this against, but the changes look reasonable and I think we can try it out in main :) Thanks, @JaydenR2305 !
namurphy
added a commit
to namurphy/PlasmaPy
that referenced
this pull request
Oct 25, 2022
namurphy
added a commit
to namurphy/PlasmaPy
that referenced
this pull request
Oct 26, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #726
Floating point errors associated with the
chemical_potentialfunction seem to have silently been correcteddocstrings.