Getting Started
Installation
We recommend using a virtual environment to manage dependencies. Follow these steps to set up your environment:
Step 1: Create a Virtual Environment
python -m venv rdmpy_env
Step 2: Activate the Virtual Environment
On Linux/macOS:
source rdmpy_env/bin/activate
On Windows:
rdmpy_env\Scripts\activate
Step 3: Install rdmpy
pip install rdmpy
To install in editable mode (for development):
pip install -e .
Verify Installation
After installation, you can verify that rdmpy is installed correctly by running:
import rdmpy
print("rdmpy version:", rdmpy.__version__)
Development Setup
Please read the How to Contribute guide for the contributions welcomed. If you’d like to contribute to rdmpy or modify the source code locally, follow these steps:
Step 1: Fork and Clone the Repository
Fork the repository on GitHub
Clone your fork locally:
git clone https://github.com/your-username/rdmpy.git
cd rdmpy
Step 2: Create a Development Branch
git checkout -b feature/your-feature-name
Step 3: Install in Development Mode
With your virtual environment activated, install the project in editable mode:
pip install -e .
Setting Up Your Development Environment
To set up a complete development environment with all dependencies:
# Install core dependencies
pip install -r requirements.txt
# For documentation development
pip install -r docs/requirements.txt
# For testing
pip install pytest
Running Tests
Run the test suite to ensure everything is working correctly:
pytest tests/
Next Steps
Please refer to the User Guide for instructions on how to download, preprocess data and use the analysis tools. For contributing to the project, see the How to Contribute guide.