.. boutpy documentation master file, created by
sphinx-quickstart on Fri Jun 9 11:14:58 2017.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
::
________ _______ _____ __________
___ __ )__ __ \__ / / /___ __/______ ______
__ __ |_ / / /_ / / / __ / ___/ /____/ /_
_ /_/ / / /_/ / / /_/ / _ / /_ __//_ __/
/_____/ \____/ \____/ /_/ /_/ /_/
BOUT++ boutpy's documentation!
=================================
Version: |version|, Last updated: |today|
Wellcome to **BOUT++ boutpy documentation**!
**BOUT++ boutpy** is a ``Python2.x``
package intended to provide some common tools required for performing Plasmas
Fluid Simulations with `BOUT++`_ framework. The **BOUT++ boutpy** in the latest
release `BOUT++ v4.0.0`_ is ``Python3.x`` supported.
**Download**
This repo is accessible on `GitLab`_.
**Bugs Report**
The most bugs and issues are managed using the `issue tracker`_.
All suggestions, comments and feature requests are gladly wellcome and
appreciated.
.. _GitLab: https://gitlab.com/conderls/boutpy
.. _BOUT++: http://boutproject.github.io/index.html
.. _BOUT++ v4.0.0: https://github.com/boutproject/BOUT-dev/releases/tag/v4.0.0
.. _issue tracker: https://gitlab.com/conderls/boutpy/issues
.. contents:: Table of Contents
:local:
Getting Started
+++++++++++++++
It's highly encouraged to use `Anaconda`_ as the python environment.
Before starting to use the tools in this package, some envrionment variables
and required packages are suggested to be set up first.
.. code-block:: bash
:linenos:
$ pip install boutpy
# if "IOError: Permision denied" occoured, try:
$ pip install --user boutpy
.. _Anaconda: https://www.continuum.io/downloads
User Documentation
++++++++++++++++++
The BOUT++ documents are available
`here `_.
The user manual for this python package is on `ReadTheDocs
`_
.. toctree::
:maxdepth: 3
:name: bin
bin/index
boutdata/index
boututils/index
visualization/index
Code development
+++++++++++++++++++
It's strongly encouraged to follow the standard Python style conventions
as described here:
* `Style Guide for C Code `_
* `Style Guide for Python Code `_
* `Docstring Conventions `_
You can use a code checker:
* `pylint `_
* `pyflakes `_
* `pep8.py `_
* `autopep8 `_
* `flake8 `_
* `vim-flake8 `_ plugin for
automatically checking syntax and style with flake8
.. _PEP8: https://www.python.org/dev/peps/pep-0008/
In order to facilitate documentation using `Sphinx
`_, the ``numpydoc`` extension is used
so that the docstrings will be handled correctly. The `User Manual
`_ and
`an example `_ of
``numpydoc`` conventions are available.
Useful python packages for Physics
++++++++++++++++++++++++++++++++++
* `astropy `_
* `spacepy `_
* `sunpy `_
* `eqtools `_
Tools for interacting with magnetic equilibria
Indices and tables
++++++++++++++++++++++
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`