Skip to main content

2D Toolbox for Differentiable Ray Tracing

Project description

DiffeRT2d

Latest Release Python version Documentation DOI Codecov

DiffeRT2d Logo

Differentiable Ray Tracing Python Framework for Radio Propagation.

DiffeRT2d is built on top of the JAX library to provide a program that is differentiable everywhere. With that, performing gradient-based optimization, or training Machine Learning models with Ray Tracing (RT) becomes straightforward! Moreover, the extensive use of the object-oriented paradigm facilitates the simulation of complex objects, such as metasurfaces, and the use of more advanced path tracing methods.

The objective of this tool is to provide a simple-to-use and highly interpretable RT framework for researchers engaged in fundamental studies of RT applied to radio propagation, or any researcher interested in the various paths radio waves can take in a given environment.

IMPORTANT: For 3D scenarios at city-scales, checkout DiffeRT.

Installation

While installing DiffeRT2d and its dependencies on your global Python is fine, we recommend using a virtual environment (e.g., venv) for a local installation.

Dependencies

DiffeRT2d uses JAX for automatic differentation, which in turn may use (or not) CUDA for GPU acceleration.

If needed, please refer to JAX's installation guidelines for more details.

Pip Install

The recommended way to install the latest release is to use pip:

pip install differt2d

Install From Repository

An alternative way to install DiffeRT2d is to clone the git repository, and install from there: read the contributing guide to know how.

Usage

For a quick introduction to DiffeRT2d, check you our Quickstart tutorial!

You may find a multitude of usage examples across the documentation or the examples folder, or directly in the examples gallery.

Contributing

Contributions are more than welcome! Please read through our contributing section.

Reporting an Issue

If you think you found a bug, an error in the documentation, or wish there was some feature that is currently missing, we would love to hear from you!

The best way to reach us is via the GitHub issues. If your problem is not covered by an already existing (closed or open) issue, then we suggest you create a new issue.

The more precise you are in the description of your problem, the faster we will be able to help you!

Seeking for help

Sometimes, you may have a question about , not necessarily an issue.

There are two ways you can reach us for questions:

Contact

Finally, if you do not have any GitHub account, or just wish to contact the author of DiffeRT2d, you can do so at: jeertmans@icloud.com.

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

differt2d-0.3.4.tar.gz (30.5 MB view details)

Uploaded Source

Built Distribution

differt2d-0.3.4-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file differt2d-0.3.4.tar.gz.

File metadata

  • Download URL: differt2d-0.3.4.tar.gz
  • Upload date:
  • Size: 30.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for differt2d-0.3.4.tar.gz
Algorithm Hash digest
SHA256 9ecbb594fb0882d22a729499c3c89d1d03abc7592ba4005d9920e4972a6f2965
MD5 442abaff213a4ff486b738f52a36f9ae
BLAKE2b-256 ff21a284e46adde69c60d0d06f0d92ac321eb51c8f5b9dcbc7d0fbc405e80c36

See more details on using hashes here.

File details

Details for the file differt2d-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: differt2d-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for differt2d-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 12fd0b94677b3956ebe442b920eb0aabc5c3783a6b35e85e89f36cc96278c2dd
MD5 6a49d98318e96a5ca1b650cb9469f6fe
BLAKE2b-256 ddbb3cd18f6131ed61c97878239732f2481ff97c667e78bfcfd303dc4628d319

See more details on using hashes here.

Supported by

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