-
-
Notifications
You must be signed in to change notification settings - Fork 423
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 DataFrame for the RPacket Tracking Functionality #1776
Adding DataFrame for the RPacket Tracking Functionality #1776
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Before a pull request is accepted, it must meet the following criteria:
|
Codecov Report
@@ Coverage Diff @@
## master #1776 +/- ##
==========================================
- Coverage 62.55% 57.40% -5.15%
==========================================
Files 68 66 -2
Lines 7127 6846 -281
==========================================
- Hits 4458 3930 -528
- Misses 2669 2916 +247
Continue to review full report at Codecov.
|
This PR needs to be rebased after #1748 has been merged. And then it can be merged 🚀 |
41daaae
to
2770626
Compare
bf179f4
to
78d91f6
Compare
3eba913
to
affffc3
Compare
runner.rpacket_tracker = track_rpacket_dataframe( | ||
runner.rpacket_tracker, tracked_df | ||
) | ||
|
||
|
||
@njit(**njit_dict) | ||
def montecarlo_main_loop( |
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.
Please update the docstring to include the returned tracks
affffc3
to
a593aec
Compare
Changed the implementation of the finalize_array function to reduce the array size Implemented tests with Setup & Teardown mechanics for INITIAL_TRACKING_ARRAY_LENGTH
Removed track_r_packet func from r_packet.py
Instantiated RPacketCollection only when tracking is turned on, Made it possible to store the packet interaction iteration wise
…ll the interaction, Created new index with iterations, Concatenated the dataframe for each individual iteration
Renamed functions & variables for some of the values
Reordered the columns in DataFrame
…neratation the dataframe
…by a significant magnitude
… pythonic way, Appended Seed & Index value only once with this approach
f404265
to
ead38b5
Compare
Closing, see #2073 |
This is in continuation of the #1748
Adds the functionality of creating a dataframe from the interactions values of the packets tracked.
This PR will be rebased once #1748 is merged leading to addition of only a few commits.
Description
Motivation and context
How has this been tested?
Examples
Type of change
Checklist
Link to Documentation : https://dhruvsondhi.github.io/tardis/branch/packet_interaction_dataframe/io/output/rpacket_tracking.html