This repository holds scripts to analyze Cyclus' output and to convert it into nuclear fuel cycle metrics.
Cymetric is available on the same platforms as Cyclus: Ubuntu and Max OS.
First, please check to make sure you have all of the dependencies.
- Cyclus and its dependencies
- matplotlib and matplotlib.pyplot
- PyNE and its dependencies
PyNE is what the Cyclus project uses for its nuclear data, and many metrics in cymetric depend on it.
Building from Source
Cymetric can be built from source by first downloading the code by cloning the GitHub repository:
$ git clone https://github.com/cyclus/cymetric
Then build and install to the same location Cyclus is installed:
$ cd cymetric $ python setup.py install --prefix $(cyclus --install-path)
Next, run the tests to ensure everything is working properly:
$ nosetests -w tests/
Installation via Binary
The latest released version of Cymetric is available via Conda. After obtaining miniconda by following steps 1 and 2 here, Cymetric can be installed by the following command:
$ conda install cymetric --yes
The tutorial and the API doucmentation can be found on fuelcycle.org in the User Guide.
See the examples directory within the main cymetric directory to review an example of how an analysis may be carried out using cymetric's capabilities.