Skip to main content

This repository provides a small Python wrapper for the Matlab tool SNR Eval provided by Labrosa: https://labrosa.ee.columbia.edu/projects/snreval

Project description

SNR Eval Python

This repository provides a small Python wrapper for the Matlab tool SNR Eval provided by Labrosa: https://labrosa.ee.columbia.edu/projects/snreval.

Installation

  • Install the compiled version of SNREval.

  • Clone this repository and install the requirements and the Python package:

pip install -r requirements.txt
python setup.py install

Usage

The usage is simple:

from snreval import SNREval

snr_eval = SNREval("/path/to/snreval")

# Either with a single .wav file
df = snr_eval.eval("/path/to/wave/file.wav")

# Or with a multiple .wav files listed in a .txt file
df = snr_eval.eval("/path/to/txt/file.txt")

The result df is a pandas DataFrame with the following columns:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snreval-1.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

snreval-1.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page