Installation ============ Requirements ------------ Strict requirements are: - ``numpy`` - ``scipy`` - ``yaml`` - `numba `_ - `mpytools `_ Extra requirements are: - `pycorr `_ for 2PCF computation (installed without Corrfunc ) - `cosmoprimo `_ for cosmology tools - `abacusutils `_ to load AbacusSummit simulations - `idaes-pse `_ for inital sampling when performing HOD fits - `scikit-learn `_ used for gaussian processes regression when performing HOD fits - `colossus `_ for mass concentration relations Pip Installation ---------------- Simply run: :: $ python -m pip install git+https://github.com/antoine-rocher/HODDIES This will install dependencies, to generate mocks. To install all extra requirements use: :: $ python -m pip install git+https://github.com/antoine-rocher/HODDIES#egg=HODDIES[all] To install only a part of extra requirements you can do: :: $ python -m pip install git+https://github.com/antoine-rocher/HODDIES#egg=HODDIES[cosmodesi] # install ['pycorr', 'cosmoprimo'] $ python -m pip install git+https://github.com/antoine-rocher/HODDIES#egg=HODDIES[fit_tools] # install ['scikit-learn','emcee','zeus','idaes-pse'] $ python -m pip install git+https://github.com/antoine-rocher/HODDIES#egg=HODDIES[colossus] # install ['colossus'] $ python -m pip install git+https://github.com/antoine-rocher/HODDIES#egg=HODDIES[abacusutils] # install ['abacusutils'] ``Pycorr`` and ``Corrfunc`` installation ---------------------------------------- HODDIES provide two-point correlation measurement based on ``pycorr`` which use a specific branch of Corrfunc. ``pycorr`` is installed as an extra dependency in **HODDIES** without two-point counter engine, so fairly unusable. ``pycorr`` currently use a specific branch of Corrfunc, located `here `_. Details on ``pycorr`` installation can be found `here `_. To install ``pycorr``with ``Corrfunc``, first, uninstall previous ``Corrfunc`` version (if any): :: $ pip uninstall Corrfunc To install ``Corrfunc`` if ``pycorr`` is already install : :: $ python -m pip install git+https://github.com/adematti/Corrfunc@desi To install ``Corrfunc`` and ``pycorr`` if both are not install: :: $ python -m pip install git+https://github.com/cosmodesi/pycorr#egg=pycorr[corrfunc] Git installation ---------------- :: $ git clone https://github.com/antoine-rocher/HODDIES.git $ cd HODDIES $ pip install -e .[all] # install all deps from current dir in editable mode