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.1.tar.gz
(9.4 kB
view hashes)
Built Distributions
Close
Hashes for numpy_rms-0.4.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0398de7dee2516bf2de3ef594967da2e5784d7607723a62328cb5f41d22e46dd |
|
MD5 | 0d65685757a4a24accbab7abcceb7ed6 |
|
BLAKE2b-256 | 60739f57c287ad8869898f5af1fae6844ca16552d685f92c1d5376553c00ec9e |
Close
Hashes for numpy_rms-0.4.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4f68be1f6e0782b5938def71d9f903d45522595e256fe8fc1034f84ad0f12a |
|
MD5 | 426ef1340eee837609ed4ac0323584cc |
|
BLAKE2b-256 | 048664d6797b3750e93f5792a1a222eea62e26f89b31b60221e39da9a8ddd4a8 |
Close
Hashes for numpy_rms-0.4.1-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05afa2c2598c8565c578d7e714b701e1e23ccaadb8f6eebb309c1f89a1ce678a |
|
MD5 | 3d3ca3f68d7087e2378bf3aa77335755 |
|
BLAKE2b-256 | 9f0486871a90eef534e9666c20887590c1c159103890bbd89ddb87b05ec3058c |
Close
Hashes for numpy_rms-0.4.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 170a998a98111f8480fe3d9602952e44056f9baf23a1b7c172e239a70c94f9c4 |
|
MD5 | 764dab4c744d724459f8390572be286b |
|
BLAKE2b-256 | 64f155dc164b661946b2ad99f9761624d3854f8bc47a7272fba12d3defe9b548 |
Close
Hashes for numpy_rms-0.4.1-pp39-pypy39_pp73-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d0ec44486267d0c0ef9d4477496a9a33ded4c6fc288faa190bce6389e6b003 |
|
MD5 | 33754c99d51d00d7a542a56dd2924493 |
|
BLAKE2b-256 | 8cd38b585217b45ce97dcc0a1ca30ea56f00dd7f899a9e51918b8d8706243387 |
Close
Hashes for numpy_rms-0.4.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6674c07b78df122c3ba6d0a9e9661120735123668110aa74c8323bc66ad9da29 |
|
MD5 | ed2022451a294f9223bc612399ec8e54 |
|
BLAKE2b-256 | a29101e7d80897916a40ce96f2c5af0de770e1fb10ec7a80abd1db44e496185e |
Close
Hashes for numpy_rms-0.4.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7efe11905e7502593f4dad9c3cf13eb52e28f6d90e54621f62ca383f1eb18df1 |
|
MD5 | 2c4deee3a154fba2cbb36ab95019c979 |
|
BLAKE2b-256 | 6e00c46c2114b399e3aa20659c50e0c905829cf89849657161db5c703d435b97 |
Close
Hashes for numpy_rms-0.4.1-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aeda920b42bfe8d97f88ee9e826733a680425a25a63a3c386311da2c89d6982 |
|
MD5 | 83faef538e9d50a4df80479aad588137 |
|
BLAKE2b-256 | 1a55f14ea30450ac19d2ace4c575536367f53969a2a9051937976d6465d491b0 |
Close
Hashes for numpy_rms-0.4.1-pp38-pypy38_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b864ce7d9f3f381971246c006a8c68254f2705b945a440b143a4df2cb3b9e2 |
|
MD5 | 658c7e81b81fce4b1161e24ba761b824 |
|
BLAKE2b-256 | cd954dd7982b57315140f8fcd9c51dd62907951676de246aac5d6277e362359f |
Close
Hashes for numpy_rms-0.4.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b74958d44d478015b82c67ceeb7e298f9b57f0b5a3b01f67975591a8b7cd5f3 |
|
MD5 | 3a5301d28647c3885a0f2bc2300f24d2 |
|
BLAKE2b-256 | a007234a64885362c55c2e152228d6ed9e50f80914d0e6322f8f3173ba7bb7d5 |
Close
Hashes for numpy_rms-0.4.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e458eded96a4a130692252a4f64ccfd486d1d87d0953ef603caa5d331a468058 |
|
MD5 | e8292e09632819b2f5642c3348102121 |
|
BLAKE2b-256 | cc9e8eabfcbb47533cbc1a375feb2c458bed46439de71a25f1f30655d808b183 |
Close
Hashes for numpy_rms-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edbd7807398f7c088f9fa771a6bdce9ae97b40c86b56b8906eea07001dfa8404 |
|
MD5 | 7753b85bae848c13bf0771fde0f48e28 |
|
BLAKE2b-256 | bb707336a2519b2bcf3537e68a3bd5ac515e5e703c1d7b3eb023da3e7728744b |
Close
Hashes for numpy_rms-0.4.1-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0917081af8bb110cfcaf4f4dd3c69118228dead02a3d0fe5959c2f770fb8d1be |
|
MD5 | 5d7594724220c7a6401007c49e6db157 |
|
BLAKE2b-256 | 7c3bacc4d09e16108f1dc3c0288e0d467ac73268eca4d1599b94a55c64767a97 |
Close
Hashes for numpy_rms-0.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd2567bed91bb9e02cba78910bc244afc2f06ed68f742f0bad9eee0c8a72cceb |
|
MD5 | 68cf937637e164b920fdbc8e46095a66 |
|
BLAKE2b-256 | 8ff6a85ba834c463d7db090ec127d808462d4bf16339e7f8c7ef5a5a43d93dec |
Close
Hashes for numpy_rms-0.4.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94f1cf7dc4a9bcd3740a1e513e01dc1486869af792d025d59ab38937ed7337b1 |
|
MD5 | 3ef0d476c7b47c047e09deced70a1b96 |
|
BLAKE2b-256 | a5c243ac6cbf41f0dbbb107c49f9a97b54c8443b3a3f1edf40068c8fda154ac2 |
Close
Hashes for numpy_rms-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861bea01708d6cfb7a3bb68cd41ff3cc6aa868b8bd5b7c6ae518d414bd94efc3 |
|
MD5 | fbea4775760f6e5a7856622fa3499a48 |
|
BLAKE2b-256 | bf4c26bf2a8ca1165f2b8cd1e6bdcc484c5e1e945593920739e88e0cb1cf5e47 |
Close
Hashes for numpy_rms-0.4.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fe1afb0d22169254f7b20977b054130debae0ec5c4b647f8bf0d71a87f4ab6e |
|
MD5 | b21cdf017f6dc976ef5dd72749cb42e0 |
|
BLAKE2b-256 | 73c47de6da9dbadc2112e1d18dc1517aa2d3d74010b0da732d84408aa49da29d |
Close
Hashes for numpy_rms-0.4.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36610bd4dfb6f1f1dfc396ccc766c087d6aaeab309c2834831c0a4b48222d6b7 |
|
MD5 | c0fee8594b1cc7aa1d77e2950cb57886 |
|
BLAKE2b-256 | fe4f4cc535f9890ddeba22aaed692f64fb56dc9ee200c79f91ee7593a2fe337c |
Close
Hashes for numpy_rms-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb9d73ad6c79ee45398002b010bdd56183a4f206f51079ebc346423c585b653 |
|
MD5 | bcf92d3570998c0f3121faeb3b5a2f62 |
|
BLAKE2b-256 | f61021cb66ea49d79adab829eff3b630c84b5ad3f0d18b746293f4f99914fdcc |
Close
Hashes for numpy_rms-0.4.1-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac32814ce90c6d069e1f11c85fc72bb0f3358d86679debdfd2faceac8c503bf0 |
|
MD5 | 30bd14a0028f3ae9c348f0dea27459ff |
|
BLAKE2b-256 | ff07eae59a47643ca1f8281b9db2d93ff70e478d7767e89d70dd8c7c080ef984 |
Close
Hashes for numpy_rms-0.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf81aefbe36c5f1f3fd06a99b7fcf08fc08ce7b8413d72aa8babc4c69fd0c03 |
|
MD5 | 71ac9c202ea5ed5035d7d1b86ea51d1f |
|
BLAKE2b-256 | f79cc79f6d6985423a8a6661ba190366fe5262737d454a51684ef77ef924b9e0 |
Close
Hashes for numpy_rms-0.4.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c37bc26e066016a1661697a0483a5323ac53ba5328a5d5f4986336983d7dee9a |
|
MD5 | 2dd086eea02170263ebd08441a039d9f |
|
BLAKE2b-256 | 861394f509bb052932065c3dfbc542576a1709ebb2106a33b062f9d3c7ad5350 |
Close
Hashes for numpy_rms-0.4.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a465ec8ad8616c055b034e6e4cf1b51958e862d2b3afbc61d27de0b032300e28 |
|
MD5 | 4954d23df7d99f6250ff45dd19113a5f |
|
BLAKE2b-256 | cc5628f234dc492790478a9e977ac777f4f3d705f8af3dc8077962c7c745bcce |
Close
Hashes for numpy_rms-0.4.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5b9264a667f5345e04eae8a657d2267671f00d0bdd1127a92efeed61afc3186 |
|
MD5 | 8c2aab016a2c2472c37656772956a7fe |
|
BLAKE2b-256 | 37cd15ed052c028dbd1924cf01413a3f3df17bffca3b844fda731850afd5b05a |
Close
Hashes for numpy_rms-0.4.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076b5301f70146b1015ff7d854ecdbe077b76f19fe17df3c1d66127b889c67f4 |
|
MD5 | 79c326e9fcb23d3b9dede28010c9f36f |
|
BLAKE2b-256 | 73a83482b8af229ef69a200acdf39ad72a0e2bbbed5e5602df1ad381be9e51c3 |
Close
Hashes for numpy_rms-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c01f1e0ce97fee934633425af46172404530ac432dc4d048499711782910c3a |
|
MD5 | 744463a161e064fbf87119422b3e0db9 |
|
BLAKE2b-256 | df9962fc5eafa8c7e1b6ef65d9bcb5aa90bf6a58d1bcfcc70de07edc033b32e1 |
Close
Hashes for numpy_rms-0.4.1-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416967bea666d6c45fe55f9af680dc9aca3a951053ac559a5710240309044b0a |
|
MD5 | 2e7c606d980b23728e4c0e87fa32211e |
|
BLAKE2b-256 | dd07847256d877cb5d1cc58024e3ae2bdb0d0903e3ce7124f015df8e2e6c5214 |
Close
Hashes for numpy_rms-0.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e6d28f5b78dc54e1331429f3f7e70e0e132313d2e67be4d5ca55df921ab9e6 |
|
MD5 | bd84c16c22a9b6fe0b85cab34f0e40df |
|
BLAKE2b-256 | 289eb53eb977e0af1e1267639df79f02458c4f0faec90e35e0384645fbbdf125 |
Close
Hashes for numpy_rms-0.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fffa2451c9fd9a87055a169baf39fc6bac846abbf976b8c2da880eff768a448c |
|
MD5 | d88a6221852c7a9340304b6879464067 |
|
BLAKE2b-256 | 4c0dc8bbfad8c93bb67c0675a9bca47a7c3545fde31c97a090500e218448b21f |
Close
Hashes for numpy_rms-0.4.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ffe33e20a50cbf6dbbb076aa114ae91b25bb2888e18eb2c0fd16316f943092 |
|
MD5 | f7488865737bf716024d1bed0d07fdb7 |
|
BLAKE2b-256 | 84acc05e2dc643f53362dbca3d0fbeb1e5c6fae368ea1c8f4ff7effd90441728 |
Close
Hashes for numpy_rms-0.4.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 566ef218fe97fcf2cfea0b1979d87375792f5377aa7b9bcd35858732de1736bb |
|
MD5 | 2f6e13cdaf28424b0a80268d559ecec4 |
|
BLAKE2b-256 | aec5b5a2beccbd4cc0ea17c47663162921c8195a239a7ddec6afa8dd246ebddd |
Close
Hashes for numpy_rms-0.4.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5020738ee8c40c3d4d83de6c1f5ea40ea85d4904d4434508fb23dfaf009ac66a |
|
MD5 | 485bff4689f36200c568335fea32f4a4 |
|
BLAKE2b-256 | a78c7f6dbfa8bd9e4567fbb9d2b53178f8c8bd711e4dff67d77116b678f3d1f4 |
Close
Hashes for numpy_rms-0.4.1-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba358e007eea06c1f576182047798b2374b5291be0d11e80ef72ca533cb596e7 |
|
MD5 | 78eba754aa2b9225f74a0f4f66a1fe71 |
|
BLAKE2b-256 | 632e7b200c6d1f28544d23794c3d578db1ab3a2bb49f028b689faeea10fc3557 |
Close
Hashes for numpy_rms-0.4.1-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77414437baeb724abc6c6f3760358e6fb6180f5126eb86d8c27edb7c0c159d89 |
|
MD5 | 5cdb9a736b734ab4a519a70322881ff1 |
|
BLAKE2b-256 | 90aef8d734d201e5841a10929f0e44e8a5e84f551224a1505d0e619e015f3358 |
Close
Hashes for numpy_rms-0.4.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8455b560c8c1e27a5aca6c2cfbd81decbe18c30036c63108d712944d46b03f9 |
|
MD5 | ed59c06f0a00414128453908e5d4d46f |
|
BLAKE2b-256 | aa4d59334d6baef99022dbf13e990f283fb4ed75b84fd65be7a580af59b51745 |
Close
Hashes for numpy_rms-0.4.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb566ed71277966df28334daebfe9412e256e3f7c5f0ac8b9af2703bdb91fe69 |
|
MD5 | 818ecfa9b974e9bf4d1e62b3a121e439 |
|
BLAKE2b-256 | b8332ff1dd4c672a88507ce4a42d0d4a65af3deac02e7a8f4a2d02846610e1ef |
Close
Hashes for numpy_rms-0.4.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e817ccaf0836a2f7fb6d94edbbf8d74ec0c83e72b0402d957a44792c850a067 |
|
MD5 | c96cd2b15ac8a40e7b796e3053b3e787 |
|
BLAKE2b-256 | 5e9d4611315aff37a9b130ca50e195cccf50bcb42e12059d00a825b81ababb4f |
Close
Hashes for numpy_rms-0.4.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d369a03f0222fdc7b0a6e5beb36c417630ed03655a556be7482f2bfa6428539 |
|
MD5 | 70c69ea40045edea117b18faef97c391 |
|
BLAKE2b-256 | a61c8ea99379617f888810c19884c861903ccee77a37ac9fce6eecfb8c72cc2f |
Close
Hashes for numpy_rms-0.4.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99adba59391728f69973c86832bef9599c6eb1dc368684d878ee17180c586058 |
|
MD5 | dbf91ac8de86df180ef01540acbae651 |
|
BLAKE2b-256 | bf45ced16b22d607045de881a7b252ac97956f7e7091c98451191ae426de63b7 |
Close
Hashes for numpy_rms-0.4.1-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbdec92b96a8794ad977f2af60a87f4b8bb44d00b27d3cf3b8d365d1501f55d1 |
|
MD5 | 334f24fe333cf44b7d51c9863d7ffc8f |
|
BLAKE2b-256 | 7b70573e3898af6962442e1350f4f8af4278699da6fc5bcea7e41c4f8d041123 |
Close
Hashes for numpy_rms-0.4.1-cp38-cp38-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99a02e22b9d34e90cc06859da3784fa54f62900948f85d6babe3d37ce3a12348 |
|
MD5 | 17e2256177d56748ac54f18592789193 |
|
BLAKE2b-256 | f634f5069a0e7277caa5935ad881f476146962ca23f6518c6bde70ce9cff8351 |
Close
Hashes for numpy_rms-0.4.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b5b2fcca77ea2c36fdc7b8957878f7434f2c83cf1a0c2cdded9f94a6aac040 |
|
MD5 | ca956525ba4b8bdf04c4b6f865b02d3c |
|
BLAKE2b-256 | 0e0ce307c046fec551116644074872ad988406f761887f3e691a7bfbec5c8a7d |
Close
Hashes for numpy_rms-0.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b289007035ad41134529176df12a79ea97650f17ab345284666437b4cc874d |
|
MD5 | c377aa02a4102d1cb8507ffa0f1464eb |
|
BLAKE2b-256 | 0e5d67320b76f7ea7c22c0cab887aab6e2f3f575fdb2c678e98d1f274ad03e8b |
Close
Hashes for numpy_rms-0.4.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74eda46d15c74a6233f22fcaacf03733b8e300fa152bdd732a490963fa0a7d46 |
|
MD5 | e78f69f8344a5cb30670cf772c92eeb9 |
|
BLAKE2b-256 | eb089df1e445f60d30abb11846ead149068664cdac8f95df2bbedaf2a269ccff |
Close
Hashes for numpy_rms-0.4.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad5a06b081a76bf6c517282371921a8edd7ca3f6a1d6bd493b43ba4b32da9d7 |
|
MD5 | cb8021103478e44c91e855c04c558309 |
|
BLAKE2b-256 | 29c42e1ced15368f5940cf20f365a621051591f0903b52f771923621cc7a7f4e |