Skip to main content

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

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


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)

Uploaded Source

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

Hashes for pyintersection-1.1.tar.gz
Algorithm Hash digest
SHA256 657833786023d4fdbd4d06f572f075221649fe4f2e39a8d564be2d78285447f0
MD5 a05f6a90b52dbea91c1bffe7aa556ddf
BLAKE2b-256 7f9e19c90039d48a5c8c329c4800dc4f8369fd2411d9169723cd737daecd5763

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page