Skip to main content

A Python version of Oculus - The eye into the chaos: a comprehensive magnetic field diagnostic package for non-integrable, toroidal magnetic fields

Project description

pyoculus

A Python version of Oculus - The eye into the chaos: a comprehensive magnetic field diagnostic package for non-integrable, toroidal magnetic fields (and more general 1 1/2-D or 2D Hamiltonian system). Oculus is the Latin word for 'eye'.

Installation

You can obtain the package from PYPI by

python -m pip install pyoculus

or you can clone the repo and install with:

python -m pip install .

If you want an editable installation, you will need the following command:

python -m pip install -v --no-build-isolation --editable .

and you will need all build dependencies to also installed in your python environment. This is likely to be:

pip install meson-python ninja

Usage

To use the package, simply import it in Python:

import pyoculus

Examples can be found in the examples subfolder.

Documentation

The documentation of pyoculus is managed by Doxygen.

You can find the documentation on Github Page: https://zhisong.github.io/pyoculus/

This documentation will be updated regularly but may not be most up-to-date. To generate the documentation from source, please run

make doxygen

The documentation will appear in the subfolder doc/html. Please open doc/html/index.html in your browser.

Developers

Link to the original Oculus package:

Github: https://github.com/SRHudson/Oculus

Documentation: https://w3.pppl.gov/~shudson/Oculus/oculus.pdf

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

pyoculus-0.3.3.tar.gz (842.6 kB view details)

Uploaded Source

File details

Details for the file pyoculus-0.3.3.tar.gz.

File metadata

  • Download URL: pyoculus-0.3.3.tar.gz
  • Upload date:
  • Size: 842.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyoculus-0.3.3.tar.gz
Algorithm Hash digest
SHA256 60fdabfcd2e322f8a244f41664e23e080e4e500071e25c123be8c4a2f8c6f56f
MD5 aed80ec6a4619dacc095619e8090e973
BLAKE2b-256 fe2d8a53a277a01f02117d59ba7139a70c52462dc59df23de06cf144a13f0cc0

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