-
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gamma-ray packet source refactor (#2546)
* First steps Radioactive packet source GXPacket collection Some initial methods * Add more methods to the packet source * Documentation, cleanup, positronium handling * Black formatting, cleanup * Fix kappa_calculation import loop * Working packet source Creates a Packet collection with all necessary packet properties * Positron deposition and packet tracker arrays * Fix parents dict * Result now mostly consistent with master * Fix kappa calculation test * Adds missing docstring for calculate_energy_factors * Fix util tests and black * Testing skeleton for packet source * black tests * Address comments * Beginnings of an alternate packet source for the dataframe * Possible deposition fix, import fixes * Added old functions * Cleanup, comments, and more dataframe sampling setup * Corrected packet time computation * Modified sampling to use positron information * Remove packet sampling call and replace with dataframe method * Update method call to match current usage * Comment responses * More comments, improve packet dataframe index handling --------- Co-authored-by: Knights-Templars <[email protected]>
- Loading branch information
1 parent
63cde91
commit b8788a1
Showing
14 changed files
with
1,171 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
""" | ||
Contains classes and functions to handle energy deposition and transport. | ||
""" | ||
|
||
from tardis.energy_input.util import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.