Skip to main content

Differentiable Ray Tracing Toolbox for Radio Propagation Simulations

Reason this release was yanked:

Package was not correctly bundled

Project description

DiffeRT logo

DiffeRT

Latest Release Python version Documentation Codecov

Usage

WARNING: Until this package reaches version 0.1.x, breaking changes should be expected. Checkout the ROADMAP for future features.

If you have any suggestion regarding the development of this package, please open an issue.

The easiest way to install DiffeRT is through pip:

pip install differt

We provide pre-built binaries for most platforms. If you want (or need) to build the package from the source distribution, check out the requirements below.

Contributing

IMPORTANT: The current documentation is very light and a more complete guide for new contributors will be written in the near future.

Until then, do not hesitate to reach me for help with GitHub issues!

This project is built using both Python and Rust code, to provide an easy-to-use but performant program. It also heavily uses the capabilities brought by JAX for numerical arrays.

Requirements

To run build this package locally, you need:

  • Python 3.9 or above;
  • Rust stable toolchain;
  • make (e.g., GNU Make or Make for Windows);
  • Maturin for building Python bindings from Rust code;
  • and Rye to manage this project.

Local development

The following commands assume that you installed the project locally with:

rye sync

and that you activated the corresponding Python virtual environment:

. .venv/bin/activate  # or .venv\Scripts\activate on Windows

Documentation

To generate the documentation, please run the following:

cd docs
make html

Finally, you can open build/html/index.html to see the generated docs.

Testing

Both Rust and Python codebases have their own tests and benchmarks.

Testing Rust code

You can very easily test you code using Cargo:

cargo test

or benchmark it:

cargo bench

Testing Python code

in the same way, you can very test you code with Pytest:

pytest

or benchmark it:

pytest --benchmark-only

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

differt-0.0.12.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

differt-0.0.12-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file differt-0.0.12.tar.gz.

File metadata

  • Download URL: differt-0.0.12.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for differt-0.0.12.tar.gz
Algorithm Hash digest
SHA256 e2e57f5a37445ac6451cd4315921e19ba5c9fdf4c8d7cdf2db953b0a0937db48
MD5 291ff59b6031c06677fe8059aa16855e
BLAKE2b-256 cd97c0aa741b8e3343c0fa577a3cd0e8073c38d8f9f2f5a21f023d6c26620d5a

See more details on using hashes here.

File details

Details for the file differt-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: differt-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for differt-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 34a40c44f746b60922673f85a5d40d14a5e250c455e3f3dd2fb2e29337c9115f
MD5 df6505593c9356ffae20202a95f0f033
BLAKE2b-256 2ad723536382e3b95f41af160c8ab7a51725c4ba4168b81f3dc0e41657cf21c7

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