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)
py -m amis_tool
On Linux/macOS:
python3 -m amis_tool
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
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.2
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 |
|---|---|---|---|---|
| amis_tool-6.0.2.tar.gz | 73.8 kB | Without provenance | Details for amis_tool-6.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| amis_tool-6.0.2-py3-none-any.whl | Python 3 | none | any | Details for amis_tool-6.0.2-py3-none-any.whl |
Total release size: 146.4 kB
Release files / amis_tool-6.0.2.tar.gz
| Download URL | amis_tool-6.0.2.tar.gz |
|---|---|
| Size | 73.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bf7c5198cb5af3e0775f81e1ad99a2e30ca102926aa2a1fcc0e152a9f14382e
|
|
BLAKE2b-256 checksum How to use checksums |
b8a53909f8614442c9a082a29c5d579bb3ba61f0fac1bb90a30cd8eebed0ea57
|
| 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.2-py3-none-any.whl
| Download URL | amis_tool-6.0.2-py3-none-any.whl |
|---|---|
| Size | 72.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5102d43dc4d2eb1d532199c79e3cbdae64cecdf6fc2a908877212075d8fd1b3d
|
|
BLAKE2b-256 checksum How to use checksums |
725c6a99db7a731625366f10f9c3e04453a5a8ce90d6d9f25e62cfc49af147e9
|
| 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.2
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.