Installation#

Pulsarbat has the following dependencies:

  • Python 3.9 or later

  • Astropy 5.2 or later

  • Numpy 1.23 or later

  • Scipy 1.10 or later

  • Baseband 4.1.1 or later

  • Dask 2023.2.1 or later: with Dask Array.

Released version#

To install the latest released version of Pulsarbat with pip, run:

$ pip install pulsarbat

If you don’t have pip installed, this Python installation guide can guide you through the process.

Development version#

To install the latest development version of Pulsarbat, you can clone the public repository and install the package:

$ git clone git://github.com/theXYZT/pulsarbat
$ cd pulsarbat
$ pip install -e .

The -e flag installs the package in editable mode which allows you to update the package at any time via:

$ git pull

Testing#

Pulsarbat uses pytest for testing. You can test the development version of the package from the source directory with:

$ pytest