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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for curvepipe-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563f6553dc30120260fd49cb336955e9102d6d8a28eb1afdda4787275f003ec2 |
|
MD5 | 14e537c40b0ec24074fee7a7007dfb65 |
|
BLAKE2b-256 | 42ee3ede79f0b374774a818ac38239fb9f0f185838241ed58ccd64309e705a8f |