Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Build and tests codecov

pytristan is a Python package, based on NumPy, that provides tools for numerical solution of partial differential equations, such as

  • Multi-dimensional meshes
  • (coming soon) Multi-dimensional differential operators (DO), constructed using different approximation techniques, such as
    • Fourier spectral method
    • Chebyshev collocation method
    • Finite-differences method

Main features

Meshes and differential operators are NumPy arrays

The dedicated mesh's (Grid) and DO's (FourMat, ChebMat, FinDiffMat) objects subclass numpy.ndarray, benefitting from all of its powerful tools and allowing for convenient and intuitive usage.

Simple API to treat cases of special geometry

pytristan provides simplified interfaces to treat some specific cases, such as, for instance, polar geometry. Besides, there are pre-defined mapping functions in case the user aims to build a non-uniform mesh. It is also possible to define custom mappers and apply them as easily as the pre-defined ones.

For complete flexibility and control over the program, the user can opt for a more manual approach to construct the same objects using a generic interface.

Re-usage of once allocated objects

If it's necessary to re-use the same mesh or DO multiple times in the same program, pytristan spares a user the need to reconstruct them or repeatedly pass their variables between functions. Once allocated, they can be extracted from memory by calling a dedicated getter function with a simple interface anywhere in the same program.

Installation

You can install pytristan using pip:

pip install pytristan

Alternatively, the source code is available on GitHub.

Dependencies

License

MIT

Release files for pytristan 0.2.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytristan 0.2.0a2
File Size Uploaded
pytristan-0.2.0a2.tar.gz 29.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytristan 0.2.0a2
File Interpreter ABI Platform
pytristan-0.2.0a2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 40.6 kB

Release files / pytristan-0.2.0a2.tar.gz

Download URL pytristan-0.2.0a2.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0ce45b601aee8cb672e2e781a3cb33e78c89a68da0c67d86009dd6bd2e3502bc
BLAKE2b-256 checksum
How to use checksums
b7094945a4a7ae7be50d73f2d849a70ab0508d721adfb6bfa7bdc64dd00f22bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

Release files / pytristan-0.2.0a2-py2.py3-none-any.whl

Download URL pytristan-0.2.0a2-py2.py3-none-any.whl
Size 11.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2a6568380f67183538784926027f6aa70b543b9734c694e33db2f870c79c1c2c
BLAKE2b-256 checksum
How to use checksums
7e9bc805de765bb973c159e5bb66fc68f7aa0ed1229db209fb96b8241eac4ac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page