No project description provided
Project description
This is a rust implementation of the downsampling alogrithm Large-Triangle-Dynamic. The algorithm was described in the thesis "Downsampling Time Series for Visual Representation " written by Sveinn Steinarsson. You can find his thesis at https://skemman.is/handle/1946/15343f.
The code is losely taken from https://github.com/janjakubnanista/downsample.
This was a fun projet for me were I was able to implement the algorithm in rust and also publish it as a python package.
Usage
from ltd_rust import downsample
import random
length = 1000
x = [i for i in range(length)]
y = [random.randint(0,1000) for i in range(length)]
x_down, y_down = downsample(x,y,100)
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
Built Distributions
File details
Details for the file ltd_rust-0.1.2.tar.gz
.
File metadata
- Download URL: ltd_rust-0.1.2.tar.gz
- Upload date:
- Size: 30.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db8345a073591cef32d29ed538dd6b4255bfe283f47fc297f619db1c3c5c7c4b |
|
MD5 | 3a631f316a4009161011bac4047bb97d |
|
BLAKE2b-256 | 987407af9a8a51916a4c4abd1dfd5db4149b124b7e6e975b6fcbc001726a930b |
File details
Details for the file ltd_rust-0.1.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 977.8 kB
- Tags: PyPy, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a78e082116aeea1be5b834eaefca01f0a96a216bd9120ac7bc045d1846d8170d |
|
MD5 | c55204bd52e34cf2c68b77d19c6a5878 |
|
BLAKE2b-256 | 37f9fed7c369dcb43da2c9f5f960ae8f494fc1a19653feed5ae5e357194f584a |
File details
Details for the file ltd_rust-0.1.2-cp310-none-win_amd64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp310-none-win_amd64.whl
- Upload date:
- Size: 117.6 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06949b8232080cf7efe2ef69159f25f5dcd03ff73961129e1bd56c29beb1421 |
|
MD5 | 2e9c549cb4539ff6150255531daf914b |
|
BLAKE2b-256 | 799cf111bd511012f2481fb7638ffaed134c3955b6b25456d6cf7ceb6dc313e5 |
File details
Details for the file ltd_rust-0.1.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 975.0 kB
- Tags: CPython 3.10, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7701a59a5aa7efa2a7d1616ad295788905a6a956b5eda8a64a4cab159dedb3c2 |
|
MD5 | 0163704101cb2f0a297022d95f7f63e6 |
|
BLAKE2b-256 | 381fed0dfac58dff4c63f053db2b9805f4dc9eb921bbd028a7b0e5f657682fa8 |
File details
Details for the file ltd_rust-0.1.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 441.0 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5333c232d0dc28a947f5175e38d92b134cd406dacf4596cbd745a7beeb62c8ca |
|
MD5 | 2079dfb6a0d973b16fd96d8347a7bcfe |
|
BLAKE2b-256 | 780e089deaad14cda2e2300a37f5e627bd270a25ca40d50a6649fa1bd5b549fe |
File details
Details for the file ltd_rust-0.1.2-cp39-none-win_amd64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp39-none-win_amd64.whl
- Upload date:
- Size: 117.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a1993d863e0c3e462fb9f248487377db921b92c2d5be3a63fcd0d6c32ee4155 |
|
MD5 | dc60f9224ec2e4239a5c7a4fcff0f5af |
|
BLAKE2b-256 | 5391e4e02d1821e3a72fab612db0e2b96e27ee40fed7b750d4f3081a88e1588b |
File details
Details for the file ltd_rust-0.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 975.2 kB
- Tags: CPython 3.9, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3110f47bd180435eb98d7b374d36c95eb3bd1d8115253689485b2a138b7e2f7 |
|
MD5 | 6602b7016d30cece5789884210199c9f |
|
BLAKE2b-256 | 5da4e74a54b89d15c48827c12e4f6bfefba2b1b9387f44be24ac9337ff0bc6a8 |
File details
Details for the file ltd_rust-0.1.2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 441.3 kB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5600b572eb911223e86cb8e1a7c9a9971c2b8588cb19202db25942ddf7fae2d1 |
|
MD5 | 38b619058b90c3ece5f1340c05f03eb7 |
|
BLAKE2b-256 | 1f7822ab330d6b1bd36b9713418094d1da9b8e2983946a4fe513658c2ec2a697 |
File details
Details for the file ltd_rust-0.1.2-cp38-none-win_amd64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp38-none-win_amd64.whl
- Upload date:
- Size: 117.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00ef237de128a0a9cbadf3370b0553f956b42215aa7c7979f99c0af2c0aba78d |
|
MD5 | dbe5c32a3e3fbb5295150b905b281a92 |
|
BLAKE2b-256 | 807468ad5eec9f4b6d8007f325fc950c2054f1e382d5b7e81dd1aa9d83ac0309 |
File details
Details for the file ltd_rust-0.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 975.5 kB
- Tags: CPython 3.8, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbb6466309d2b2db4d1e64cb98ba4542fd938ed64fded06e05ddb8c1792c518 |
|
MD5 | 42476285b5a78bcf5445f5bed3ae07e2 |
|
BLAKE2b-256 | 7f334a3f36538376d53f3799eb600537e467eedb866d3ba7d67014b05483222d |
File details
Details for the file ltd_rust-0.1.2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 441.7 kB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee6299f67741ef0c4b327d591c9c2cc0371419f9794016db34166402781678ca |
|
MD5 | fdd1e17319d1d41fb6e92814b1c94afb |
|
BLAKE2b-256 | 2b93aad2499ab595cbd60fda6328d9ea3f7c38bcabe49571ab65c1a0da744c97 |
File details
Details for the file ltd_rust-0.1.2-cp37-none-win_amd64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp37-none-win_amd64.whl
- Upload date:
- Size: 117.6 kB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b96063eb2996f1ce23228b99c33b759273efc5a062b4317bacd06ec9a0804fb |
|
MD5 | 3b2e297b5d1b7f6381a60d75faadd3b5 |
|
BLAKE2b-256 | 6cc328f8c1009a487d6930d33e2009aa1eba1c9d17b4d2b13730715cde5d712e |
File details
Details for the file ltd_rust-0.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 975.5 kB
- Tags: CPython 3.7m, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5742e1fbcbaff18ef4b1057d82212275574d93d2f351a4a5160ded2e8711c52e |
|
MD5 | 00360831818f02c4a81a6c77936477db |
|
BLAKE2b-256 | 01d8fd068f3bcee1db7f7aac9169def9ed7960bd94f9620d5dc1641840b3c732 |
File details
Details for the file ltd_rust-0.1.2-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
.
File metadata
- Download URL: ltd_rust-0.1.2-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 441.7 kB
- Tags: CPython 3.7m, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01d4f7fe6a22e26c1e12cad745c735501b587cca0f8644b39a733b9ed9618c86 |
|
MD5 | 0274d093e4d8c54cf1c27b9b6ae726af |
|
BLAKE2b-256 | b6842b00c9c93e2462127b0d2f128f72ce25e3990a5d728eaf9981f5c138df24 |