Skip to content

Decomposition of hydrogen into neutral/ionized and atomic/molecular.

License

Notifications You must be signed in to change notification settings

kyleaoman/Hdecompose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Decomposition of hydrogen into neutral/ionized and atomic/molecular.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages