A fast python library for calculating the RMS of a NumPy array
Project description
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 contiguous 1-dimensional float32 arrays
Installation
$ 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.0] - 2024-07.07
Added
- Add macOS builds
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.
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
numpy_rms-0.4.0.tar.gz
(5.8 kB
view hashes)
Built Distributions
Close
Hashes for numpy_rms-0.4.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e48ec86ebb4694c76c7bab0c2036df77572f03159c56c8f3371b3d82ef3413 |
|
MD5 | fa6895dae8a4c187ad9b78928381c82c |
|
BLAKE2b-256 | 4609066497c9543b27eff83075bdd388916377356d6e94322fe5217b0958c879 |
Close
Hashes for numpy_rms-0.4.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dbf980ab93abeedbcd736709ec3fa1e3d5738b7eff49149eb0ee80d1c85739d |
|
MD5 | 568ef8bf29aa0c9c0fc5aadcbd5b4933 |
|
BLAKE2b-256 | 4f1a60d7a73ffe96c564681084af155625dcf394a44c1221633e10e3b976635e |
Close
Hashes for numpy_rms-0.4.0-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1246a41ddca72969fcdd44cc513e2698e781d5c605aa9f7c6c4ac7052b5ec1d3 |
|
MD5 | 1b0dc3e7a53c9e907191a496f93a97e2 |
|
BLAKE2b-256 | 2dd202641b5a1b7fcbe286a8e955d8c89b44729c1845e44a483d37f715802b38 |
Close
Hashes for numpy_rms-0.4.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15b53162ae39efebe125b8feb9e901ff043a97e7f75bb53dda4607046db97896 |
|
MD5 | ddc4373e4a6a8c94f33ce6f0e8609fee |
|
BLAKE2b-256 | 226cd30dc0883f1f2db317fe669f23a509b11aa1da59ba0476baee8264a7ec4c |
Close
Hashes for numpy_rms-0.4.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a3735e292f3fea93e7b33f4082f211ad10d64b41b964fd176ce6faf21964ca8 |
|
MD5 | db28584bb2328b41c53c366fbc8000c9 |
|
BLAKE2b-256 | b9c89b3dd2bd629f0b4e2154c39f5f5fa89c6698339d52d2522f8478dfbb02af |
Close
Hashes for numpy_rms-0.4.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65953029574df9d4674eaeb8605d912c41ebb3c2b3b13ebb211ae4aa60fec0b6 |
|
MD5 | df646bdd39d0104dc1c69aec0f3624ef |
|
BLAKE2b-256 | a252ce233ad3a271baa830b37c30e8065a89cb3bb0964fc13dcf9ba7d6e84da5 |
Close
Hashes for numpy_rms-0.4.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee62dca04117ab13b653fcbd157f420cf3b46a11e2c89d79d0447981d123291f |
|
MD5 | 55b88a1ce9dc48beb62a77ff0bbbe32b |
|
BLAKE2b-256 | 21366aa547d4b73f8a0431281ded44c9c453f058f8f6035cfbc540eb015f80d2 |
Close
Hashes for numpy_rms-0.4.0-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e9d2c818ef208e917815fb76b2144a68930d10b267c02d3d5afc3fbd2db9e0 |
|
MD5 | 597579f62ddf35c20f3fb77cb96de832 |
|
BLAKE2b-256 | c4a947a2f361f8926234555130d90c68d0c8bfca2048ced28afa685b9f5f9c25 |
Close
Hashes for numpy_rms-0.4.0-pp38-pypy38_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d523ceb11e09af19927fd25aeec2087813bad187cf819371d9d74e5a420b4922 |
|
MD5 | 02908ea20f2e4bd7cf1c72f231565163 |
|
BLAKE2b-256 | bb2f0b6cd54c2cb381fff4d64ca99273fab0717e0ce3918c1797875ec6672a96 |
Close
Hashes for numpy_rms-0.4.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122f844014ab3b5c601b16d1eaabd65014ae29db5d3def5ba733bef88d9e4356 |
|
MD5 | 52be0227cb50a2961aa1d53b70757132 |
|
BLAKE2b-256 | 1e514e7906714869d1cada5249d11a41ede9fa27be67150736a65d0b0e487e5f |
Close
Hashes for numpy_rms-0.4.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31d03e3194532c2c6decf58e851183baac70f11fe6f925a45e321d69b66857d9 |
|
MD5 | e32b7b0fbb1ece7dc8acd94c3c65d06e |
|
BLAKE2b-256 | 320763b10f312f31fe854cb4124abd81fdb49e3e3b36ce7873e340bad3ff9158 |
Close
Hashes for numpy_rms-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6c59610a38163ca76c17ad585b5dffb82b20a2304fc69ab6a4b2353f33b4d1 |
|
MD5 | 87846c96842a0191401cadc9e2aba07f |
|
BLAKE2b-256 | 332b94bd51d5aa112c42caac419a794c64ccff49f748bbe2061dd40fa9c94069 |
Close
Hashes for numpy_rms-0.4.0-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb4f1b05a93379f382ce9f7ebab83f075ad419c85d14fcf5036797996136e5e3 |
|
MD5 | 5a02d9b338b8c25f900fc8942ebfaa4f |
|
BLAKE2b-256 | 6fc856bf00ef3aea3100158cec92f3ad43fe9a489ada4badacd183b43427f390 |
Close
Hashes for numpy_rms-0.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f004167feb3b588583bb51b73f673b416e1d9f0f99500e1c014bb2d3725a41a |
|
MD5 | 5705d125192fa02a59c3784d3c7422df |
|
BLAKE2b-256 | dcb1198531306363705bc73a97017e32b522d378b89c101c8861b29415362a16 |
Close
Hashes for numpy_rms-0.4.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5166bfb41817c1ba4417a9c4ed8776edbc16c68c78cb96339a247e7e08b9c392 |
|
MD5 | 2bd84d612fc77f9cdf7b72d53917054c |
|
BLAKE2b-256 | c144d65a3d0ab83e3413fdf2d6da4d2651e90daf969417539be95b4edb9a7342 |
Close
Hashes for numpy_rms-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1901136edb460e3f30a5d73267dfac2edc260be4d135ed3770bf0a1d548236f0 |
|
MD5 | a968429e96b70f6fa0b2ab24909aeb97 |
|
BLAKE2b-256 | 1a7dc6e75180d9e9e3571c7fc64ddf930b38650731200a419dd263af056f744b |
Close
Hashes for numpy_rms-0.4.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef540b9bdb17c21e04b052772a1fe0a1fe50624c21cefc46ce852be15ef912e6 |
|
MD5 | 0dc8df064b90dc9315bf934a46d4c76b |
|
BLAKE2b-256 | 71386d95c149f51840da4316b624fb99deac537907f313ef269096a883059802 |
Close
Hashes for numpy_rms-0.4.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2a09a3fa61cf0476ab89106c911e4bbc6ec85886c6597ac46257fca5423e6d |
|
MD5 | 93ab8e72be13d73ac53c4734723dbad0 |
|
BLAKE2b-256 | 3c5811b453eb93c3a0a0c383007c85aec4d594e5a956d652568ab05b94a0b2ad |
Close
Hashes for numpy_rms-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c541ec1dac178976e37609df4cc5de528c51cd2982700e73fadde51e7d709557 |
|
MD5 | d63de489f591a2dba344bf7ad1c6b335 |
|
BLAKE2b-256 | 483d2fac95180214250bb217958d385ce2cd1caec732ce7568e0140ce3331a1c |
Close
Hashes for numpy_rms-0.4.0-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb1a814456e2efce09dcad7849c73518da7760095ea4848764010b07d4ce8de4 |
|
MD5 | 31f1ae0c5d244a5683e82f69184b3a46 |
|
BLAKE2b-256 | 2104316a0fe4c1701f79c6c3edfc77f5157adc3db70057aefb039702b57df8c8 |
Close
Hashes for numpy_rms-0.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494136a2b068b689b07f16a546885882d59f9446c7c0c4b05742a93e698850ac |
|
MD5 | 89e4190d77b6435494f8a1d9602f3bd4 |
|
BLAKE2b-256 | 98f455f40cbf01b3e6be69262a6d5450f0ff6c86d08786ed2214c5bd61d2f123 |
Close
Hashes for numpy_rms-0.4.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12320a3fdf0b53f61b503808f562c47dc6bec5893941671ec82bbb250e71af7f |
|
MD5 | bfba45be008c96be670f16787deb8c1f |
|
BLAKE2b-256 | 38a18295c83657a80533302ac9f5c4068a591cee825cbe3d85a727251adf487f |
Close
Hashes for numpy_rms-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d594b0ded9425082b40f4917f9777e1d0944de8bda1873ae62047de79c091a7f |
|
MD5 | 3fa3dc1e6b217276e27f4f89144ce658 |
|
BLAKE2b-256 | 9a285da45fe8576b8a92a59211c6c0157c0ead72fc673cbe2228615d0cadfc7e |
Close
Hashes for numpy_rms-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e655aef5682ef0996e6d199be14fa6bb09d51bfa5ea86adbd130b9b1eea7f674 |
|
MD5 | d8b1d6a06c173fed6824cea0014ae59b |
|
BLAKE2b-256 | 2b7098380dd9b4da9d1bf9053f5b26e84bd6763a5d223c2e721b080ee531aef1 |
Close
Hashes for numpy_rms-0.4.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d8d960a1bb7808443861b17b447fe2b35b5ee4255db388c22031e2684cd8b5 |
|
MD5 | da04391706b882a0339a23b0a645c164 |
|
BLAKE2b-256 | e05f8b5e0ec8008fece075614ea98b4a9fc14cbb67861e2e1cf7433b11688f7c |
Close
Hashes for numpy_rms-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 508ab908eac95d8d2d9ac0c3a3c40a93bd9b115dde3b7bc4bbfd457625f6e13d |
|
MD5 | c8f34f3dabe858d0ee8ac07808ac3494 |
|
BLAKE2b-256 | 1925dcb8918add955bbc8cc671c08b88a670a7f7693b3d3b0e3abad2eeb3ceab |
Close
Hashes for numpy_rms-0.4.0-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecca862197d37c5252f183f42692f6e22481ea285006fcaea1022a0493396812 |
|
MD5 | f207915943b3d48c5cee2582af214bfe |
|
BLAKE2b-256 | 9d788cdd73ccfc11382e18309ba90b5fe48c5b2ae7f26ee847517db0540a0585 |
Close
Hashes for numpy_rms-0.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3943ac1189de39d4466e468f73030b0a6ba15c8f85c7eb37e64c57981c041b72 |
|
MD5 | 213c16b12b508deefff4017fe0742955 |
|
BLAKE2b-256 | a0fb2f30d24e19a77788d36d3b2dc24eddcdb95c1314a77e70dd5bd97ac4fc31 |
Close
Hashes for numpy_rms-0.4.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc253bd5a59f5b72a779827c3e3391bbf92bce275120167ed50cfb47f89519a |
|
MD5 | ef5265e83e2bd827a45f3419c0fb8939 |
|
BLAKE2b-256 | df1a5bd9da70a7a5287335c5b620b9319b4ce38d54c5096a62c73347f6747234 |
Close
Hashes for numpy_rms-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bacb3157fa932d4717c2f3d6bc890a3a66f048df48f4caf0523f0293c21db97 |
|
MD5 | 7a61566b9851613901d1264ff4c6242b |
|
BLAKE2b-256 | 23e718b245ff1fa0db0d351d1b63ba46bb22878c392b7bd0a0b52087e695dab2 |
Close
Hashes for numpy_rms-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3686ab3505b54b5c3043513aeec4e20ec4b0bca5d6791582c54a561d5ee8e5d0 |
|
MD5 | 90a5cc0c7f113e35e5ff8378fe00360c |
|
BLAKE2b-256 | 1556d63dbc54845a9e09c6e9fec37a5d5158f6d687a3066a145a2c2c2fc085f5 |
Close
Hashes for numpy_rms-0.4.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b85e084fc04a6333cceb0d011d42909ee80703c856be2565c7a3e163b1d1f91 |
|
MD5 | 45f1d5b762dc6ea432b74bcded96bf38 |
|
BLAKE2b-256 | dab257ee66256e3f68157fdfaf5dc8d9f0f434ec56f18adb46ed6264fdeafa8b |
Close
Hashes for numpy_rms-0.4.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f3c84888c691075a8ce38cb8022a2b42ab9546bcc83a189515abbc77117842e |
|
MD5 | bb7e278166885e898b0f9d3ee1ee99f5 |
|
BLAKE2b-256 | 25a4bc2f3d7d10ea9948ee0b0a36c23b76f4d1d23ad759dbee7647bcd2eb1b8c |
Close
Hashes for numpy_rms-0.4.0-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d80be9a34a0fa597d19f67aad81e2b5cdb74b39dc52d1fb8f4c5cd01580ea56c |
|
MD5 | b30d76b0a498d4f6be703c602056174a |
|
BLAKE2b-256 | 06e57a102c43c50d84081ee8275466a0082252f2043f73787c648474337e13a6 |
Close
Hashes for numpy_rms-0.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d215c93178a8ec525ed90a30199c7a6f2aa87a70f3c2d52576b0eda8b3dead9 |
|
MD5 | 0647367653d058f61c5a0473ec9e39a7 |
|
BLAKE2b-256 | 299b9b43797ccacd9b9ec55df014f9d7a3166669308327127311f4a9dc5578f1 |
Close
Hashes for numpy_rms-0.4.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e91119b670dce7c290c0e766bd9f36febb3cc9c25c81f0527c32cc7bd850d75d |
|
MD5 | 777ecf4df00c58ceccfcbdb1ad995bc1 |
|
BLAKE2b-256 | ee0d9a07dc7b4bf74783212cc6bbe93eda7ec8c2189402d4c62333272d4e2192 |
Close
Hashes for numpy_rms-0.4.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a49137553614e11aaecf0a45893bdf225c1720d97fa517131e8c8cda740040d |
|
MD5 | b965f6f16a02a3f3c71b99b13163a7e6 |
|
BLAKE2b-256 | 0569911685332a4c57c36d8f832fcf4ee8ea6c38a3c6c785572fb6bac2ca3e3f |
Close
Hashes for numpy_rms-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08e6f4acdb1fea7e3cb0cf11633cc7c15d4d0ebea918c7fbb798f30cc1afb8b8 |
|
MD5 | 28a4cd3fe8f861c6ae851f4fd4577055 |
|
BLAKE2b-256 | 3f8df83ef83cce1e989bff37de117acffb1ec56073eaf559149484a9f3a8f478 |
Close
Hashes for numpy_rms-0.4.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805351d67d710d07c953a7f39a4dedddf1081e10953bad635d7b381c7ba4e826 |
|
MD5 | beccab0c89fda08edec86409e1bbc8dd |
|
BLAKE2b-256 | 38dbfd47b9ee0156b6b093a1679527d1167a6f8db89e755ffebde02ae7f3843c |
Close
Hashes for numpy_rms-0.4.0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5400e42d14a1f4210e1120a9f270b08381bf6f04518257ebc7c3c1b6169327d |
|
MD5 | 6d532ed16cd4ea1406b7b5c240a28936 |
|
BLAKE2b-256 | 2aba68905d1f18605f899ea382ad9d1c16e1ac768671df8ab4942d9d02a4edae |
Close
Hashes for numpy_rms-0.4.0-cp38-cp38-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984835c8a7fdb84dd2895b1a3665f39808ffb87e4325dbf2d56813eafb056752 |
|
MD5 | 1f82e2198793005c8df2396ec7bfc32b |
|
BLAKE2b-256 | f88510ff4cb7e72616d94886ddcc2e0a1cc923c05a54f05a054107d7c3253e55 |
Close
Hashes for numpy_rms-0.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99fdb750bafe8435450ffeb107a6d0a1997328252866bdfdc49cc1ee1d80e6f |
|
MD5 | 16e9116df4594e12f817587f9974ee3f |
|
BLAKE2b-256 | 682f3344a5678c0b885b0d3cd9b4b8cd9ff93a86ce2685a57efd96fb783e77b1 |
Close
Hashes for numpy_rms-0.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1e258bbd4cda6ddaa6351971a3be68af8fbb071613a50507798e706dbddd9a |
|
MD5 | 3df284e24f69d07a8bec15544f13027f |
|
BLAKE2b-256 | 68f9dbba2e630eea13e9fd7dcff3ab1c1f219dab26e2962fb83ec2f581d0e57f |
Close
Hashes for numpy_rms-0.4.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70882b1b1e0c76d159c3930c27c3e6328428e3f2a3c049a521c0e4757ecfd71c |
|
MD5 | 493e72c22560a559d5aff76fef657c30 |
|
BLAKE2b-256 | d727bd7154013faca350a8296906536079fb1f9de17eae33f5ec9fe4f6d55228 |
Close
Hashes for numpy_rms-0.4.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20f4c9fcd517dc0b0a299abde6a1239fd523dd9658c72373a700e11488220915 |
|
MD5 | e75e2f2445045e53430675da7263582c |
|
BLAKE2b-256 | afe9ab07954b164597e691a039de9f53910d90d4f24df4e967c7a97dd5bd6608 |