Repository navigation
Add mass_numb and Z as parameters to functions decorated with @particle_input - #2140
Conversation
|
Thank you for submitting a pull request (PR) to PlasmaPy! ✨ The future of the project depends on contributors like you, so we deeply appreciate it! 🌱 Our contributor guide has information on:
The bottom of this page shows several checks that are run for every PR. Don't worry if something broke! We break stuff all the time. 😺 Click on "Details" to learn why a check didn't pass. Please also feel free to ask for help. We do that all the time as well. 🌸 You can find us in our chat room or weekly community meeting & office hours.
If this PR is marked as ready for review, someone should stop by soon to provide a code review and offer suggestions soon. ✅ If you don't get a review within a few weekdays, please feel free to send us a reminder. Please also use SI units within PlasmaPy, except when there is strong justification otherwise (e.g., in some examples). We thank you once again! |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2140 +/- ##
=======================================
Coverage 98.38% 98.38%
=======================================
Files 98 98
Lines 8625 8625
=======================================
Hits 8486 8486
Misses 139 139
☔ View full report in Codecov by Sentry. |
If a function is decorated with
@particle_inputand also hasmass_numbandZas parameters to the function, then we can specify the mass number viamass_numband charge number viaZ. This PR addsmass_numbandZto a few functions inplasampy.formulary.lengthsandplasmapy.formulary.distribitionsince I forgot to add it before.Follows up on #1732. Related to #341.