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

Uploaded Source

Built Distributions

ltd_rust-0.1.6-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.6-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.6-cp310-none-win_amd64.whl (118.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

ltd_rust-0.1.6-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.6-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.6-cp39-none-win_amd64.whl (118.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

ltd_rust-0.1.6-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.6-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.6-cp37-none-win_amd64.whl (118.1 kB view details)

Uploaded CPython 3.7 Windows x86-64

ltd_rust-0.1.6-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.6-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.6.tar.gz.

File metadata

  • Download URL: ltd_rust-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 8fb67104d9431c52f50b0b06803b05c2047bf1703987f91a66d6a3961e1d1510
MD5 128abe5f87c2f4eac2c5adf685f39784
BLAKE2b-256 6c8d843c06475b7195bd3ecf365f137a1cc7538a406926a939e29d1b513e7d47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9acc19c046f99c27f5614f99299ba319cae645251180fbd1a7d4481cbd7fb319
MD5 f030d8ec2244fb9bfd060fdea8969bc8
BLAKE2b-256 8ecd85c76a09cc77cc9a787e09f33bc06049d83c3d14545a53024cc79e927194

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6986dc404356ab33bc2d649ba2117ba9f3f9d0ded33964c4e734057aff5ecbd2
MD5 f48cc8db9d275229d3c367603d871490
BLAKE2b-256 5ba80e2c07fda51c52e747531e48bc8f4aca4aa6120bf443305f349792751912

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 6608a24d7c8cbb06bd6c65dfe99997e93361cea234904f770e33129525854234
MD5 6bc60f288c1df13a78e13002cce621b0
BLAKE2b-256 48e4b3f1545fd27c01a5dba2c2aa467d217d6572ec6a8cedf3f8f6d913e36b06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 90e9ddd22cc63d3dbe44409d919fde84db000a3621e3cdac11886054a36d04b1
MD5 7e023ded428e6ec9678daaea1917432c
BLAKE2b-256 209901fbd4e7b98ef7936335000055b97b0ff992edff1aff49dd4e32bc0b949c

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.6-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.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a9ab39eba6585ec88591f69e1842a761ed6928fe54d8bac7f0d2996cadcdd3b2
MD5 9a3efc6a311fa1baa92cf7c3286172d0
BLAKE2b-256 0f072a8a3c25b46a15e677015e4320fea08b4e049efdc1c99b206a2d797ababd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 d9d92aa1a5e46b76d09d5fea4a94fff00ce8eb4ad9727d6257ccc77443827d8c
MD5 8070bd77bee052585160a4a3d6149544
BLAKE2b-256 70a90be5b204f490eb45f5e9a2fa8d9bc14abf17a572e51cf296240e027f6d19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f09155807cc44791ddc7ac16a7dab4615ab8cbba385da83ef3f805dc92f6a3a7
MD5 604198ddaca595900e9d42bdf2652fa8
BLAKE2b-256 43d75f51717c5d8b58bd415cc46491606888abdca6aa7a3f16668538594346cb

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.6-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.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cf83ec89a8c2731159aa5fb0717c90aa26e83471ae190bfd319f396ef5edfd69
MD5 d35683db7814a051505eb6d9e0e823f2
BLAKE2b-256 fea2779426c4f64cb511cf8d6824d75424bdfcd9bb9763598d27990656eceebd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 87080e40dd2be156b7e3ba205a16d3b8c90258966af278d27dd925841deab2ab
MD5 4066b45b3b45a1446c52e26e76b5fc1a
BLAKE2b-256 0bab7d920658bb5305221087f1f4563fb39cb416a9c331876012ff140dfc5052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ada2d90899b6afb0406837d583ae741bfe340f573ca3c94c3640b89faf0d91e5
MD5 c47d371a09d1ea710d8e9e4a4fdf6a3b
BLAKE2b-256 0a7a51028f8c3f60f53bb2ee931ec589fc132e193e103132ec7678e40c40e60b

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.6-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.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 7983e99635bb110fc8fe968789a7a63d06f399c3e1591afb4df4da066ac49765
MD5 d08352a6d5f43f5439c7ab32f5291b52
BLAKE2b-256 af876b4f066e876d24bcb5d9c65da66dacf16147c239da44c1d13c967e7a644e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 8f5e2bb269a440787d005d91586a372b96b72068c54ee95e6f2928dfc0bcdd0f
MD5 13dc69cfdfde57e398d9010651afd382
BLAKE2b-256 c4f4735a8e6224a86de29482d9a835da95db341a8fd504c5aec6a69e33c7bf31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2fd4fd363cc302e6a50277a418742d90704ce4ca981b972dbc71d0ccce0b8285
MD5 e8334309fb64a31e12972be14089f7c9
BLAKE2b-256 4219f9a4aa6bdaa9bd842954509c42d8dc039b39b131de2a1b2b980e14977070

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.6-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.6-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2aeb5ef2328b61c6286a60d1b6c16578b05e978039dfe6addc7037c5016c47c6
MD5 ead7b99b8a12f75d64bc24faefbe0e90
BLAKE2b-256 d00a7d5458ba74825d89bbfb3df4a49884eb016d08f478f66dcfa7b7c51f5ece

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