Installation
Using conda
enterprise is available via conda-forge as enterprise-pulsar.
If you use the Anaconda distribution of Python, we strongly recommend installing via the conda command:
$ conda install -c conda-forge enterprise-pulsar
From sources
The sources for enterprise can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/nanograv/enterprise
Or download the tarball:
$ curl -OL https://github.com/nanograv/enterprise/tarball/master
Once you have a copy of the source, you can install it with:
$ pip install numpy
$ pip install -r requirements.txt
$ pip install git+https://github.com/vallis/libstempo.git --install-option="--with-tempo2=$TEMPO2"
$ python setup.py install
If you want to run tests or do any other development then also run:
$ pip install -r requirements_dev.txt
Tips
If you have a computer with an Apple Silicon chip, see these instructions on how to install Apple Intel packages using Rosetta.