Framework to simplify loading data from merger trees in John Helly's format.
- Download via web UI, or
git clone https://github.com/kyleaoman/simtrees.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)
- cd to directory with
- User install (Linux):
- cd to directory with
setup.py
- ensure
~/lib/python3.6/site-packages
or similar is on yourPYTHONPATH
(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 directory with
- cd to a directory outside the module and launch
python
; you should be able to dofrom simtrees import Tree, TreeTables
???