Product Kernel Density Visualization (pKDV) algorithm
Project description
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 data\result.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mass_pkdv-0.1.0.tar.gz
(69.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mass_pkdv-0.1.0-py3-none-any.whl
(68.0 kB
view details)
File details
Details for the file mass_pkdv-0.1.0.tar.gz.
File metadata
- Download URL: mass_pkdv-0.1.0.tar.gz
- Upload date:
- Size: 69.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f1e4ec4fa03f00d39e8e089d58b74c4e13e7839b59abe26cc9a7486cae10ba
|
|
| MD5 |
7bc16f2267a54cd00e911f74e22b19c3
|
|
| BLAKE2b-256 |
a109e9e39a332eec9b514d052aa75d8bdfb1e3b75edbf25abf9e5ebfe346f6cc
|
File details
Details for the file mass_pkdv-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mass_pkdv-0.1.0-py3-none-any.whl
- Upload date:
- Size: 68.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b757008940f1d6201a4417e5bb6b1a6e52221581ac2368e98802891112ab9bb6
|
|
| MD5 |
d9ed2ae8fdc0e518388702162bdadfce
|
|
| BLAKE2b-256 |
e982c890629c543a5a43a002dac55df6754a145d0521b764751b391630215ab4
|