New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

snreval

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snreval

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

  • 1.2
  • PyPI
  • Socket score

Maintainers
1

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:

  • file: The path of the .wav file
  • STNR: The NIST STNR
  • SNR: The WADA SNR

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc