MASS: Product Kernel Density Visualization (KDV) Package
This package provides a C++ implementation of a Product Kernel Density Visualization (KDV) algorithm.
Input Data Format
The input data file should be plain text:
n
x1 y1
x2 y2
...
xn yn
n= number of data pointsxandyin meters (or consistent units)
Input Parameters (for Python wrapper or command line)
dim: data dimensionality (default: 2)method: algorithm method (0:SCAN, 1:SLAM, 2:MASS_CR, 3:MASS_OPT, 4:RQS_kd, 5:RQS_range)n_x,n_y: number of discrete regions along x/y-axisk_type_x,k_type_y: kernel type for x/y-axis (1:Epanechnikov, 2:Triangular, 3:Uniform)b_x_ratio,b_y_ratio: bandwidth ratio for x/y-axis kernel
Usage
Python Wrapper
from mass_pkdv import run_mass
run_mass(input_file, output_file)
Optionally, pass custom parameters:
run_mass(input_file, output_file, dim=2, method=2, n_x=800, k_type_x=3, b_x_ratio=0.8, n_y=600, k_type_y=3, b_y_ratio=0.8)
Command Line
bin\mass_pkdv.exe data\data.dat data\result.txt
Metadata
Release files for mass-pkdv 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mass_pkdv-0.1.1.tar.gz | 657.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mass_pkdv-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / mass_pkdv-0.1.1.tar.gz
| Download URL | mass_pkdv-0.1.1.tar.gz |
|---|---|
| Size | 657.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27b84dcc3bdde89f66e2272e8cc4f95ea7dd6e599a417634ebccbf48e522aea1
|
|
BLAKE2b-256 checksum How to use checksums |
a3951717736a5b443b4b18064ead7737a824c82fc77facf10cdb3777028f5df6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0rc1
|
Release files / mass_pkdv-0.1.1-py3-none-any.whl
| Download URL | mass_pkdv-0.1.1-py3-none-any.whl |
|---|---|
| Size | 657.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64c1aabb5338b1a3ab8d04c3c25119d1d9511e1b0cecf98a9cabcbd77a80aed8
|
|
BLAKE2b-256 checksum How to use checksums |
72b59c15f6199c62f8a5284bd7c1cb2b3febce545b1311cd1e636acb8a055ffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0rc1
|