Commit graph

613 commits

Author SHA1 Message Date
Paul Romano
9fee6534b6
Prepare for NumPy 2.0 (#2845) 2024-03-26 12:00:06 -04:00
Jonathan Shimwell
e8f68a0159
adding resulting nuclide to cross section plot legend (#2851)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-17 18:21:52 +00:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -05:00
Paul Romano
61c43527e6
Clip low-importance points from discrete distributions (#2715)
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
2023-09-29 21:13:19 -04:00
Jonathan Shimwell
9b7b33c7fa
Ruff comments on code (#2696)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-26 03:37:19 +00:00
Hunter Belanger
7505f61b22
Warn users about bad equiprobable angles in S(a,b) (#2675)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-06 10:11:24 -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
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Jonathan Shimwell
4a1ff3350d
Merge pull request #2488 from paulromano/lazy-import-matplotlib
Defer import of matplotlib in multipole.py
2023-04-27 09:35:30 +01:00
Jonathan Shimwell
895d969eed
Merge pull request #2466 from paulromano/nea-workshop-updates
Miscellaneous updates and improvements from NEA course
2023-04-24 21:15:57 +01:00
Paul Romano
cee1615157 Defer import of matplotlib in multipole.py 2023-04-24 07:01:36 -05:00
Paul Romano
b86e03d849
Fix typo (thanks @gridley)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
2023-04-21 16:16:43 -05:00
Travis J. Labossiere-Hickman
7ca82b59aa Update the 2016 references to 2020 2023-04-12 12:22:45 -06:00
Paul Romano
9ec43809db Change DataLibrary to behave like list and add remove_by_material method 2023-04-11 13:33:11 -05:00
Ethan Peterson
7200d42644
Merge pull request #2433 from paulromano/photon-from-ace-fix
Handle zero photon cross sections in `IncidentPhoton.from_ace`
2023-03-24 12:58:28 -04:00
Paul Romano
cf8d9ef313 Handle zero photon cross sections in IncidentPhoton.from_ace properly 2023-03-21 13:15:28 -05:00
Paul Romano
c20f115cb9 Change exception in decay source processing to warning 2023-03-03 11:02:48 -06:00
Paul Romano
ed02703f4b
Merge pull request #2392 from joshmay1/nuclide_determinism
Order nuclides deterministically when adding from elements
2023-02-23 09:21:54 -06:00
josh
5556b0cedc order nuclides by increasing mass number 2023-02-22 18:24:50 +00:00
Paul Romano
ba074c5a5a Fix several thermal scattering nuclide assignments 2023-02-10 14:59:57 -06:00
Gavin Ridley
368525f3db
multipole documentation typo fix 2023-01-22 10:07:18 -05:00
Paul Romano
ecfa94e0ff Rename gnd_name to gnds_name. Change GND to GNDS in comments 2022-12-23 00:06:50 -06:00
Paul Romano
4e49f69f02
Merge pull request #2320 from paulromano/from-njoy-high-t-fix
Fix `IncidentNeutron.from_njoy` for high temperatures
2022-12-15 16:22:43 -06:00
Paul Romano
f9884650ec Fix IncidentNeutron.from_njoy for high temperatures 2022-12-05 23:11:20 -06:00
Paul Romano
b66d9e0a90 Add check for presence of atomic relaxation data in PhotonInteraction 2022-11-29 16:21:47 -06:00
jiankai-yu
a17fe6cc82
Add decay heat function in material (#2287)
* add decay heat in material.py

* add decay_energy.json into eggs

* fix a bug when returned decay_ery is None

* add unit test for decayheat

* fix typo in doc string

* address reviewer's comments

* add user defined decay energy

* remove json for decay energy

* address a few comments

* add to docs
2022-11-17 22:57:01 -06:00
Hunter Belanger
6a0d504303 Fix wording of comments 2022-11-05 13:05:47 +01:00
Hunter Belanger
6cb7a178e8 Fix spelling error. 2022-11-03 19:09:28 +01:00
Hunter Belanger
fd516c1c4c Doctors the incoherent inelastic TSL data when in continuous format. 2022-11-03 18:55:06 +01:00
Jonathan Shimwell
235195b125
Changed comment to reference 2020 atomic data version.
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-02 12:20:50 +00:00
Jonathan Shimwell
9ff159a4db updated to new AME format 2022-10-26 21:08:12 +01:00
Jonathan Shimwell
6131136bd1 swapped from 2016 to 2020 amdc data 2022-10-26 18:33:26 +01:00
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