Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some documentation on the samplers
- Loading branch information
andrewjohnson
committed
Mar 7, 2018
1 parent
342e4b0
commit b546aea
Showing
7 changed files
with
72 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,52 @@ | ||
.. |serpentTools| replace:: :ref:`welcome` | ||
|
||
.. |depletion| replace:: :ref:`depletion` | ||
|
||
.. |detector| replace:: :ref:`detector-reader` | ||
|
||
.. |sampler| replace:: :py:class:`~serpentTools.samplers.Sampler` | ||
|
||
.. |detector-container| replace:: :py:class:`~serpentTools.objects.containers.Detector` | ||
|
||
.. _samplerAPI: | ||
|
||
Samplers | ||
======== | ||
|
||
.. autoclass:: serpentTools.samplers.Sampler | ||
A common practice in Monte Carlo analysis is repeat a single case | ||
with a variety of new random number seeds. | ||
Averaging the results from these runs reduces the impact of stochastic | ||
uncertainty and can give a better picture of the *true* behavior of a | ||
system. The |serpentTools| package supports reading multiple output | ||
files of a common type and obtaining average values and associated | ||
uncertainties, while retaining data structure and retrieval | ||
methods similar to the single file cases. | ||
|
||
.. autoclass:: serpentTools.samplers.SampledContainer | ||
|
||
Detector Sampler | ||
---------------- | ||
|
||
This sampler extends the |sampler| class for reading detector files. | ||
|
||
.. autoclass:: serpentTools.samplers.detector.DetectorSampler | ||
|
||
.. autoclass:: serpentTools.samplers.detector.SampledDetector | ||
|
||
DepletionSampler | ||
---------------- | ||
|
||
This sampler extends the |sampler| class for reading depletion files. | ||
|
||
.. autoclass:: serpentTools.samplers.depletion.DepletionSampler | ||
|
||
.. autoclass:: serpentTools.samplers.depletion.SampledDepletedMaterial | ||
|
||
|
||
.. _sampler:: | ||
|
||
Base Classes | ||
------------ | ||
|
||
.. autoclass:: serpentTools.samplers.Sampler | ||
|
||
.. autoclass:: serpentTools.samplers.SampledContainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _welcome: | ||
|
||
============= | ||
serpent-tools | ||
============= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters