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
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
Built Distribution
Hashes for curvepipe-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84862b2c871255726ac6004dc906a4b73bb59eb4b0b182c5c74e0e3f420a7c35 |
|
MD5 | 91bd516b37b99f452dafefafa8f534da |
|
BLAKE2b-256 | 9ce960073471ccca4354707494c0a39b02f0d527cc7a186910865fcb1514cbd6 |