Verify correctness of two methods in MaxwellianCollisionFrequencies
#2333
Labels
bug: needs more info
Bug descriptions that require more information for maintainers to reproduce or fix
effort: low
Requiring perhaps a few hours, but less than a day
good first issue
Good first contributions for new contributors
Plasma Lv2 | Intermediate
Issues that require an intermediate knowledge of plasma physics
priority: low
Issues & PRs of low urgency and importance that may be deferred until later
Python Lv2 | Intermediate
Issues that require a medium amount of knowledge of Python
Milestone
After a recent update of pytest that fixed a test collection bug (see pytest-dev/pytest#11237), a couple of doctests started failing in
plasmapy.formulary.collisions.frequencies.MaxwellianCollisionFrequencies
(see below). Essentially, these doctests were not being run before the pytest update.It turns out that there is a discrepancy for two properties of
MaxwellianCollisionFrequencies
inplasmapy.formulary.collisions
:Maxwellian_avg_ei_collision_freq
andMaxwellian_avg_ii_collision_freq
. I'm updating the docstrings in #2332 to be consistent with the new calculated values.However, because of this discrepancy, it would be worthwhile to double check that these two properties are giving correct results.
The new doctest errors were:
The text was updated successfully, but these errors were encountered: