Skip to main content

Adaptive Grid Discretizations using Lattice Basis Reduction (AGD-LBR)

A set of tools for discretizing anisotropic PDEs on cartesian grids

This repository contains

  • the agd library (Adaptive Grid Discretizations), written in Python® and cuda®
  • a series of jupyter notebooks in the Python® language, reproducing my research in Anisotropic PDE discretizations and their applications.
  • a basic documentation, view online, generated with pdoc.

The AGD library

The recommended ways to install are

conda install agd -c agd-lbr

alternatively (required for using the GPU eikonal solver)

pip install agd

The notebooks

You may visualize the notebooks online using nbviewer, or experimentally run and modify the notebooks online using GoogleColab. You may need to turn on GPU acceleration in GoogleColab (typical error: cannot import cupy) : Modify->Notebook parameters->GPU.

The notebooks are intended as documentation and testing for the adg library. They encompass:

  • Anisotropic fast marching methods, for shortest path computation.
  • Non-divergence form PDEs, including non-linear PDEs such as Monge-Ampere.
  • Divergence form anisotropic PDEs, often encountered in image processing.
  • Algorithmic tools, related with lattice basis reduction methods, and automatic differentiation.

For offline consultation, please download and install anaconda or miniconda.
Optionally, you may create a dedicated conda environnement by typing the following in a terminal:

conda env create --file agd-hfm.yaml
conda activate agd-hfm

In order to open the book summary, type in a terminal:

jupyter notebook Summary.ipynb

Then use the hyperlinks to navigate within the notebooks.

Matlab users

Recent versions of Matlab are able to call the Python interpreter, and thus to use the agd library. See Notebooks_FMM/Matlab for examples featuring the CPU and GPU eikonal solvers.

Metadata

Release files for agd 0.1.25

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

Built distribution (wheel)

Table of built distributions (wheels) for agd 0.1.25
File Interpreter ABI Platform Actions
agd-0.1.25-py3-none-any.whl Python 3 none any Details for agd-0.1.25-py3-none-any.whl

Release files / agd-0.1.25-py3-none-any.whl

Download URL agd-0.1.25-py3-none-any.whl
Size 332.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
966bd27a7733be782ddcad565e1c8152e227568488e7c965fab705f2a592dac3
BLAKE2b-256 checksum
How to use checksums
ce773a30cf554e35f0de514aca04f3bdf155ba999c11f82554194e0b03f3d318
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.6

Security for agd 0.1.25

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.

Release history Release notifications | RSS feed

This release

0.1.25 This release

1 release file No provenance

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