Skip to main content

Hydrogen decomposition to HI, H2.

Project description

Hdecompose

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

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 *'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdecompose-0.1.0.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

hdecompose-0.1.0-py3-none-any.whl (20.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page