Commit graph

79 commits

Author SHA1 Message Date
Paul Romano
1914e3eefa
Support endf.Material in from_endf methods (#3932) 2026-05-29 21:53:45 -05:00
GuySten
c5df2bf621
Fix for pandas version 3 (#3743) 2026-01-21 21:57:40 -06:00
Jonathan Shimwell
84f561c1ed
sets used instead of lists when membership testing (#3021) 2024-06-19 14:48:34 +00:00
Paul Romano
dcb80338c5
Eliminate deprecation warnings from scipy and pandas (#2951) 2024-06-11 22:56:31 -04:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
Jonathan Shimwell
457bea6f0b
replaced ordereddict with {} (#2641)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 12:15:11 +00:00
Jonathan Shimwell
ee7b95245a
Static errors continuation (#2557)
Co-authored-by: Christina Cai <chrsitinacai48933@gmail.com>
Co-authored-by: christinacai123 <63215816+christinacai123@users.noreply.github.com>
2023-06-16 22:34:02 -05:00
Paul Romano
cf8d9ef313 Handle zero photon cross sections in IncidentPhoton.from_ace properly 2023-03-21 13:15:28 -05:00
Paul Romano
b66d9e0a90 Add check for presence of atomic relaxation data in PhotonInteraction 2022-11-29 16:21:47 -06:00
Avery
1812e881d3 Fixed typo in data/photon.py 2020-05-04 16:27:04 -04:00
Paul Romano
a54cb56325 Changes in data/photon.py from PullRequest Inc. review 2020-04-15 15:06:48 -05:00
Paul Romano
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
Sam Powell-Gill
dd74b2f43f Fixed bug which prevents creating photon data with no atomic relax 2020-02-19 09:26:13 +00:00
Paul Romano
6587413bd1 Some PEP8 fixes in photon.py 2020-01-28 15:51:43 -06:00
Paul Romano
8c43907378 Remove AtomicRelaxation.energy_fluorescence method 2020-01-28 15:48:38 -06:00
Paul Romano
840749070d Remove photon heating calculation from Python and use on C++ side 2020-01-21 17:18:39 -06:00
Paul Romano
4013675cde
Merge pull request #1424 from PullRequestOpen/pullrequest-cosmetic-fixes
PullRequest Cosmetic Fixes [2019-12-05]
2019-12-09 17:07:49 -06:00
Paul Romano
b79d97d6dd Fix a number of problems related to photoatomic data
- OpenMC segfaulted when subshell cross sections were missing in HDF5 files
- IncidentPhoton.from_ace shouldn't work with mcplib84 and before
- Properly set threshold for subshell cross sections from eprdata12/14
- Make sure IncidentPhoton.from_endf works with only photoatomic data
2019-12-06 06:10:49 -06:00
PullRequestOpen
6d0aa86cef Cosmetic fixes from PullRequest [2019-12-05] 2019-12-05 22:22:43 -06:00
Paul Romano
60f17ea466 Make sure from_ace classmethods get correct type of ACE table 2019-09-25 12:36:47 -05:00
Paul Romano
5f001ee6b5 Add a short user's guide section on depletion 2019-06-14 22:22:38 -05:00
liangjg
f90e8dd3dc address @paulromano's comments 2019-04-17 14:11:55 -04:00
Paul Romano
435b21eecb Use fixed-tolerance Gaussian quadrature for integrals 2019-04-17 11:01:04 -05:00
liangjg
1969767c91 fix formula 2019-04-11 16:20:28 -04:00
liangjg
c3e27cf24a Merge branch 'develop' into heat-photon 2019-04-11 14:40:44 -04:00
liangjg
7536de5644 Account for fluorescent photons release in heating cross section computing 2019-04-10 13:46:44 -04:00
liangjg
5db6db53f1 fix photon heating generation from endf 2019-04-05 23:04:42 -04:00
liangjg
b7a0fc5187 Merge branch 'photon-analog' into heat-photon-kerma
Conflicts:
	openmc/data/photon.py
2019-03-29 15:41:47 -04:00
liangjg
f5cff7baef generate heating number 2019-03-28 16:58:46 -04:00
liangjg
0f248381d1 updated photon data test to check cross sections and data by from_hdf5() 2019-03-27 13:24:00 -07:00
liangjg
0898642164 dataset.value -> dataset[()] in photon.py 2019-03-27 11:11:33 -04:00
liangjg
8926a70bad fix style issues suggested by @paulromano 2019-03-27 10:44:37 -04:00
liangjg
7905b196c3 update _SUBSHELLS array 2019-03-27 10:41:39 -04:00
liangjg
fefb68a866 Add from_hdf5() in IncidentPhoton 2019-03-26 13:33:34 -04:00
liangjg
cdde6b55b3 generate photon heating number from ENDF 2019-03-26 12:56:22 -04:00
liangjg
dfdb074718 currently only the heating factors (not heating cross sections) can be extracted from ace as there is no 517 cross section in photoatomic library 2019-03-26 12:56:21 -04:00
liangjg
acf4b3616c fix photon reaction __repr__ 2019-03-26 12:56:20 -04:00
liangjg
21888e6cb5 adjust heating number when reading from ACE 2019-03-26 12:56:19 -04:00
liangjg
90c70f910a first result looks good 2019-03-26 12:56:19 -04:00
liangjg
4eee743ec5 added to_hdf5 in photon reaction to simplify export 2019-03-26 12:56:17 -04:00
liangjg
36641b1029 create from_hdf5 in photon reactions to simplify photon export 2019-03-26 12:56:17 -04:00
liangjg
0661082337 added to_hdf5 for atomic relaxation 2019-03-26 12:56:17 -04:00
liangjg
69e1a9d30d Add from_hdf5 for atomic relaxation data 2019-03-26 12:56:16 -04:00
liangjg
bb30f78b0d using pd.DataFrame to replace the strings 2019-03-26 12:56:16 -04:00
liangjg
4d80367ae4 from_hdf5 completed 2019-03-26 12:56:15 -04:00
liangjg
25d5a67fa1 read photon data from hdf5 2019-03-26 12:56:15 -04:00
liangjg
ce54673f1d include photon heating number in the library (from ACE) 2019-03-26 12:56:10 -04:00
amandalund
d1afac3605 Read in bremsstrahlung data in IncidentPhoton.from_ace 2019-03-11 11:33:38 -05:00