Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

numpy-rms

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

numpy-rms

A fast python library for calculating the RMS of a NumPy array

  • 0.4.2
  • PyPI
  • Socket score

Maintainers
1

numpy-rms: a fast function for calculating a series of Root Mean Square (RMS) values

  • Written in C and takes advantage of AVX (on x86-64) or NEON (on ARM) for speed
  • The fast implementation is tailored for C-contiguous 1-dimensional and 2-dimensional float32 arrays

Installation

PyPI version python 3.8, 3.9, 3.10, 3.11, 3.12 os: Linux, macOS, Windows CPU: x86_64 & arm64

$ pip install numpy-rms

Usage

import numpy_rms
import numpy as np

arr = np.arange(40, dtype=np.float32)
rms_series = numpy_rms.rms(arr, window_size=10)
print(rms_series.shape)  # (4,)

Changelog

[0.4.2] - 2024-07-13

Changed

  • Optimize the processing of multichannel arrays

For the complete changelog, go to CHANGELOG.md

Development

  • Install dev/build/test dependencies as denoted in pyproject.toml
  • CC=clang pip install -e .
  • pytest

Acknowledgements

This library is maintained/backed by Nomono, a Norwegian audio AI startup.

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