Skip to content

Commit

Permalink
chore(paper): permanent links and README intro (#77)
Browse files Browse the repository at this point in the history
* chore(paper): permanent links and README intro

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
jeertmans and pre-commit-ci[bot] authored Jun 28, 2024
1 parent 6b026eb commit 8d3561d
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 30 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

+ Fixed broken links and added test to check for links.
[#68](https://github.com/jeertmans/DiffeRT2d/pull/68)
+ Enhanced the documentation homepage.
[#77](https://github.com/jeertmans/DiffeRT2d/pull/77)

(v0.3.2)=
## [v0.3.2](https://github.com/jeertmans/DiffeRT2d/compare/v0.3.1...v0.3.2)
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@

Differentiable Ray Tracing Python Framework for Radio Propagation.

<!-- start description -->

DiffeRT2d is built on top of the
[JAX](https://github.com/google/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.

<!-- end description -->

> [!IMPORTANT]
> For 3D scenarios at city-scales,
> checkout [DiffeRT](https://github.com/jeertmans/DiffeRT).
Expand Down
52 changes: 27 additions & 25 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,9 @@ og:description: 2D Toolbox for Differentiable Ray Tracing
# Welcome to DiffeRT2d's documentation

DiffeRT2d is a Python toolbox for 2D differentiable Ray Tracing,
with a focus on Radio Propagation applications[^1].

[^1]: This means we are mostly interested in simulating paths from
one node (transmitter) to another (receiver),
i.e., Point-to-Point Ray Tracing.
DiffeRT2d is not designed as a highly efficient image renderer, like in computer graphics.
A renderer will usually favor a Ray Launching method instead.

The present tool is thoroughly documented, so please have a look at the
following sections:

```{toctree}
:titlesonly:
:maxdepth: 1
quickstart
examples_gallery/index
reference/index
research/index
jax_and_jaxtyping
references
```

If you are interested in contributing to this tool, please checkout the
[Contributing](contributing/index) section!
with a focus on Radio Propagation applications, where we are mostly
interested in simulating paths from one node (transmitter)
to another (receiver), i.e., Point-to-Point Ray Tracing.

```{eval-rst}
.. plot::
Expand Down Expand Up @@ -59,6 +37,30 @@ If you are interested in contributing to this tool, please checkout the
plt.show() # doctest: +SKIP
```


```{include} ../../README.md
:start-after: <!-- start description -->
:end-before: <!-- end description -->
```

The present tool is thoroughly documented, so please have a look at the
following sections:

```{toctree}
:titlesonly:
:maxdepth: 1
quickstart
examples_gallery/index
reference/index
research/index
jax_and_jaxtyping
references
```

If you are interested in contributing to this tool, please checkout the
[Contributing](contributing/index) section!

```{toctree}
:caption: Development
:hidden:
Expand Down
12 changes: 7 additions & 5 deletions papers/joss/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ for optimization problems or Equinox [@kidger2021equinox] for Machine Learning (
# Usage Examples

The documentation contains
[an example gallery](https://differt2d.readthedocs.io/latest/examples_gallery/),
[an example gallery](https://web.archive.org/web/20240628154659/https://differt2d.eertmans.be/latest/examples_gallery/),
as well as numerous other usage examples disseminated throughout the
application programming interface (API) documentation.

Expand Down Expand Up @@ -208,21 +208,23 @@ provided by the Optax library, to successfully solve some optimization problem.

![Illustration of the different iterations converging towards the maximum of the objective function, see [@eertmans2024eucap] for all details.\label{fig:opt}](optimize_steps.pdf){ width="100%" }

The code to reproduce the above results can be obtained here:
https://github.com/jeertmans/DiffeRT2d/blob/main/papers/joss/plot_optimize_steps.py.
The code to reproduce the above results can be found in the
[GitHub repository](https://web.archive.org/web/20240628155050/https://github.com/jeertmans/DiffeRT2d/blob/main/papers/joss/plot_optimize_steps.py).

## Machine Learning

In [@mlhelsinki],
presented at a scientific meeting in Helsinki, June 2024,
as part of the European Cooperation in Science and Technology (COST)
action [*INTERACT*](https://interactca20120.org/) (CA20120),
action
[*INTERACT*](https://web.archive.org/web/20240628155127/https://interactca20120.org/)
(CA20120),
we developed an ML model that learns how to sample path candidates
to accelerate RT in general.

The model and its training were implemented using the DiffeRT2d library,
and a detailed notebook is available
[online](https://eertmans.be/r/cost20120-helsinki).
[online](https://web.archive.org/web/20240628154718/https://differt2d.eertmans.be/latest/notebooks/cost20120_helsinki_model.html).

# Stability and releases

Expand Down

0 comments on commit 8d3561d

Please sign in to comment.