Skip to content

Commit

Permalink
Merge pull request #1 from willu47/docs-will
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 21, 2015
2 parents 919105f + 7597ad1 commit b41a4f9
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 20 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
##Sensitivity Analysis Library (SALib)

Python implementations of commonly used sensitivity analysis methods. Useful in systems modeling to calculate the effects of model inputs or exogenous factors on outputs of interest.
Python implementations of commonly used sensitivity analysis methods. Useful in systems modeling to calculate the effects of model inputs or exogenous factors on outputs of interest.

**Documentation:** [ReadTheDocs](http://salib.readthedocs.org)

**Requirements:** [NumPy](http://www.numpy.org/), [SciPy](http://www.scipy.org/), [matplotlib](http://matplotlib.org/)

Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import sys
import os
import shlex
import versioneer

# Work on ReadTheDocs.org
#on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
Expand Down Expand Up @@ -79,9 +80,9 @@ def __getattr__(cls, name):
# built documents.
#
# The short X.Y version.
version = '1.0'
version = versioneer.get_version()
# The full version, including alpha/beta/rc tags.
release = '1.0'
release = versioneer.get_version()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
48 changes: 31 additions & 17 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,12 @@
Getting Started
===============

Installing Prerequisite Software
--------------------------------

SALib requires `NumPy <http://www.numpy.org/>`_, `SciPy <http://www.scipy.org/>`_,
and `matplotlib <http://matplotlib.org/>`_ installed on your computer. Using
`pip <https://pip.pypa.io/en/stable/installing/>`_, these libraries can be
installed with:

::

pip install numpy
pip install scipy
pip install matplotlib
Installing SALib
----------------

To install the latest stable version of SALib using pip, run the following
command:
To install the latest stable version of SALib using pip, together with all the
dependencies, run the following command:

::

Expand All @@ -34,12 +21,39 @@ We encourage users use the latest stable version.

git clone https://github.com/SALib/SALib.git
cd SALib
python setup.py install
python setup.py develop


Installing Prerequisite Software
--------------------------------

SALib requires `NumPy <http://www.numpy.org/>`_, `SciPy <http://www.scipy.org/>`_,
and `matplotlib <http://matplotlib.org/>`_ installed on your computer. Using
`pip <https://pip.pypa.io/en/stable/installing/>`_, these libraries can be
installed with the following command:

::

pip install numpy
pip install scipy
pip install matplotlib

The packages are normally included with most Python bundles, such as Anaconda and Canopy.
In any case, they are installed automatically when using pip or setuptools to install
SALib.


Testing Installation
--------------------

To test your installation of SALib, start a new interactive Python session
To test your installation of SALib, run the following command

::

python setup.py test

Alternatively, if you’d like also like a taste of what SALib provides,
start a new interactive Python session
and copy/paste the code below.

.. code:: python
Expand Down

0 comments on commit b41a4f9

Please sign in to comment.