Skip to content

Commit 98cf91a

Browse files
author
Andrew Johnson
authored
Merge pull request #406 from drewejohnson/r0.9.3
REL Release 0.9.3
2 parents e7b1916 + e5063f1 commit 98cf91a

File tree

9 files changed

+98
-14
lines changed

9 files changed

+98
-14
lines changed

docs/changelog.rst

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,32 @@
66
Changelog
77
=========
88

9+
.. note::
10+
11+
Development will be limited to bug fixes for future
12+
``0.9.x`` releases. Release ``0.10.0`` will introduce
13+
new and improved parsers and containers alongside
14+
existing structures. For more information, see
15+
:ref:`data-model`
16+
917
.. _v0.9.3:
1018

11-
0.9.3
12-
=====
19+
:release-tag:`0.9.3`
20+
====================
1321

1422
* Depletion data now exposed through attributes like
1523
:attr:`~serpentTools.objects.DepletedMaterial.adens` - :pull:`390`
1624
* Generate a :class:`pandas.DataFrame` with depletion data using
1725
:meth:`~serpentTools.objects.DepletedMaterial.toDataFrame`
1826
- :pull:`391`
1927
* Dictionary-like item access and iteration for branching, detector,
20-
history, and depletion readers - :pull:`392`, :pull:`395`
28+
history, depletion, and xsplot readers - :pull:`392`, :pull:`395`, :pull:`402`
2129
* Obtain data from :attr:`~serpentTools.ResultsReader.resdata` with
2230
:meth:`~serpentTools.ResultsReader.__getitem__` and
2331
:meth:`~serpentTools.ResultsReader.get` - :pull:`392`
32+
* Modify plot legends for :meth:`serpentTools.objects.XSData.plot` for all
33+
or some plotted MTs - :pull:`402`
34+
* Options for plotting sensitivity profiles against energies in MeV - :pull:`405`
2435

2536
.. _v0.9.3-bug:
2637

@@ -40,6 +51,10 @@ Pending Deprecations
4051
attributes like :attr:`~serpentTools.samplers.DepletionSampler.zais`
4152
* :meth:`serpentTools.BranchingReader.iterBranches`. Prefer
4253
:meth:`~serpentTools.BranchingReader.items`
54+
* :attr:`serpentTools.XSPlotReader.metadata` and
55+
:attr:`serpentTools.objects.XSData.metadata`. Prefer attributes like
56+
:attr:`~serpentTools.XSPlotReader.majorant` or
57+
:attr:`~serpentTools.objects.XSData.energies` - :pull:`402`
4358

4459
.. _v0.9.2:
4560

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# |version| and |release|, also used in various other places throughout the
5353
# built documents.
5454

55-
version = "0.9.2"
55+
version = "0.9.3"
5656

5757
# General information about the project.
5858
project = 'serpentTools'

docs/contributors.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ Developer Team
77
Here are all the wonderful people that helped make this project happen
88

99
* `Andrew Johnson <https://github.com/drewejohnson>`_
10-
* `Dr. Dan Kotlyar <https://github.com/CORE-GATECH>`_
10+
* `Dan Kotlyar <https://github.com/DanKotlyar>`_
1111
* `Stefano Terlizzi <https://github.com/sallustius>`_
1212
* `Gavin Ridley <https://github.com/gridley>`_
1313
* `Paul Romano <https://github.com/paulromano>`_
14-
14+
* `Anton Travleev <https://github.com/travleev>`_
15+
* `@nicolaborate <https://github.com/nicoloabrate>`_

docs/develop/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ This section serves as a guide for people who would like to add functionality
88
to this project. If that is not your desire, this chapter can be skipped
99
without any loss of comprehension.
1010

11+
.. note::
12+
13+
Developers are encouraged to read and follow new guiding principles
14+
in :ref:`data-model` leading up to verison ``0.10.0``
15+
1116
.. toctree::
1217
:maxdepth: 2
1318
:caption: Contents:

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ version, with links to earlier releases.
7171
develop/index
7272
license
7373
contributors
74+
publications
7475
glossary
7576

7677
Indices and tables

docs/publications.rst

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
.. _publications:
2+
3+
============
4+
Publications
5+
============
6+
7+
The following is a non-exhaustive list of publications using ``serpentTools``.
8+
Please reach out if you wish to add a publication to this list.
9+
10+
Overview
11+
========
12+
13+
Andrew Johnson, Dan Kotlyar, Stefano Terlizzi, and Gavin Ridley,
14+
*"serpentTools: A Python Package for Expediting Analysis with Serpent*."
15+
`Nuclear Science and Engineering (in press) (2020)
16+
<https://doi.org/10.1080/00295639.2020.1723992>`_
17+
18+
Journal
19+
=======
20+
21+
M. Krecicki and D. Kotlyar, "*Low enriched nuclear thermal propulsion
22+
neutronic, thermal hydraulic, and system design space analysis*."
23+
`Nuclear Engineering and Design (2020) <https://doi.org/10.1016/j.nucengdes.2020.110605>`_
24+
25+
A. Johnson and D. Kotlyar, "*A Transport-Free Method for Predicting the
26+
Post-Depletion Spatial Neutron Flux Distribution*." `Nuclear Science and
27+
Engineering (2019) <https://doi.org/10.1080/00295639.2019.1661171>`_
28+
29+
G. Pereira, A. Johnson, Y. Bilodid, E. Fridman, and D. Kotlyar,
30+
"*Applying the Serpent-DYN3D code sequence for the decay heat analysis
31+
of metallic fuel sodium fast reactor*." `Annals of Nuclear Energy (2019)
32+
<https://doi.org/10.1016/j.anucene.2018.11.020>`_
33+
34+
Conference
35+
==========
36+
37+
A. Johnson and D. Kotlyar, "*Application of a Custom Depletion Framework
38+
to the Prediction of Neutron Flux Distribution Through Depletion*,"
39+
in proceedings of PHYSOR 2020: Transition to a Scalable Nuclear
40+
Future, Cambridge, UK, 2020
41+
42+
C. Kazaroff and A. Johnson and D. Kotlyar and J. Parker, "*Economic
43+
Benefits of Higher Enriched Assays for 24-month Cycle Length*," in
44+
proceedings of Global/Top Fuel 2019, Seattle, WA, 2019
45+
46+
A. Johnson and D. Kotlyar, "*Prediction of Spatial Flux Through Depletion*,"
47+
in proceedings of ANS M&C 2019: Bridging Theory and Applications, Portland, OR, 2019
48+
49+
A. Johnson and D. Kotlyar, "*serpent-tools: A Python Package for Expediting
50+
Analysis with Serpent Data*," in proceedings of ANS M&C 2019: Bridging
51+
Theory and Applications, Portland, OR, 2019
52+
53+
M. Krecicki, and D. Kotlyar, "*Sensitivity Studies of the Tungsten Vector
54+
on the Performance of a LEU NTP Engine*," in proceedings of Nuclear and
55+
Emerging Technologies for Space, Richland, WA, 2019.
56+
57+
A. Johnson and D. Kotlyar, "*Comparative Study of Monte Carlo Burnup Schemes
58+
for Full Core Calculations*," in proceedings of PHYSOR 2018: Reactor Physics
59+
paving the way towards more efficient systems, Cancun, Mexico, 2018.

serpentTools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
from serpentTools.seed import *
88
from serpentTools.xs import *
99

10-
__version__ = "0.9.2"
10+
__version__ = "0.9.3"

serpentTools/parsers/sensitivity.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -415,13 +415,16 @@ def plot(self, resp, zai=None, pert=None, mat=None, mevscale=False,
415415
if xlabel is None:
416416
xlabel = "Energy [MeV]" if mevscale else "Energy [eV]"
417417

418-
xlabel = 'Energy [eV]' if xlabel is None else xlabel
419-
ylabel = ylabel if ylabel is not None else (
420-
'Sensitivity {} {}'.format(
421-
'per unit lethargy' if normalize else '',
422-
r'$\pm{}\sigma$'.format(sigma) if sigma else ''))
418+
if ylabel is None:
419+
parts = ["Sensitivity"]
420+
if normalize:
421+
parts.append("per unit lethargy")
422+
if sigma:
423+
parts.append(r"$\pm{}\sigma$".format(sigma))
424+
ylabel = " ".join(parts)
425+
423426
ax = formatPlot(ax, loglog=loglog, logx=logx, logy=logy, legendcols=ncol,
424-
legend=legend, xlabel=xlabel, ylabel=ylabel.strip())
427+
legend=legend, xlabel=xlabel, ylabel=ylabel)
425428
return ax
426429

427430
def _gather_matlab(self, reconvert):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def getDataFiles():
4343

4444
pythonRequires = ">=3.5,<3.9"
4545

46-
version = "0.9.2"
46+
version = "0.9.3"
4747

4848
setupArgs = {
4949
'name': 'serpentTools',

0 commit comments

Comments
 (0)