Skip to main content

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

ltd_rust-0.1.5.tar.gz (5.3 kB view details)

Uploaded Source

Built Distributions

ltd_rust-0.1.5-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (996.6 kB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.5-cp310-none-win_amd64.whl (118.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

ltd_rust-0.1.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (441.5 kB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

ltd_rust-0.1.5-cp39-none-win_amd64.whl (118.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

ltd_rust-0.1.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (992.8 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (441.8 kB view details)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

ltd_rust-0.1.5-cp38-none-win_amd64.whl (118.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

ltd_rust-0.1.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.5 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (442.1 kB view details)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

ltd_rust-0.1.5-cp37-none-win_amd64.whl (118.1 kB view details)

Uploaded CPython 3.7 Windows x86-64

ltd_rust-0.1.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.6 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.5-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (442.2 kB view details)

Uploaded CPython 3.7m macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

File details

Details for the file ltd_rust-0.1.5.tar.gz.

File metadata

  • Download URL: ltd_rust-0.1.5.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.12.20

File hashes

Hashes for ltd_rust-0.1.5.tar.gz
Algorithm Hash digest
SHA256 70bb9b12f72b5506e80fb105e8e4a023f9d7217efc6bc1ae6cb7f51f8f4a0dbb
MD5 018159f3410b7a2e72d47bc4fa1462f5
BLAKE2b-256 d3b3dd7b97fcff225ccc03251f37046edb5d2ae34f5263995ed0b95b9a67f3f2

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2a1dc9637116b72e6287c92b62dd758a079f2241b6433b77fb6797c238213be8
MD5 158f21535bf5f6f9d55f905c84ad6a15
BLAKE2b-256 afef5f1a16101be267edbf0358c5c45a97d42d114b45bd8c373197087d8db060

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 09bcf6269b4f3afa9bb2411dd3e3123689a2621a2e847184d49ad3671cfe7561
MD5 e4ac77e38b8200edf0da206608290e19
BLAKE2b-256 09466d2783ddb5a43a727d76bf414c013979a5cfbfc0131bcbc1b861c1da43d8

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 8ffc6518d478abee19c04861a203197333e2d5a311f3cc9174196ad44c34ca38
MD5 7bd15eeaf8eee2283e94cea069f6d351
BLAKE2b-256 df0cce5b6289a43dc4618d79cdc476b13ad812ead1cbe444dacf1e2e9da1b3fa

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 33a273aafdf65264ac645b94d10d5151b5634cf30e2b68413e87ec34d107e83e
MD5 bd26eb541b5e431a41d1969c8cbf3c59
BLAKE2b-256 77cf5095e360545f7e40e594a669aea16519446bd5940fcc8870d619a6a77e89

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 fac62aaedcbd2ae754c09426ffb540ce3275a4bb059710c10b197e375e43d04c
MD5 04579bf90b731d74f9fad5b82e924058
BLAKE2b-256 5fb81a8dd1ffd042a411b50ba16f0ef0dc915112ebe208c5ecfa07e18b630ae8

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 aa103c4328496aa132da20cbff2e01d81395de559db7483a0aca73982cf90a57
MD5 1a6dbabd0085ee5528dd0b1936819bec
BLAKE2b-256 a99ec2b2ee4585339878bc8561b6bccdc4d2aceacc72b6ea5234429db018975e

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e22778619795bc870bc2e4be4e51159b6ba6b466a7cfce0b9f3d9dabb71d7660
MD5 d0fa349d22e7a1bc653fd09804ae94e9
BLAKE2b-256 6f337bd2d48980a7a04d9870f7c3b4f785813574bc9672a5d69add0d2ad3d4a5

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 379d5303beabcb9ee4e3661961a3f6e88c357e9d63b9d930ccd8b928ec4dc7da
MD5 0147be3af940dde594abf0122aa99419
BLAKE2b-256 dffc19ae1bdb0c17042477a443116ec5e44e29c4e880ec2a7aec566e95b89d0f

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 49fc1b50de9b714e21e1cd7507b38b605bdbb164d089ff412d3131ba631f2d20
MD5 7284e109c5fcd382b506793f68e1a53f
BLAKE2b-256 2cf2a95c66898c5932d3019d3bb371099977d059a88835aa87ba81aef3bfd780

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 afedf2bb764268de79ba2ad1e9af5807d2454ed8506b86b2eef60376d60ddcfc
MD5 d498c6a02fc965da1e8239c0baa77b9d
BLAKE2b-256 e185144fd8bb88c0528074551b9ac6e03a4200110127a95e0cda55cf980a6eba

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 61810bbb006fc85c2b6e99a6e0771d037b876430a9ae03922ddff0111d38fa83
MD5 12c6b9276f56f5d76c4027ef544608c2
BLAKE2b-256 128faffb04acb3c1eed3f8f4b1c80d0fef992809de33338f1f10aa87079773e8

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 ff83070b7dbf95b1fffea2ef96e6861f9afbe2a086cdba3875a3ee712b2945b7
MD5 59ed887c8b6add203afc5d2d8d9a52b2
BLAKE2b-256 36f45e676f2062772389b74c0f7b704123a3b2ff66647af4743b2ee8e8639b60

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 98763f28b305d0fb0c89573ac9966ab948423e6875953755a715e97aa21463b9
MD5 7e1c4dd476081ce6277d2e461500ad34
BLAKE2b-256 888f09338681fa7140dc7335f55c04d3d530b0d6098a2055480c078a085548d2

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.5-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for ltd_rust-0.1.5-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 fd4eada03a02d6440cf3c31524c53c530292a195a236cf5c55b8602af0cce521
MD5 5617500d12e515e67b5438c45dcb4620
BLAKE2b-256 c34f32af17e3ffaea8e937f1c44fa14b8b6417ea11d2e9de4ed8b8489c0bb743

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page