A package for simple matrix operations and visualization
Project description
Heatmap
Matrix operations and visualization
Installation
pip install heatmap_greatseal
Usage
import heatmap_greatseal.heatmap_greatseal as hm
You can easily generate custom sized matrix with upper and lower limit. It creates the matrix of h and w size of integers.
hm.generate(h,w,min,max)
By using grid or gaussian visualization it calculates every cell's value ratio to neighbouring cells' values.
Grid visualization uses no interpolation and blur:
hm.grid_visualize(matrix)
However, gaussian visualization creates a heatmap rather than a grid of the matrix using gaussian interpolation:
hm.gaussian_visualize(matrix)
If you want to create multiple figures at the same time, they will not show simultaneously, unless you give a False parameter to every function except the last one called::
hm.grid_visualize(matrix, False)
hm.grid_visualize(matrix)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file heatmap_greatseal-1.0.7.tar.gz
.
File metadata
- Download URL: heatmap_greatseal-1.0.7.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce91ec0dc99960ffe32610117ac8c176cc263954b527623d1e4cde0051736afd |
|
MD5 | 9407ebe790a9e29e8ceafbc4cf66c283 |
|
BLAKE2b-256 | ec8257400f522245c53f3931d841378064ca34c7afdb7e2c1b81c5f3c5df4c17 |