Commit graph

568 commits

Author SHA1 Message Date
Paul Romano
02f1815299 Add missing versionadded directives 2022-08-15 13:20:59 -05:00
Paul Romano
2adf34b9a6
Merge pull request #2022 from JoffreyDorville/kalbach_mann_slope
Kalbach-Mann slope calculation for ENDF files
2022-08-05 11:51:00 -05:00
Joffrey Dorville
fc3d94b781 Apply @paulromano suggestions 2022-08-04 11:38:04 -06:00
Ethan Peterson
3f3b0282f7
Merge pull request #2135 from paulromano/decay-data
Add ability to get sources from `Decay` class
2022-08-03 19:58:39 -04:00
Amelia J Trainer
a18abd4fd9
Merge pull request #2134 from paulromano/thermal-mixed-elastic
Add support for mixed incoherent/coherent elastic thermal scattering
2022-07-28 15:43:55 -04:00
Paul Romano
0118067e2f Fix for IncoherentElasticAE.from_hdf5 2022-07-25 16:00:50 -05:00
Paul Romano
3e5afd21eb Add missing definition of _sources in Decay.__init__ 2022-07-22 16:42:24 -05:00
Paul Romano
a68a3ede6a Change get_sources() -> sources property and add test 2022-07-22 15:08:25 -05:00
Paul Romano
7c779f73f8 Move combine_distributions to univariate.py 2022-07-22 14:56:05 -05:00
Paul Romano
d4989ae642 Use integral() methods instead of _intensity hidden attribute 2022-07-22 14:56:05 -05:00
Paul Romano
6388c8f994 Separate out a function for combine_distributions 2022-07-22 14:56:05 -05:00
Paul Romano
1b2b5e169c Map radiation type to particle type properly in Decay.get_sources 2022-07-22 14:56:04 -05:00
Paul Romano
b7596245f2 Combined decay distributions 2022-07-22 14:56:04 -05:00
Paul Romano
c4a9b2c8b1 Get gamma and xray decay sources as distributions 2022-07-22 14:56:04 -05:00
Paul Romano
0f03710e36 Fix hdf5 write/read for coherent and mixed elastic 2022-07-22 07:49:01 -05:00
Paul Romano
e8294d52a0 Update documentation for mixed thermal elastic 2022-07-22 07:49:00 -05:00
Paul Romano
edf023adb9 Fix HDF5 export of mixed elastic distribution 2022-07-22 07:49:00 -05:00
Paul Romano
70c16d4b04 Implement mixed coherent/incoheret thermal elastic 2022-07-22 07:49:00 -05:00
Paul Romano
e453901c84 Implement to/from_hdf5 methods for Python Sum class 2022-07-22 07:48:56 -05:00
Paul Romano
4df20f2d6c Account for neutron wave number in SLBW competitve rho. Closes #907 2022-07-20 22:32:03 -05:00
Paul Romano
1e849fe162
Apply @JoffreyDorville suggestions from code review
Co-authored-by: Joffrey Dorville <54550047+JoffreyDorville@users.noreply.github.com>
2022-07-13 11:09:35 -05:00
Paul Romano
7723ea492c Add Material.get_nuclide_activity method and decay_constant function 2022-06-28 23:16:50 -05:00
Paul Romano
19494cccd0 Add check in Decay.decay_constant for erroneous half-life 2022-06-27 22:42:13 -05:00
Paul Romano
5913308841
Merge pull request #2079 from shimwell/adding_activity_to_material
Adding activity to material
2022-06-23 06:24:25 -05:00
Jonathan Shimwell
344c2a4640 lower case nucs in half-life 2022-06-22 23:27:41 +01:00
Jonathan Shimwell
649f4a28f2
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-06-22 14:21:02 +02:00
Jonathan Shimwell
53b5cce209
Applying missed suggestions
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-06-22 08:01:07 +01:00
Jonathan Shimwell
7bbc778fd7
[skip ci] review suggestions from @paulromano 2022-06-21 23:27:44 +01:00
Jonathan Shimwell
e5e1daf23f
[skip ci] removed diagnostic prints 2022-06-09 15:02:10 +01:00
Jonathan Shimwell
1234e0b17c review suggestions from @PaulRomano 2022-06-09 14:59:28 +01:00
Jonathan Shimwell
e030b74836 add get_activity 2022-06-08 17:28:33 +01:00
Paul Romano
e0d82e4878 Use utf-8 encoding when reading dose coefficient files (thanks Fabricio Gatti) 2022-06-08 06:37:27 -05:00
Paul Romano
41ae16c032 Allow for use of redundant fission when adjusting KERMA in from_njoy 2022-05-03 17:17:12 -05:00
Paul Romano
cdc1bd0217 Changes in njoy.py 2022-04-26 17:00:11 -05:00
Paul Romano
7ca7b1c7cf Fix some docstrings 2022-04-26 16:54:26 -05:00
Paul Romano
f685827912 Make AtomicRepresentation private (leading underscore) 2022-04-26 16:54:23 -05:00
Paul Romano
751d09836c Make 'a' and 'z' properties read-only 2022-04-07 13:20:56 -05:00
Paul Romano
a8fd1ddf71 Change iza --> za 2022-04-07 11:11:51 -05:00
Paul Romano
e7595c3201 Don't throw away precision on K-M slope calculation 2022-04-07 10:58:15 -05:00
Paul Romano
af579895dd Refactor K-M slope calculation 2022-04-07 10:55:33 -05:00
Joffrey Dorville
cbe9cc8c29 Kalbach-Mann slope calculation for ENDF files when the projectile is a neutron 2022-04-02 00:30:27 -06:00
Paul Romano
0dc6f463ed Change 'type' to 'from_mode' for decay sublibrary continuous spectra. Closes #2017 2022-03-31 14:56:19 -05:00
yardasol
8e5dad8210 fix overwritten variable in ace.py::get_libraries_from_xsdata 2022-03-09 09:45:14 -06:00
Paul Romano
80c73c8e4d Make sure ThermalScattering.from_njoy works with table_name=... 2022-01-12 12:02:45 -06:00
agnelson
43d3628b69 Fixed xsdir continuation line parsing 2021-11-22 12:56:16 -06:00
Paul Romano
99cb54bf8e Comment explaining special case in get_decay_modes 2021-09-13 15:42:15 -05:00
Paul Romano
fa76ae54d1 Use nza input on ACER card 8 (for thermal scattering) 2021-09-03 15:25:32 -05:00
Paul Romano
6fd8971eb7 Update recognized thermal scattering materials for ENDF/B-VIII.1 2021-08-30 22:41:44 -05:00
Paul Romano
c08d9bc142 Fix get_decay_modes ('unknown' wasn't recognized) 2021-08-29 21:29:41 -05:00
Paul Romano
0d83672544 Resolve a few TODOs related to Python 3.6 2021-07-27 22:50:28 -05:00