DelaunayExtrapolation
Explanation
Delaunay三角形分割を利用した内挿法です。
- 点群をまず準備します。
- それをDelaunay三角形分割します。
- 点群に含まれない任意の点が、点群の構成する三角形のどれに含まれているかを割り出します。
- さらに、三角形の中での相対位置(混合比)を算出します。
scipy.spatial.Delaunayを利用すれば内挿は容易にできますが、三角形に含まれない点にまで外挿することができないので、Delaunayクラスを拡張しました。
「三角形分割」と書いていますが、3次元以上でも問題なく動くはずです。
Installation
$ pip install delaunayextrapolation
Example
test.pyに使用例があります。
Known Issues
- 一点ずつしか内挿できません。多数の点を同時に内挿できると良いですよね。
Metadata
Release files for delaunayextrapolation 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| delaunayextrapolation-0.3-py3-none-any.whl | Python 3 | none | any | Details for delaunayextrapolation-0.3-py3-none-any.whl |
Release files / delaunayextrapolation-0.3-py3-none-any.whl
| Download URL | delaunayextrapolation-0.3-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ff07f98efac48ca6f7282b8830e43e224df401b04cbc0b6546723e4d1ddbe1d
|
|
BLAKE2b-256 checksum How to use checksums |
b12578a750c5532002e1c2abb62dbb4e45509885ad2905b576a3cca3763618d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.4 Darwin/23.5.0
|
Security for delaunayextrapolation 0.3
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.