Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

nomonosound/numpy-rms

Open more actions menu

Repository files navigation

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.10, 3.11, 3.12. 3.13, 3.14 os: Linux, macOS, Windows

$ 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.7.0] - 2025-12-27

Added

  • Add support for Python 3.14

Removed

  • Remove support for Python 3.9

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.

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.