Skip to main content

With Curve Pipe you can process curves in a pipelike syntax with using pandas or numpy.

Project description

Curve Pipe

CurvePipe is a curve-processing package designed to efficiently manipulate sets of curves without using dataframes or arrays.

With CurvePipe you can transform curves in a readable pipe-like syntax, which makes it not only suitable for python-beginners. Curve Pipe is perfect for professional engineers that want to write efficient scripts in a few lines of code that are maintainable and do not require a lot of documentation.

Example

The following command scales the x vector by 2, adds an offset of 20 to the x vector and computes the logarithm for each value in the y vector.

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

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.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

curvepipe-0.0.1-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