Commit graph

659 commits

Author SHA1 Message Date
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
Paul Romano
03244d755f Update physical constants to CODATA 2018 2021-05-03 09:43:09 -05:00
Paul Romano
e1c47437bb Avoid several Python warnings 2021-04-26 14:45:37 -05:00
Paul Romano
28b37011b0 Add release notes for 0.12.1 and a bunch of versionadded tags 2021-03-17 07:33:57 -05:00
Gavin Ridley
d120785bf6 pre c99 compatible endf.c parsing 2021-03-10 17:08:33 -05:00
Paul Romano
8424f9b366 Ensure CorrelatedAngleEnergy.to_hdf5 works for continuous+discrete eout dists 2020-12-08 13:53:35 -06:00
Paul Romano
ccf5799f0f Read correct discrete photon energy in _get_photon_products_endf 2020-12-08 13:53:35 -06:00
Adam Nelson
d2c00b4f1b Added tests and fixed code accordingly 2020-10-22 14:13:32 -05:00
Paul Romano
c12fe59b5f
Merge pull request #1684 from Shimwell/adding_reaction_name_dict
Adding reaction name dict
2020-10-19 13:44:06 -05:00
Jonathan Shimwell
975fb850d6
rename varible as suggested in review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2020-10-19 13:33:02 +01:00