Installation
============
Installing with pip
-------------------
These instructions cover installation with the Python package
management tool `PyPI `_.
``Python3.8`` or higher is required and no support will be provided for ``Python2``.
The latest version can be installed directly grom github:
.. code-block:: bash
$ pip install --upgrade https://github.com/AlanLoh/nenupy/tarball/master
To get the latest release (may be lacking the latest features):
.. code-block:: bash
$ pip install nenupy
Updates need to be regularly check for while this package is still in developpment:
.. code-block:: bash
$ pip install nenupy --upgrade
.. note::
There is no support for a ``conda`` insatallation yet.
Installation on nancep
----------------------
.. code-block:: bash
$ python3.8 -m pip install nenupy
or the current 'beta' version hosted on `GitHub `_:
.. code-block:: bash
$ pip3 install --user --upgrade https://github.com/AlanLoh/nenupy/tarball/master
.. note::
You would probably have to update some packages:
.. code-block:: bash
$ python3.8 -m pip install setuptools
$ python3.8 -m pip install --upgrade jupyter
$ python3.8 -m pip install --upgrade --user nbconvert
$ python3.8 -m pip install h5py --upgrade
$ python3.8 -m pip install ephem --upgrade
$ python3.8 -m pip install colorama --upgrade
$ python3.8 -m pip install traitlets --upgrade
$ python3.8 -m pip install healpy --upgrade
$ python3.8 -m pip install nenupy --upgrade
$ python3.8 -m ipykernel install --user
$ python3.8 -m pip install jupyter ipython
$ python3.8 -m pip install /databf2/nenufar/workshop/pygsm/PyGSM/ --user
To execute a notebook:
.. code-block:: bash
$ export PATH=$PATH:~/.local/bin
$ python3.8 -m jupyter notebook --browser firefox
Dependencies
------------
* `numpy `_
* `matplotlib `_
* `astropy `_
* `scipy `_
* `healpy `_
* `reproject `_
* `numba `_
* `numexpr `_
* `pyproj `_
* `pygsm `_
* `dask `_
* `astroplan `_
* `mocpy `_
* `pyvo `_
.. note::
To install PyGSM, follow the project instruction on their `github page `_.