No project description provided
Project description
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
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
rescalex-1.0.1.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rescalex-1.0.1.tar.gz.
File metadata
- Download URL: rescalex-1.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e57d5c42e333a1323d0bcb5d9fef73e663ea2bc5b0bac2d70854e8ca45664c03
|
|
| MD5 |
ca04b27f647bf3bc654f4a3b7554b4ed
|
|
| BLAKE2b-256 |
a0a55a50c53015c63303e3ac16678f35b87a228e3a834da978eee378534df8e1
|
File details
Details for the file rescalex-1.0.1-py3-none-any.whl.
File metadata
- Download URL: rescalex-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46b99763e5ae0348f3f4801821b753f78daa6fc34b1f5f99b4f6b2289f3db340
|
|
| MD5 |
322a0dd4ea96598427242121c4bcd1ba
|
|
| BLAKE2b-256 |
9cd5205cffa2a0e6997ac87b785f2149e9765b7fc7c419101feefa0423bdbe5b
|