Metadata-Version: 2.4
Name: hdecompose
Version: 0.1.1
Summary: Hydrogen decomposition to HI, H2.
Author-email: Kyle Oman <kyle.a.oman@durham.ac.uk>
Project-URL: Homepage, https://github.com/kyleaoman/Hdecompose
Project-URL: Bug Tracker, https://github.com/kyleaoman/Hdecompose/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: numpy
Requires-Dist: astropy
Dynamic: license-file

# Hdecompose
Decomposition of Hydrogen content of simulation particles into neutral/ionized and atomic/molecular. Implementations of Blitz & Rosolowsky (2006), Rahmati et al (2013) and Springel & Hernquist (2003).

**Installation:**

From pypi:
 - ``pip install hdecompose``

From github:
 - Download via web UI, or ``git clone https://github.com/kyleaoman/Hdecompose.git``
 - Install dependencies if necessary (see ``setup.py``), some may be found in other repositories by kyleaoman.
 - Global install (Linux): 
   - ``cd`` to directory with ``setup.py``
   - run ``sudo pip install -e .`` (``-e`` installs via symlink, so pulling repository will do a 'live' update of the installation)
 - User install (Linux):
   - ``cd`` to directory with ``setup.py``
   - ensure ``~/lib/python3.7/site-packages`` or similar is on your ``PYTHONPATH`` (e.g. ``echo $PYTHONPATH``), if not, add it (perhaps in ``.bash_profile`` or similar)
   - run ``pip install --prefix ~ -e .`` (``-e`` installs via symlink, so pulling repository will do a 'live' update of the installation)
 - ``cd`` to a directory outside the module and launch ``python``; you should be able to do ``from Hdecompose import *``
