Linearizator is compatible with Python 2 and Python 3.
What can I do with Linearizator?
Solve equation of line using 2 points
Use solved equation to linearize values
Installation
You can install or upgrade linearizator with:
$ pip install linearizator --upgrade
Or you can install from source with:
$ git clone https://github.com/RDCH106/linearizator.git --recursive
$ cd linearizator
$ python setup.py install
Quick example
---------------------------------
from linearizator import linearizator
# Initialize linearizator object
lin = linearizator.linearizator(x1=6.4, y1=20, x2=16.8, y2=85, unknown="y")
# Linearize
lin.linearize()
# Show equation of line
print(lin.pretty_equation())
# Calculate the value of a point
print(lin.calculate(6.4))
# Generate inverse linearization
lin.inverse()
# Show equation of line
print(lin.pretty_equation())
# Calculate the value of a point
print(lin.calculate(20))
Metadata
Release files for linearizator 0.1.01
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| linearizator-0.1.01.zip | 3.5 kB | Without provenance | Details for linearizator-0.1.01.zip |
Release files / linearizator-0.1.01.zip
| Download URL | linearizator-0.1.01.zip |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60d906f1516303d0dbbc702839205c8f5043ad2fe9118ca3503d42387e7dbcd3
|
|
BLAKE2b-256 checksum How to use checksums |
ba29e72e46876c54a59c905f8f0ac8c09763eb1b6e87fceb9a62bcd937964cbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for linearizator 0.1.01
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.