Skip to main content

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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rescalex-1.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for rescalex-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e57d5c42e333a1323d0bcb5d9fef73e663ea2bc5b0bac2d70854e8ca45664c03
MD5 ca04b27f647bf3bc654f4a3b7554b4ed
BLAKE2b-256 a0a55a50c53015c63303e3ac16678f35b87a228e3a834da978eee378534df8e1

See more details on using hashes here.

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

Hashes for rescalex-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46b99763e5ae0348f3f4801821b753f78daa6fc34b1f5f99b4f6b2289f3db340
MD5 322a0dd4ea96598427242121c4bcd1ba
BLAKE2b-256 9cd5205cffa2a0e6997ac87b785f2149e9765b7fc7c419101feefa0423bdbe5b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page