ACEtk data generation for electron library#400
Open
melekderman wants to merge 9 commits into
Open
Conversation
This script generates MC/DC electron data by reading ACE files and creating HDF5 datasets for various properties, including cross sections and atomic relaxation data.
Added detailed README for MC/DC Electron Data Library Generator, including prerequisites, environment variables, usage instructions, and output schema.
Refactor electron reaction groups and datasets in generate.py
Updated functions to store CDF instead of PDF for various energy distributions.
ilhamv
approved these changes
Apr 20, 2026
Member
ilhamv
left a comment
There was a problem hiding this comment.
Looks great to me - Thanks, @melekderman!
Member
|
Is this ready for merging, @melekderman? |
Member
Author
|
Hi @ilhamv, I’ve made some changes and updates:
It’s ready to merge after your review. One more thing, I believe we should add a script to the top folder ( |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes
Adds an electron data library generator that converts EPRDATA14 ACE-format electron/photon/relaxation data into MC/DC's HDF5 format for continuous-energy electron transport. The generator mirrors the structure of the existing neutron data generator, producing per-element HDF5 files (
Al.h5, etc.) under anelectron_reactions/group with MT-numbered reaction channels (MT-526 bremsstrahlung, MT-527 excitation, MT-528 elastic, MT-534+ ionization per subshell) and a separateatomic_relaxation/group for fluorescence and Auger transition data.Types of changes
Developer Checklist
Associated Issues and PRs
Associated Developers