DrumCorr is a Python project for calculating auto and cross correlation based on the Obspy library.
Simply clone the repository and run the main file:
# git clone
git clone https://github.com/ZiCode0/DrumCorr.git
cd DrumCorr
# create python virtual environment
python -m venv .venv
# enter venv, linux:
source .venv/bin/activate # windows: .venv\\Scripts\\activate.bat
# install dependencies
pip install -r requirements.txt
# run script
python main.py
- Enter virtual environment:
source .venv/bin/activate
- Prepare data folder as in example.
Place data files with template, marked with+
in file name. - Place and edit configuration Json file in this one.
Example can be found here: example/config.json. - Specify the config file when running program.
python main.py -c data/2011-09-06/config.json
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.