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.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distributions

ltd_rust-0.1.4-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.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.2 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.10 Windows x86-64

ltd_rust-0.1.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.4-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (441.6 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.4-cp39-none-win_amd64.whl (118.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

ltd_rust-0.1.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (992.9 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.4-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.4-cp38-none-win_amd64.whl (118.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

ltd_rust-0.1.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.4-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (442.2 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.4-cp37-none-win_amd64.whl (118.2 kB view details)

Uploaded CPython 3.7 Windows x86-64

ltd_rust-0.1.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (993.7 kB view details)

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

ltd_rust-0.1.4-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.4.tar.gz.

File metadata

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

File hashes

Hashes for ltd_rust-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f1a79b544138476202858886f249eac16735de54eb6b7f470dc7291c01ddcc2b
MD5 457a0d04f711c8302e4d48ede4bee357
BLAKE2b-256 39c5fcef80c7b61c5668f4a50dc13bb2620f47a0661bdffd70b4e9387e2aef1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 86e33bada110069f540af715d0deb1a349c51dbd9a8530afb97a5287c35d37ba
MD5 89ed46591dfd4ae4543c7a22a19f1ef6
BLAKE2b-256 d82b2d13a6a1111b732b839b3985cae943295454cc70af53c0b27a0c4f1bff37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9c93bbe2a6ba9e76dcce2c1bc356d267bfa1ae01ca96ce9643892ec14eac015c
MD5 3bcc884f4f2d1d42b20c254bf122a000
BLAKE2b-256 9f140c6e560e08b62c2e4e3383b5acc8a5d970636921b7804cc16c53f052614d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 eca4a8f235839593e236a5e83262f21b2031b56a85585eca750fefdcd81a3bef
MD5 04062590e7ea9753ddc2caef98c00a5c
BLAKE2b-256 868420d16511ac837f9c5a23518da1a49a722b486a27c2218667532560cad554

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5806ed291d0ce1570af64021dcfe2485a5f8fd01acca0811e274613861d96eb3
MD5 1b422bfe44eca5eb4ade5867e7d0afcc
BLAKE2b-256 466bf1fe10b95c948558490138ca14a67073df08595359e0e5257b2ed31a65e6

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.4-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.4-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 57aa79ea83defbcc22fdaf9f392ad832eb78b7e6b86218988cde8f40e45f3234
MD5 0a50ddaca192d301e64b435205fa5ced
BLAKE2b-256 65194f1e02d5111e568553645934c14123d38fb30e8dc0ba2a47c5bdd95ccb62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 f6537611815404aff0f749505f18a66a2efec895f959647bd8e02e7f2607d5a4
MD5 a0b8d3bc86fb8f8ba34bb015720a2f3f
BLAKE2b-256 2715d2ec4141af86cd589525d62d65351abd44f480ebe02d248397b0163abb53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 430a022b8bd0b2ac73664faa35b8c701c0c4e230af8a44d63205bf23099a6150
MD5 0ea00544d644615eb3bb1f9de49ea6ee
BLAKE2b-256 5527cd170f787db4225fc51082c55e75e26b152dd7360d17cb39e9d05085e74b

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.4-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.4-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 66272ae8bb4cfdd9e7edcff1fdb0be58d169ed9b7654ce6ea12e9d20ea7f101d
MD5 b5e73355c74df3f8fe4576f2d9b26aee
BLAKE2b-256 b03066ca6f15e88a6a1214b8128a7d2e58d791128fde699d6796375c83b14870

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 bc1d674052e3ac805d48d26683014b4254146448dfbed061e04992c20a2e51a4
MD5 35e9a6ca3a9f7a96cc2ec6400a97cf41
BLAKE2b-256 e3f0b848ef0802582793609ecf4187dda23cdd0ab4560709022efc5d56ef6034

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b71103afc0a92eaeac4fde822d7878609d36aa2df8aec40b267e3927db15f398
MD5 748151282b121568982c1f0dce615d0e
BLAKE2b-256 f9811fa5827a527e1b642c78674a55ce3d6b2dcaf6bd9b8487ee60805ee7d5e2

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.4-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.4-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 4af805da1cfafe05d6c1c436dd7900cf85ffe454020157be7333f5b2d9aff592
MD5 23ca74c9d020ffb28f4aed3d89e9f703
BLAKE2b-256 b66a862c253dc325c4a6a6679ce6cc08217925215854985334eb6f83e9996635

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 974a021836282c91703838a3285edef46a4997cee28f5af7451a0a634e68fe44
MD5 d0f502cb7f59e01cac77b4378b391590
BLAKE2b-256 1200ad453153dc8f08779894755d3e72b23842d8ea51871aa1ceda6917c56d50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 917ae15757fd4c4852c2e820be8bbb4eedd27c8667bbc9d739a46fb7d6752af2
MD5 4a7b3b0890196bdd3862992d25bc1d18
BLAKE2b-256 f86b3d967b5a58384915e7d5ad6bdc58308ba631d0b76c17384fd5967707807c

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.4-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.4-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b9d838d1e1d0e170d71c64bd5c4cac9cb8051aba07e74528628d20687604601d
MD5 536ac1948d86745629527fe7bb2c5725
BLAKE2b-256 e5c239ee5800ba4c8b7a019bccf4618dc5ea3a4ae8de6b8206ef7f4297218f6c

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