Commit graph

40 commits

Author SHA1 Message Date
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
Adam Nelson
823d6fe1be Added plot_xs to mgxs-part-iv notebook 2016-11-20 20:13:40 -05:00
Adam Nelson
f76ee0867c Some major simplifications: combined plot_xs and plot_mgxs so now the same interface works for both, and added support in a very generic way for all the different types of data one would expect to plot for MGXS plots (i.e., all the types in the library itself including choices of certain orders/delayed groups) 2016-11-20 16:11:04 -05:00
Adam Nelson
39dcd86e54 Merge branch 'plot_mat' into from_hdf5 2016-11-20 06:05:50 -05:00
Adam Nelson
14e3684a6a Fixed issue with plotting nuclides with divisor types 2016-11-20 06:05:36 -05:00
Adam Nelson
199e1e32cc Merge branch 'plot_mat' into from_hdf5 2016-11-20 05:54:51 -05:00
Adam Nelson
27c07b02d6 cleaned up some comments 2016-11-19 23:32:49 -05:00
Adam Nelson
24798a0ecd Combined the elemental and material calculate_xs routines 2016-11-19 23:29:59 -05:00
Adam Nelson
9afb0c8d68 Made the _calculate_xs routines consistent in what they return to give us a little simplification 2016-11-19 22:52:30 -05:00
Adam Nelson
7199858fc0 made calculate_mgxs functions return same parameters as calculate_mgxs 2016-11-19 21:28:50 -05:00
Adam Nelson
45be98667b Merge branch 'plot_mat' into from_hdf5 2016-11-19 21:03:00 -05:00
Adam Nelson
e764a0852f Fixed the stupid for n in range... 2016-11-19 21:02:50 -05:00
Adam Nelson
be282ed7dd added back in MGXSLibrary.from_hdf5 (for some reason it disappeared) and incorporated conversion of scatter matrix to vector for mgxs plotting 2016-11-19 06:21:39 -05:00
Adam Nelson
ea8181f2b6 merging with upstream 2016-11-19 05:33:05 -05:00
Adam Nelson
b4c556db82 incorporated MT=5, simplified yield usage in the plotter 2016-11-18 19:55:24 -05:00
Adam Nelson
1a62b59dc3 Resolved @samuelshaner comments 2016-11-17 17:17:38 -05:00
Adam Nelson
b8d9fe461f Resolving @paulromano comments 2016-11-16 21:47:07 -05:00
Adam Nelson
255f16b6ed Seems to be all working 2016-11-15 20:29:32 -05:00
Adam Nelson
e358afd00b Enabled plotting of MGXS data 2016-11-14 20:46:24 -05:00
Adam Nelson
a428ccb231 And one minor editorial :-( 2016-11-13 21:54:36 -05:00
Adam Nelson
51babd6978 Minor ylabel changes 2016-11-13 21:54:12 -05:00
Adam Nelson
cb10bef926 Added beginnings of plotting MGXS 2016-11-13 21:48:18 -05:00
Adam Nelson
00268a3c55 Fixed Travis failure: moved matplotlib import to plot_xs instead of at the module level 2016-11-11 22:18:12 -05:00
Adam Nelson
ba5a6714a2 Forgot enrichment 2016-11-11 22:13:14 -05:00
Adam Nelson
995ba26694 Moved plotting and calculate_xs routines to plotter, condensed code as needed. 2016-11-11 21:58:31 -05:00