Installation
============
Using pip
---------
FULMAR can be installed conveniently using ``pip``:
.. code-block:: bash
pip install fulmar-astro
If you have multiple versions of Python and pip on your machine, make sure to use ``pip3``. Try:
.. code-block:: bash
pip3 install fulmar-astro
Requirements
------------
FULMAR has the following requirements:
* `Arviz `_
* `Astropy `_ >4.1, <5
* `celerite2 `_
* `corner `_
* `exoplanet `_
* `Lightkurve `_ >= 2
* `Matplotlib `_
* `NumPy `_
* `pymc3-ext `_
* `TransitLeastSquares `_ >= 1.0.31
These should be installed automatically if you use ``pip`` to install FULMAR.
From Source
-----------
The source code from FULMAR can be pulled from `github ` :
.. code-block:: bash
git clone https://github.com/astrojose9/Fulmar.git
cd fulmar
python setup.py install
If the command ``python`` does not point to Python 3 on your machine, you can try to replace the last line with ``python3 setup.py install``. If you don't have ``git`` on your machine, you can find installation instructions `here `_.