differt 0.0.24__tar.gz → 0.0.25__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {differt-0.0.24 → differt-0.0.25}/PKG-INFO +35 -86
  2. {differt-0.0.24 → differt-0.0.25}/pyproject.toml +1 -1
  3. {differt-0.0.24 → differt-0.0.25}/src/differt/scene/_triangle_scene.py +5 -2
  4. {differt-0.0.24 → differt-0.0.25}/.gitignore +0 -0
  5. {differt-0.0.24 → differt-0.0.25}/LICENSE.md +0 -0
  6. {differt-0.0.24 → differt-0.0.25}/README.md +0 -0
  7. {differt-0.0.24 → differt-0.0.25}/src/differt/__init__.py +0 -0
  8. {differt-0.0.24 → differt-0.0.25}/src/differt/_version.py +0 -0
  9. {differt-0.0.24 → differt-0.0.25}/src/differt/em/__init__.py +0 -0
  10. {differt-0.0.24 → differt-0.0.25}/src/differt/em/_constants.py +0 -0
  11. {differt-0.0.24 → differt-0.0.25}/src/differt/em/_special.py +0 -0
  12. {differt-0.0.24 → differt-0.0.25}/src/differt/em/_utd.py +0 -0
  13. {differt-0.0.24 → differt-0.0.25}/src/differt/em/_utils.py +0 -0
  14. {differt-0.0.24 → differt-0.0.25}/src/differt/geometry/__init__.py +0 -0
  15. {differt-0.0.24 → differt-0.0.25}/src/differt/geometry/_paths.py +0 -0
  16. {differt-0.0.24 → differt-0.0.25}/src/differt/geometry/_triangle_mesh.py +0 -0
  17. {differt-0.0.24 → differt-0.0.25}/src/differt/geometry/_utils.py +0 -0
  18. {differt-0.0.24 → differt-0.0.25}/src/differt/plotting/__init__.py +0 -0
  19. {differt-0.0.24 → differt-0.0.25}/src/differt/plotting/_core.py +0 -0
  20. {differt-0.0.24 → differt-0.0.25}/src/differt/plotting/_utils.py +0 -0
  21. {differt-0.0.24 → differt-0.0.25}/src/differt/rt/__init__.py +0 -0
  22. {differt-0.0.24 → differt-0.0.25}/src/differt/rt/_fermat.py +0 -0
  23. {differt-0.0.24 → differt-0.0.25}/src/differt/rt/_image_method.py +0 -0
  24. {differt-0.0.24 → differt-0.0.25}/src/differt/rt/_utils.py +0 -0
  25. {differt-0.0.24 → differt-0.0.25}/src/differt/scene/__init__.py +0 -0
  26. {differt-0.0.24 → differt-0.0.25}/src/differt/scene/_sionna.py +0 -0
  27. {differt-0.0.24 → differt-0.0.25}/src/differt/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: DiffeRT
3
- Version: 0.0.24
3
+ Version: 0.0.25
4
4
  Summary: Differentiable Ray Tracing Toolbox for Radio Propagation Simulations
5
5
  Project-URL: Changelog, https://github.com/jeertmans/DiffeRT/releases
6
6
  Project-URL: Documentation, https://eertmans.be/DiffeRT
@@ -21,7 +21,7 @@ Classifier: Topic :: Scientific/Engineering
21
21
  Requires-Python: >=3.10
22
22
  Requires-Dist: beartype>=0.17.2
23
23
  Requires-Dist: chex>=0.1.86
24
- Requires-Dist: differt-core==0.0.24
24
+ Requires-Dist: differt-core==0.0.25
25
25
  Requires-Dist: equinox>=0.11.5
26
26
  Requires-Dist: filelock>=3.15.4
27
27
  Requires-Dist: jax>=0.4.32
@@ -74,9 +74,11 @@ Description-Content-Type: text/markdown
74
74
  ## Usage
75
75
 
76
76
  > **WARNING:**
77
- > Until this package reaches version `0.1.x`, breaking changes
78
- > should be expected. Checkout the [ROADMAP](https://github.com/jeertmans/DiffeRT/blob/main/ROADMAP.md) for
79
- > future features.
77
+ > Until this package reaches version `v0.1.0`, breaking changes
78
+ > should be expected.
79
+ > Checkout the [v0.1.0](https://github.com/jeertmans/DiffeRT/milestone/1)
80
+ > and [v1.0.0](https://github.com/jeertmans/DiffeRT/milestone/2) milestones for future
81
+ > features.
80
82
  >
81
83
  > If you have any suggestion regarding the development of this package,
82
84
  > please open an [issue](https://github.com/jeertmans/DiffeRT/issues).
@@ -88,97 +90,44 @@ pip install differt
88
90
  ```
89
91
 
90
92
  We provide pre-built binaries for most platforms. If you want (or need)
91
- to build the package from the source distribution, check out the
92
- requirements below.
93
+ to build the package from the source distribution,
94
+ or want to customize the installation (e.g., with GPU support), check out the
95
+ [installation guide](https://differt.readthedocs.io/latest/installation.html).
93
96
 
94
- ## Contributing
95
-
96
- > **IMPORTANT:**
97
- > The current documentation is very light and a more complete guide for
98
- > new contributors will be written in the near future.
99
- >
100
- > Until then, do not hesitate to reach me for help with
101
- > [GitHub issues](https://github.com/jeertmans/DiffeRT/issues)!
102
-
103
- This project is built using both Python and Rust code, to provide an easy-to-use
104
- but performant program. It also heavily uses the capabilities brought by
105
- [JAX](https://github.com/google/jax) for numerical arrays.
106
-
107
- ### Requirements
97
+ ### Reporting an issue
108
98
 
109
- To run build this package locally, you need:
99
+ <!-- start reporting-an-issue -->
110
100
 
111
- - [Python 3.10](https://www.python.org/) or above;
112
- - [Rust](https://www.rust-lang.org/) stable toolchain;
113
- - any modern C compiler;
114
- - [just](https://github.com/casey/just) to easily run commands listed in `justfile`s;
115
- - [Maturin](https://www.maturin.rs/) for building Python bindings from Rust code;
116
- - and [uv](https://docs.astral.sh/uv/) to manage this project.
101
+ If you think you found a bug,
102
+ an error in the documentation,
103
+ or wish there was some feature that is currently missing,
104
+ we would love to hear from you!
117
105
 
118
- This project contains `justfile`s with recipes[^1] for most common
119
- use cases, so feel free to use them instead of the commands listed below/
106
+ The best way to reach us is via the
107
+ [GitHub issues](https://github.com/jeertmans/DiffeRT/issues?q=is%3Aissue).
108
+ If your problem is not covered by an already existing (closed or open) issue,
109
+ then we suggest you create a
110
+ [new issue](https://github.com/jeertmans/DiffeRT/issues/new/choose).
111
+ You can choose from a list of templates, or open a
112
+ [blank issue](https://github.com/jeertmans/DiffeRT/issues/new)
113
+ if your issue does not fit one of the proposed topics.
120
114
 
121
- [^1]: `just` is as alternative tool to Make, that provides more modern
122
- user experience. Enter `just` to list all available recipes.
123
-
124
- ## Local development
125
-
126
- The following commands assume that you installed
127
- the project locally with:
128
-
129
- ```bash
130
- uv sync
131
- ```
132
-
133
- and that you activated the corresponding Python virtual environment:
134
-
135
- ```bash
136
- . .venv/bin/activate # or .venv\Scripts\activate on Windows
137
- ```
138
-
139
- ### Documentation
140
-
141
- To generate the documentation, please run the following:
142
-
143
- ```bash
144
- just docs/build
145
- ```
115
+ The more precise you are in the description of your problem, the faster we will
116
+ be able to help you!
146
117
 
147
- Finally, you can open `docs/build/html/index.html` to see the generated docs.
118
+ If you rather have question than a problem,
119
+ then it is probably best suited to ask it in the
120
+ [Q&A category of the discussions](https://github.com/jeertmans/DiffeRT/discussions/categories/q-a).
148
121
 
149
- Other recipes are available, and you can list them with `just docs/`.
122
+ <!-- end reporting-an-issue -->
150
123
 
151
- ### Testing
152
-
153
- Both Rust and Python codebases have their own tests and benchmarks.
154
-
155
- #### Testing Rust code
156
-
157
- You can test Rust code using Cargo:
158
-
159
- ```bash
160
- cargo test
161
- ```
162
-
163
- or benchmark it:
164
-
165
- ```bash
166
- cargo bench
167
- ```
168
-
169
- #### Testing Python code
170
-
171
- Similarly, you can test Python code with Pytest:
172
-
173
- ```bash
174
- pytest
175
- ```
124
+ ## Contributing
176
125
 
177
- or benchmark it:
126
+ All types of contributions are more than welcome!
178
127
 
179
- ```bash
180
- pytest --benchmark-enable differt/tests/benchmarks
181
- ```
128
+ Please follow the
129
+ [contributing guide](https://differt.readthedocs.io/latest/contributing.html)
130
+ for a detailed step-by-step procedure.
182
131
 
183
132
  ## Citing
184
133
 
@@ -16,7 +16,7 @@ classifiers = [
16
16
  dependencies = [
17
17
  "beartype>=0.17.2",
18
18
  "chex>=0.1.86",
19
- "differt-core==0.0.24",
19
+ "differt-core==0.0.25",
20
20
  "equinox>=0.11.5",
21
21
  "filelock>=3.15.4",
22
22
  "jax>=0.4.32",
@@ -542,9 +542,12 @@ class TriangleScene(eqx.Module):
542
542
  Unused if ``path_candidates`` is provided.
543
543
  path_candidates: An optional array of path candidates, see :ref:`path_candidates`.
544
544
 
545
- This is helpful to only generate paths on a subset of the scene.
545
+ This is helpful to only generate paths on a subset of the scene. E.g., this
546
+ is used in :ref:`sampling-paths` to test a specific set of path candidates
547
+ generated from a Machine Learning model.
546
548
 
547
- If ``self.mesh.assume_quads`` is :data:`True`, then path candidates are
549
+ If :attr:`self.mesh.assume_quads<differt.geometry.TriangleMesh.assume_quads>`
550
+ is :data:`True`, then path candidates are
548
551
  rounded down toward the nearest even value.
549
552
  parallel: If :data:`True`, ray tracing is performed in parallel across all available
550
553
  devices. The number of transmitters times the number of receivers
File without changes
File without changes
File without changes
File without changes