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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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