-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
adding RPacketPlotter to TARDIS #2119
base: master
Are you sure you want to change the base?
adding RPacketPlotter to TARDIS #2119
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2119 +/- ##
==========================================
- Coverage 67.67% 61.08% -6.59%
==========================================
Files 170 76 -94
Lines 14308 8727 -5581
==========================================
- Hits 9683 5331 -4352
+ Misses 4625 3396 -1229 ☔ View full report in Codecov by Sentry. |
8cd6d61
to
227197d
Compare
1a80b5c
to
8e4b102
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.
I'll review the code in the module soon. Please start writing unit tests and updating the docs
Yeah, I think before writing tests and docs, I should work on adding some functionalities that are left. Today I am working on the dark theme. |
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.
Nice work Jayant. This will be a really nice addition to TARDIS when it's merged. I have a few specific codes that I've left. Generally though I think it would be good to add more comments throughout the code -- comments never hurt. The docstrings are good, but there are some specific bits of code where it's not clear exactly what they're doing. Just adding some comments to explain that will really help
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.
Good to see things finally shaping up - the final plot looks great. Thanks for finishing up animation and adding themes.
I have few minor comments about code n comments
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
*beep* *bop* Hi, human. The Click here to see the build log. |
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.
Looks good overall. I think some of the comments could be a bit more descriptive in places
View / edit / reply to this conversation on ReviewNB MarkMageeAstro commented on 2022-09-07T09:54:57Z properties (specifically...
with respect to the x-axis...
used (along...
calculate the x and y... |
View / edit / reply to this conversation on ReviewNB MarkMageeAstro commented on 2022-09-07T09:54:58Z Here the theme parameter...
Remove only
By default the light theme |
View / edit / reply to this conversation on ReviewNB MarkMageeAstro commented on 2022-09-07T09:54:59Z Is there supposed to be something here? It doesn't show anything for me even in the docs preview |
View / edit / reply to this conversation on ReviewNB MarkMageeAstro commented on 2022-09-07T09:55:00Z The Play button
The animation
to reach any
|
9f1d90d
to
bfdd23a
Compare
Okay, I did the rebase so now it just needs some cleanup to the current code structure. |
📝 Description
Type: 🚀
feature
This PR is based on the Montecarlo 2D packet visualization project. It aims to write a module for the RPacketPlotter tool which creates a 2D animated graph of the RPackets or the real packets used in the Montecarlo simulation.
Example code to plot is shown below:
rpacket_plotter = RPacketPlotter.from_simulation(sim, no_of_packets=10)
rpacket_plotter.generate_plot()
Here's how the plot looks like:
Light Theme:
Dark theme:
Also, link issues affected by this pull request by using the keywords:
close
,closes
,closed
,fix
,fixes
,fixed
,resolve
,resolves
orresolved
.📌 Resources
Examples, notebooks, and links to useful references.
🚦 Testing
How did you test these changes?
☑️ Checklist
build_docs
label