Skip to main content

Efficient curve-processing package with easily readable syntax

Project description

CurvePipe is designed to efficiently manipulate sets of curves without using Dataframes or Arrays.

You can transform curves in a Java stream-like syntax.

The following command

  • scales and adds an offset to the x-values of the curve
  • computes the logarithm for each y-value
cpipe = CurvePipe(x=[0, 0.1, 0.2, 0.3, 0.4], y=[1, 2, 3, 3, 4])\
    .scale_x(2)\
    .offset_x(20.1) \
    .transform_y(lambda v: math.log(v))

The result is a CurvePipe-Object containing the transformed curve. You can acces the x- and y- values via the attributes x and y.

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

curvepipe-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

curvepipe-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file curvepipe-0.0.2.tar.gz.

File metadata

  • Download URL: curvepipe-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for curvepipe-0.0.2.tar.gz
Algorithm Hash digest
SHA256 00be2e50066d970b3f7f266f39678af92dcc1c661090e166e7bf3205162255bb
MD5 3186674af0a25ff17e614d98f547438c
BLAKE2b-256 89e9626db164ab27fe889f7300840788df9188b49264901739ec0d95a9569bf0

See more details on using hashes here.

File details

Details for the file curvepipe-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: curvepipe-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for curvepipe-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 563f6553dc30120260fd49cb336955e9102d6d8a28eb1afdda4787275f003ec2
MD5 14e537c40b0ec24074fee7a7007dfb65
BLAKE2b-256 42ee3ede79f0b374774a818ac38239fb9f0f185838241ed58ccd64309e705a8f

See more details on using hashes here.

Supported by

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