-
-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move packet seeds logic into PacketSource instead of MontecarloTransp…
…ort (#2329) * moved seed and rng to packet_source.py from montecarlotransport * Remove single_packet_seed usages * Fix documentation test case * Fix argument placement * Make reseed private * Pass iteration as seed_offset from MontecarloTransport. Don't store an internal counter in packet_source * Handle dict and hdf conversion * Handle legacy test case in test_bb_packet_sampling * Handle legacy test case by adding secondary seed inside packet source * Changed parameter name from `secondary_seed` to `legacy_second_seed` * Changed parameter name from `secondary_seed` to `legacy_second_seed` * Rename seed param to base_seed
- Loading branch information
Showing
8 changed files
with
111 additions
and
89 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
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
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.