Thomas Kittelmann
8a62e7e323
Fix caching issue when using NCrystal materials ( #3538 )
...
Co-authored-by: Jose Ignacio Marquez Damian <22483345+marquezj@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-10-02 23:27:36 +00:00
GuySten
eaed400987
Fixed a bug in plotting cross sections with S(a,b) data ( #3558 )
2025-09-02 22:52:27 -05:00
Paul Romano
339d78c5fa
Fix plot_xs type hint ( #3184 )
2024-11-06 12:59:25 +01:00
Jonathan Shimwell
7552123c76
added list to doc string arg for plot_xs ( #3178 )
2024-10-29 17:05:40 +00:00
Paul Romano
55b52b7ef3
Release of version 0.15.0 ( #3050 )
2024-06-22 01:28:56 +00:00
Jonathan Shimwell
84f561c1ed
sets used instead of lists when membership testing ( #3021 )
2024-06-19 14:48:34 +00:00
Jonathan Shimwell
e6c5f56ee2
Fixing plot xs for when plotting element string reaction ( #3029 )
2024-06-10 12:18:04 -05:00
Jonathan Shimwell
27bd315f0f
changing y axis label for heating plots ( #2859 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-05 09:37:46 +00:00
Jonathan Shimwell
b75ccd598e
Adding energy axis units to plot xs ( #2876 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-29 01:31:54 +00: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
45006584ca
Fix meaning of "masking" for plots ( #2510 )
2023-05-03 09:52:40 -05:00
Jonathan Shimwell
4cadcbcf02
more flexible cross section plotting ( #2478 )
...
---------
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-04-27 22:26:21 -05:00
zoeprieto
9ebacff23a
Update docstrings
...
Added description of ncrystal_cfg
2023-03-29 16:56:12 -03:00
zoe prieto
dc2a9a8129
Resolved conflict
2023-03-29 16:53:37 -03:00
zoeprieto
094eb958c1
Add support for ncrystal materials
2023-03-22 12:44:56 -03:00
Jonathan Shimwell
993a872798
removed unused else and passing **kwargs
2023-03-22 13:32:38 +00:00
Jonathan Shimwell
83a124c492
[skip ci] review improvments to docstring from @paulromano
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-03-22 13:11:33 +00:00
shimwell
17e9918f5d
removed most deprecated types
2023-03-21 21:51:40 +00:00
shimwell
1a9449debc
finding data_type arg automatically
2023-03-06 20:36:34 +00:00
Paul Romano
80dad0f240
Small fix in plot_xs when S(a,b) tables are present
2022-12-31 11:32:39 +07:00
Paul Romano
a4f98b489c
Change values in dict returned by Material.get_nuclide_atom_densities
2022-06-27 22:36:36 -05:00
Jonathan
04b5f4bc97
fixed minor typo in docs
2022-02-10 00:20:58 +00:00
Jonathan Shimwell
192f4436a0
replaced .format with f string
2021-07-29 18:25:37 +01: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
Jonathan Shimwell
acde663c90
changed if else layout
2020-10-08 18:23:07 +01:00
Jonathan Shimwell
336b09b358
added to altered functions docstring
2020-10-08 17:33:05 +01:00
Jonathan Shimwell
e71e09884d
allowing plot types to be reaction strings
2020-10-08 17:28:52 +01:00
Miriam
327bca1b6c
Changed name "decay rate" to "decay-rate" to avoid seg faults
...
I added decay-rate to get_xsdata since it was missing.
However, set_decay_rate_mgxs sets it as "decay rate".
That space in the name seems to cause some errors, akin to seg faults.
By replacing that name with "decay-rate", create_mg_mode could run smoothly.
2020-08-28 17:42:15 +00:00
Ethan Peterson
e35f317099
Applying suggestion from code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2020-05-26 16:07:51 -04:00
Ethan Peterson
00f5f1a0d6
use get_reaction_components to expand sum rules in plotter
2020-05-19 11:59:47 -04: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
d58f8a2da2
Changes in plots.py/plotter.py from PullRequest Inc. review
2020-04-01 14:13:05 -05:00
Ethan Peterson
2b1380519d
Adding data_type kwarg to DataLibrary.get_by_material
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
Update tests/unit_tests/test_data_misc.py
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-01-03 10:16:50 -05:00
PullRequestOpen
6d0aa86cef
Cosmetic fixes from PullRequest [2019-12-05]
2019-12-05 22:22:43 -06:00
Adam G Nelson
1d2ebb71f8
Implemented Expansion filters in to the MGXS classes and removed the old score-based expansions
2018-04-27 19:45:38 -04:00
Paul Romano
ed7edf4141
Have Universe.plot return AxesImage. Add Plot.to_image method
2018-03-15 11:02:07 -05:00
Paul Romano
c428cee667
Remove __future__ and six imports
2018-02-05 23:14:30 -05:00
Paul Romano
9aaa927222
Update Jupyter notebooks to remove use of openmc.Nuclide
2017-12-17 07:16:06 +07:00
Sterling Harper
3f89b67fc0
Fix S(a,b) temperature indexing in plot_xs
2017-03-06 18:37:25 +01:00
Sterling Harper
ad7c16f808
Fix temperature indexing error for plot_xs
2017-03-06 10:56:10 +01:00
Adam Nelson
fc3df18eab
Added an openmc.run mode (summary, which just shows the timing and summary results; fixed the generation of cells from a mesh (incorrect ordering of universes in the lattice), xs_shapes for delayed groups had wrong ordering (fixed) in openmc.MGXSLibrary and openmc.Plotter, fixed error in multi-group plots which only plotted one group not all, fixed issue with setting max order to 0 for Legendre scattering (not legendre converted to tabular w/in OpenMC, the default), removed superfluous xs assignments in MG mode which only slowed things down
2017-02-25 08:17:10 -05:00
Adam Nelson
698d543973
Resolving comments for clarity by @paulromano
2016-12-11 13:10:07 -05:00
Adam Nelson
a45652d785
Used more pythonic commands in plotter module and commented the block which obtains MGXS data for plotting
2016-12-02 18:57:09 -05:00
Adam Nelson
9245ebda77
Docstring changes (forgot optional on some optional attribs)
2016-11-30 20:16:05 -05:00
Adam Nelson
caab2c1c2d
Replaced some numerical constants with named constants
2016-11-30 19:55:59 -05:00
Adam Nelson
d2979851f0
Added ability to treat angle-dependent cross sections in plotting routines
2016-11-29 19:29:41 -05:00
Adam Nelson
2e0e37c305
Merging with angles branch and renaming the MGXSLibrary.__getitem__ to get_by_name
2016-11-27 06:42:36 -05:00
Adam Nelson
92f9ccbb49
Merge branch 'plot_mat' into from_hdf5
2016-11-21 20:36:49 -05:00
Adam Nelson
42baabd155
Whoops, improperly weighted the data
2016-11-21 20:35:06 -05:00
Adam Nelson
20ce145e36
Read in total_nu as a derived product for MT=18 if it only exists as summed, and more correctly treated yields
2016-11-21 20:30:54 -05:00