MetaPulsar Installation Guide
Prerequisites
Python 3.8+
Git
scipy and numpy (assumed to be installed)
Installation
From Source (Recommended)
Clone the repository:
git clone https://github.com/vhaasteren/metapulsar.git cd metapulsar
Install in development mode:
pip install -e .
Install optional dependencies (for full functionality):
pip install -e ".[dev,libstempo,analysis]"
From PyPI (Future)
Once published:
pip install metapulsar
Verification
Test your installation:
import metapulsar
print(metapulsar.__version__)
Development Setup
For contributing to MetaPulsar:
Clone and install:
git clone https://github.com/vhaasteren/metapulsar.git cd metapulsar pip install -e ".[dev]"
Run tests:
make test
Run linting:
make lint
Troubleshooting
Common Issues
Import errors: Ensure you’re in the correct Python environment
Missing dependencies: Install optional dependencies as needed
Permission errors: Use
--userflag with pip if needed
For more help, see the troubleshooting guide.