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
Prerequisites
Install the compiled version of SNREval.
Install using Pip
Install with pip:
pip install snreval
Build from source
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snreval-1.2.tar.gz.
File metadata
- Download URL: snreval-1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
285ab52a6457e147a557ef6df862e0d982d09e32c2ff03dd27ef0d201284f16b
|
|
| MD5 |
bdd7a969e0ac842246285e0b21dc4f81
|
|
| BLAKE2b-256 |
687162e947380a4326e134c078bb6bc70a3ca5e0028d920b5073622432e6c961
|
File details
Details for the file snreval-1.2-py3-none-any.whl.
File metadata
- Download URL: snreval-1.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd60084c9e8f362486349018ca02c8faccc73dd0db91c3060a2305a7579282f6
|
|
| MD5 |
bec793ab1b4d8905bdc5b41a97429088
|
|
| BLAKE2b-256 |
864f137d2c4e190a21efa349ccf5c2daa1eb43ee47d9e4d084f94a4bc0a9e56b
|