Commit graph

579 commits

Author SHA1 Message Date
Paul Romano
53b6d8ab11 Change 0.14.0 --> 0.13.2 2022-10-21 07:08:52 -05:00
Patrick Shriwise
61f8a793d7
Merge pull request #2267 from paulromano/random-test-fix
Improve tests for checking sample means
2022-10-18 10:20:44 -05:00
Paul Romano
6c4554f1c7 Add missing f prefix for an f-string 2022-10-16 11:42:05 +02:00
Paul Romano
fe04a839c2 Make sure Material.decay_photon_energy works with no unstable nuclides 2022-10-05 14:28:18 -05:00
Paul Romano
10abbe910a Clarify probability units for decay_photon_energy 2022-09-28 13:25:00 -05:00
Paul Romano
7815a5e02d Address @shimwell comments on #2234 2022-09-28 09:31:12 -05:00
Paul Romano
ce1abc5350 Documentation updates 2022-09-26 12:58:54 -05:00
Paul Romano
a917fd94c1 Add decay_photon_source property on Material 2022-09-26 12:58:53 -05:00
Jose Ignacio Marquez Damian
607be496bc
Fix elastic distribution
Elastic distributions were created but not used
2022-09-22 14:58:52 -03:00
Paul Romano
a074e0a5cf Use openmc.config['cross_sections'] instead of OPENMC_CROSS_SECTIONS 2022-09-07 16:46:10 -05:00
shimwell
c0982eb622 format to f strings 2022-08-27 00:12:25 +01:00
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