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

Uploaded Source

Built Distributions

ltd_rust-0.1.3-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (977.9 kB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.3-cp310-none-win_amd64.whl (117.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

ltd_rust-0.1.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (975.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (441.1 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.3-cp39-none-win_amd64.whl (117.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

ltd_rust-0.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (975.3 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (441.3 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.3-cp38-none-win_amd64.whl (117.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

ltd_rust-0.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (975.5 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

ltd_rust-0.1.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (441.7 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.3-cp37-none-win_amd64.whl (117.7 kB view details)

Uploaded CPython 3.7 Windows x86-64

ltd_rust-0.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (975.5 kB view details)

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

ltd_rust-0.1.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (441.7 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.3.tar.gz.

File metadata

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

File hashes

Hashes for ltd_rust-0.1.3.tar.gz
Algorithm Hash digest
SHA256 41dad2a3ec018e3e5dcbb058ad81b0d6906c43c7bbcc059814ee2f340c95ad80
MD5 81856ed9f8b5f8034ca7e7bdd1e122b2
BLAKE2b-256 ab5ab6c4fe5d000e20e505a737b7ab5f3efe4c0ef6de8c8437ef482784962c83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 612292ab4b4a62de35a021c013012e312d3205df86be129fa67492b8d9f487d4
MD5 c187018d1e723262c95cae6f3a12c101
BLAKE2b-256 ed6068a8c6c7bf519e927260193e3535b93424da1fb61883c78c47771c03297e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 04c6b6a7e31a0711fa21409dee51035d00313ee08ed9fa8ca86bcf1b98fb7498
MD5 cc592a8dff974b449a17e093c43572f1
BLAKE2b-256 f1d19ab90820328e1564b6fd3086c2e15e528728543baf90683cf82773d9e9b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 01297ea2e967fdb0fe370dfb12aaff37ed3c256ed82d57b07c925425aec31eab
MD5 345de0836addb77d97dc2de50facb7e6
BLAKE2b-256 b7f96f42514689485c0823552a5bb29a7e5aa66340aa3d22a5d52f3f0444e952

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.3-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.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b56a519145f31ac553a729420bf73cbe528b4893e04f558269469410f7573909
MD5 169c2d9f8d25565177ca313a4397f41e
BLAKE2b-256 ea5a08bbd9086cbd67629355a45bebb763a754fc1fba0690c05688ff7f610bac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 b32694e8e8e5141d89c62ad0696c4ce03e049a53c7eeaee755e864e9edb0a671
MD5 7639b7131f3c55a9234ce5a958c695b2
BLAKE2b-256 0af10b59a751c49b75d0cb771234b0ac03084a5e305a4953bb0cdcbe89d440d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cd21c248c7bac54135086bcfb262a881f43bab32272f67943a50a97391b12da2
MD5 18bd210aa8cf105da6e2ee19faa8199c
BLAKE2b-256 51b0cf230610233e4af05ff25564bb941b62fc77130a236c80ffb3fa6200dd06

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.3-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.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d9d9db94cfe27ef6a2f437a17fa222ac0424b5af8f53832d3dd1b11d58cd40f2
MD5 0d3adbfab6159758b85dcf4f163d6b6d
BLAKE2b-256 64e1470ffe305bec4f27a8a94cc3725b0b64a1382cac6f7d4790b0ceda199214

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 7adf18ed6e62a730e07643e8748f04964dc7c516b9f93a8c406ffe52a09e305b
MD5 9ccbde30c834f4e00ce243088abe90e7
BLAKE2b-256 3952993e8f656b3741d979460bde2a42770c96a4fdf4f25c71a3bab26be9747d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cc7fb6fd694c6e58b59e097639d16f89f7f9ad258ae871be8a134c0244012a82
MD5 a5aff157c92ba29ba5db748e44575671
BLAKE2b-256 72a3ea62fdbcac40470b445cc7071b8089e3609c485800ebbcf6451b4dc948da

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.3-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.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9b57be155ad628d4c3796c9b73fba7f874ebb67f7ae10c2020075a8526cf26b8
MD5 ada749eac2fc58d2e69e3f66a9028b60
BLAKE2b-256 ee0bd912ea2df576dc5f6abb5caa1ada95bd8284703c96b9d2be7d5e319afbf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 7bd1a9b397dcbc335255422a43aad74441ff3a5152b1996592b33b3ecf7e6c96
MD5 8510aa366c8c9a28c7d137074b1d6aaf
BLAKE2b-256 3f610e83811dd33a2e7ab68a42cb110f709e52d0ea3b2e673436d23de090ada0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ltd_rust-0.1.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ff8c19cdf71920d95d4331bf094cbbc2572bdc47a8fff4945dbd102c5421aeaf
MD5 f79efe8ea0108d8468764736fee07810
BLAKE2b-256 199cb746df7670c0c569949633cc8472df1db49555a799dff365b075e0f8811f

See more details on using hashes here.

File details

Details for the file ltd_rust-0.1.3-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.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a47115b1d1976f7dc206da18fa26921efc709af97429f8814fbde72c89689c42
MD5 1c77f242d367f45831e696adeb62771b
BLAKE2b-256 9c97a01a9fe5969be34c68b13726b434f4d7fb2b534bc80eb42de226235be850

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