Skip to content
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

PR to separate main gamma ray loop #2529

Merged

Conversation

Knights-Templars
Copy link
Member

This is a draft PR. In this PR, we have functions calculating the distribution of packets to each isotope, fractional energy per isotope per decay chain in each shell. We also separate the main_gamma_ray_loop from the gamma_ray_transport.

@andrewfullard andrewfullard marked this pull request as draft March 4, 2024 19:27
for shell in decay_energy
}

return fractional_decay_energy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that looks complex - would a dataframe be better here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted. Thanks!

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@andrewfullard andrewfullard marked this pull request as ready for review March 11, 2024 18:30
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

Attention: Patch coverage is 15.09434% with 135 lines in your changes are missing coverage. Please review.

Project coverage is 68.17%. Comparing base (38a8141) to head (f3d3a83).
Report is 8 commits behind head on master.

Files Patch % Lines
tardis/energy_input/main_gamma_ray_loop.py 0.00% 82 Missing ⚠️
tardis/energy_input/gamma_ray_transport.py 26.66% 44 Missing ⚠️
tardis/energy_input/gamma_packet_loop.py 0.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2529      +/-   ##
==========================================
- Coverage   68.74%   68.17%   -0.57%     
==========================================
  Files         165      166       +1     
  Lines       13999    14135     +136     
==========================================
+ Hits         9623     9636      +13     
- Misses       4376     4499     +123     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tardis-bot
Copy link
Contributor

tardis-bot commented Mar 12, 2024

*beep* *bop*

Hi, human.

The docs workflow has succeeded ✔️

Click here to see your results.

@andrewfullard andrewfullard merged commit 20b2a64 into tardis-sn:master Mar 12, 2024
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants