Rescalex
pip install rescalex
rescalex.rescale.Rescale is a python 3 class to implement rescaling of values. Input:
- data = an array of data (or at least a list of [min,max])
- method = rescaling method
- minmax = new scale [min,max]
- params = additional parameters required by some rescaling methods How to use (example): xd = [400.,800.] obj = Rescale(data=xd) to instantiate. By default, this will set method = 'linear' and minmax = [-1.,1.] obj.compute() to the transformation obj.model to show the transformation model newxd = [300.,350.] obj.transform(newxd) to transform newxs = [-2.,-1.,1.,2.] obj.invtransform(newxs) to inverse transform
Metadata
Release files for rescalex 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rescalex-1.0.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rescalex-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / rescalex-1.0.1.tar.gz
| Download URL | rescalex-1.0.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e57d5c42e333a1323d0bcb5d9fef73e663ea2bc5b0bac2d70854e8ca45664c03
|
|
BLAKE2b-256 checksum How to use checksums |
a0a55a50c53015c63303e3ac16678f35b87a228e3a834da978eee378534df8e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / rescalex-1.0.1-py3-none-any.whl
| Download URL | rescalex-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46b99763e5ae0348f3f4801821b753f78daa6fc34b1f5f99b4f6b2289f3db340
|
|
BLAKE2b-256 checksum How to use checksums |
9cd5205cffa2a0e6997ac87b785f2149e9765b7fc7c419101feefa0423bdbe5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|