Pyintersection package
Project description
# pyintersection
Overview
The pyintersection package provides a set of functions for finding intersections of two parameter 3d or 6d manifolds. The package aims to simplify orbit calculations.
Documentation
User documentation https://github.com/suspiciousFruit/pyintersection/tree/master/doc/usr
Developer documentation https://github.com/suspiciousFruit/pyintersection/tree/master/doc/dev
Hello World
>>> import pyintersection as pyi
>>> import numpy as np
>>> apoints = np.array([[0, 0.0, 1, 1, 1], [1, 0.1, 1, 1, 2], [2, 0.2, 1, 1, 3]])
>>> bpoints = np.array([[0, 0.3, 1, 2, 2], [1, 0.4, 1, 1, 2], [2, 0.5, 1, 0, 2]])
>>> cubes, points, tols = pyi.intersect3d(apoints, bpoints, 0.5)
>>> print(cubes)
[[0. 1. 1. 1. 1.5 1.5 2. ]]
>>> print(points)
[[0. 0. 1. 0.1 1. 1. 2. ]
[0. 1. 1. 0.1 1. 1. 2. ]]
>>> print(tols)
[0. 0.5 0.5]
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
pyintersection-1.1.tar.gz
(4.4 kB
view details)
File details
Details for the file pyintersection-1.1.tar.gz.
File metadata
- Download URL: pyintersection-1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
657833786023d4fdbd4d06f572f075221649fe4f2e39a8d564be2d78285447f0
|
|
| MD5 |
a05f6a90b52dbea91c1bffe7aa556ddf
|
|
| BLAKE2b-256 |
7f9e19c90039d48a5c8c329c4800dc4f8369fd2411d9169723cd737daecd5763
|