Skip to content

AntoineBellemare/biotuner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biotuner_logo

Biotuner

Python toolbox that incorporates tools from biological signal processing and musical theory to extract harmonic structures from biosignals.

PyPI Documentation License GitHub stars

🧬🎵 Visit the documentation page

Installation

To install Biotuner, follow the steps below:

  1. Create a Python environment with v3.8 using conda:
conda create --name biotuner_env python=3.8
conda activate biotuner_env
  1. Clone the Biotuner repository:
git clone https://github.com/AntoineBellemare/biotuner.git
cd biotuner
  1. Install the package:
pip install -e .

Simple use case

biotuning = biotuner(sf = 1000) #initialize the object
biotuning.peaks_extraction(data, peaks_function='FOOOF') #extract spectral peaks
biotuning.compute_peaks_metrics() #get consonance metrics for spectral peaks

Biotuner_pipeline (6)-page-001

Peaks extraction methods

biotuner_peaks_extraction