-
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
Thomson Scattering Module Initial Commit #831
Conversation
Hello @pheuer! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2020-06-10 18:28:38 UTC |
Codecov Report
@@ Coverage Diff @@
## master #831 +/- ##
==========================================
+ Coverage 95.94% 95.99% +0.05%
==========================================
Files 56 58 +2
Lines 5126 5195 +69
==========================================
+ Hits 4918 4987 +69
Misses 208 208
Continue to review full report at Codecov.
|
Hi @pheuer, thanks again for doing this. Like I said in our emails, I'll try to give a proper review by the end of the week. To get started, look into...
|
I'd definitely like to also take a look at this functionality :) |
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.
Thanks for doing this, @pheuer! Looks great. Here's my initial look-through with a bunch of suggestions.
I fully agree with @rocco8773 that an example notebook analysis could be very helpful for showcasing what this can do :)
Co-authored-by: Dominik Stańczak <[email protected]>
Co-authored-by: Dominik Stańczak <[email protected]>
No idea if I've done this correctly, or if there's more I need to do in the docstrings in the actual functions to have this process correctly?
Thanks for the comments! In addition to the changes noted above, I have also created an example Jupyter notebook and attempted to edit the diagnostics page in the documentation (although I'm not sure if there's more I need to do in the actual function docstrings to make that work properly?). |
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.
This looks really good. Thank you for doing this! There are just a few spelling/format fixes and then this will be the final review.
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
Co-authored-by: Erik Everson <[email protected]>
@rocco8773 Great, thank you for catching the spelling/formatting errors! |
Co-authored-by: Erik Everson <[email protected]>
somehow we missed formatting the weakly_collective dictionary
reformat caption list so it looks nice on RTD and in a notebook cell
Woo! Thanks @pheuer for this PR, and thanks @rocco8773 for carrying the review :D |
Yes, thank you! This is really exciting! |
Thank you all for your help! Looking forward to adding more in the future. |
This PR adds a file plasmapy/diagnostics/thomson.py which contain a code for simulating Thomson scattering spectra for Maxwellian plasmas in both the collective and non-collective regimes.
An associated file of tests is also added: plasmapy/diagnostics/tests/test_thomson.py. This file contains two tests that run the program in two regimes (collective and non-collective) and make sure the results match their current output values.