dimmer
Tools for dimension estimation of pointclouds. Docs available at https://marcelintel.gitlab.io/dimmer/
Dimmer provides three methods for determining stratifications of point clouds:
GADis a particular implementation of the Geometric Anomaly Detection algorithm of Stolz, Tanner, Harrington, and Nanda with modifications for performance.Intersecterlooks for points in the data whose local neighborhoods look like the intersection of planes.Stratifierattempts to stratify points into local charts on the space.
These can be used together or separately, and all are written in the style of scikit-learn transformers.
Installation
dimmer is pip-installable. From your command line:
$ pip install dimmer
dimmer can also be installed from a local copy of the source code. After pulling the code:
$ source activate .venv/bin/activate # activate your virtual environment, however that may be
$ pip install -e .
More local development installs are detailed in CONTRIBUTING.md.
Basic Usage
The GAD, Intersecter, and Stratifier classes are written in the style of scikit-learn
transformers. All should be initialized, fit, and then transformed on the
data set in question, as in:
from dimmer import GAD, Intersecter
gad = GAD(radii=(0.2, 0.5), max_dim = 3, n_jobs = 4)
gad_labels = gad.fit_transform(X=data)
intersect = Intersecter(neighbors=(50,120), threshold=0.2/4, n_jobs = 5)
intersecter_labels = intersect.fit_transform(X=data)
For more in-depth usage, see the following example notebooks:
- Gad usage shows the basic functionality of the
GADclass. - Comparative pipeline shows how
GADcan be used in conjunction with and in comparison to other dimension estimation algorithms ofscikit-dimension. - Intersecter usage shows the functionality of the
Intersecterclass. - Stratifier usage shows the functionality of the
Stratifierclass.
Features
- pip installable
- testing suite with pytest
- documentation with quartodoc
- tests and deployment integrated with gitlab CI/CD
Credits/History
- See
MIGRATION.md.
Metadata
Release files for dimmer 1.0.0
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 | |
|---|---|---|---|---|
| dimmer-1.0.0.tar.gz | 5.0 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dimmer-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 MB
Release files / dimmer-1.0.0.tar.gz
| Download URL | dimmer-1.0.0.tar.gz |
|---|---|
| Size | 5.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
432329369f43126e98d9e59af61fcd289ed3af5a3405470bbfc238f4c2fc9623
|
|
BLAKE2b-256 checksum How to use checksums |
bf2f9727194a43be28b0af04a087bf7803ace6d065e8032d79f071189a532d21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dimmer-1.0.0-py3-none-any.whl
| Download URL | dimmer-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
483198964fcde271de9e6ae4ee52ff16b2967d3f7b677c8933223d052f640c93
|
|
BLAKE2b-256 checksum How to use checksums |
82627f2e52ad290cb700102a18b216fb1e690c4d397089646698ad4f2d241cd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for dimmer 1.0.0
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.