Skip to main content

AMIS Tool

Adaptive Multi-Interval Scale (AMIS) — normalization and comparison of heterogeneous metrics.

The AMIS method transforms raw values of arbitrary scale into a unified 0–100 scale, preserving distribution shape and enabling comparison of metrics measured in different units.


Features

  • 5 normalization models — linear, 3-point, 5-point, 9-point, 17-point
  • Adaptive model selection — models are enabled automatically based on data volume
  • Two working modes:
    • Full graphical application (GUI)
    • Standalone Python library (for integration into scripts)
  • Excel/CSV support — load and export data
  • Batch processing — process multiple files, multiple columns
  • Interactive graphs — visualize AMIS curves (via GUI)

Installation

pip install amis_tool

Requirements: Python 3.8+, numpy, pandas, scipy, matplotlib, openpyxl.

All dependencies are installed automatically.


Usage

1. Full graphical application (GUI)

amis

Opens an interactive environment where you can:

  • Load Excel/CSV files
  • Configure data format and scale bounds
  • Apply AMIS normalization
  • Compare two datasets (classic mode)
  • Process multiple files and columns (batch mode)
  • View distribution and comparison graphs
  • Export results to Excel

2. AMIS as a Python library

from amis_tool.core.amis_calculations import amis_conversion, raw_to_amis

# Raw data of any scale
data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Forward transform: raw values -> AMIS (0-100)
converted, points_coords, available_models = amis_conversion(data)

# converted['3_points']  - AMIS values for the 3-point model
# converted['5_points']  - AMIS values for the 5-point model
# points_coords          - coordinates of key points
# available_models       - which models are available for this data volume

# Pointwise transform (useful in batch mode)
amis_values = raw_to_amis(data, converted, points_coords, available_models)

Screenshot

AMIS Tool - Main Window Screenshot


Model Availability

AMIS automatically selects available models based on data volume. Each model requires a minimum number of data points and unique values:

Model Min. N points Min. unique values
Linear 3 2
3-point 6 2
5-point 10 3
9-point 20 5
17-point 40 9

Models that do not meet the thresholds are still listed but marked as unavailable (need more points).


Project Structure

amis_tool/
├── run_amis.py              # Entry point (GUI launcher)
├── setup.py                 # Package configuration
├── README.md                # This file
└── amis_tool/
    ├── core/
    │   └── amis_calculations.py   # AMIS method (pure functions)
    ├── gui/
    │   ├── main_window.py         # Classic mode (2 files)
    │   ├── batch_window.py        # Batch mode (multiple files)
    │   ├── dialogs.py             # Dialogs (format, distribution, comparison)
    │   └── widgets.py             # Table viewer widget
    └── utils/
        └── helpers.py             # Utilities

License

This project is licensed under the PolyForm Noncommercial License 1.0.0.

  • Free to use for research, education, personal projects, and non-profit organizations.
  • Commercial use requires a separate license. Please contact the author at 62abc@mail.ru for commercial licensing options.

See the LICENSE file for the full text.

Metadata

Release files for amis-tool 6.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amis-tool 6.0.1
File Size Uploaded Provenance Actions
amis_tool-6.0.1.tar.gz 73.8 kB Without provenance Details for amis_tool-6.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amis-tool 6.0.1
File Interpreter ABI Platform Actions
amis_tool-6.0.1-py3-none-any.whl Python 3 none any Details for amis_tool-6.0.1-py3-none-any.whl

Total release size: 146.3 kB

Release files / amis_tool-6.0.1.tar.gz

Download URL amis_tool-6.0.1.tar.gz
Size 73.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eb6f9aaed3f48c8efe5cb0846dd1c1907e73538685ce56cba400663277e3d989
BLAKE2b-256 checksum
How to use checksums
eabf97416679b46ee751cd0e8cb7694195047dd62ce1fd2cdd4537818becb05c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / amis_tool-6.0.1-py3-none-any.whl

Download URL amis_tool-6.0.1-py3-none-any.whl
Size 72.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b86d4e686e2d2e50f317fbba4fa8648bffa9f816fbbee3c40d336540bb6ddff5
BLAKE2b-256 checksum
How to use checksums
2d23045bee7f9d55b0e83327cb53ebb271a800ca46688cb57cecb75ce83758b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Security for amis-tool 6.0.1

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.

Release history Release notifications | RSS feed

This release

6.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page