differt 0.0.12__tar.gz → 0.0.14__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.
- {differt-0.0.12 → differt-0.0.14}/PKG-INFO +5 -5
- {differt-0.0.12 → differt-0.0.14}/differt/scene/sionna.py +2 -2
- {differt-0.0.12 → differt-0.0.14}/differt/utils.py +2 -1
- {differt-0.0.12 → differt-0.0.14}/pyproject.toml +6 -6
- {differt-0.0.12 → differt-0.0.14}/.gitignore +0 -0
- {differt-0.0.12 → differt-0.0.14}/LICENSE.md +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/__init__.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/em/__init__.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/em/constants.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/em/special.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/em/utd.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/em/utils.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/geometry/__init__.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/geometry/triangle_mesh.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/geometry/utils.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/plotting/__init__.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/plotting/_core.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/plotting/_utils.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/rt/__init__.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/rt/fermat.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/rt/image_method.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/rt/utils.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/scene/__init__.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/scene/triangle_scene.py +0 -0
- {differt-0.0.12 → differt-0.0.14}/differt/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: DiffeRT
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.14
|
|
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: Programming Language :: Python :: 3.12
|
|
|
21
21
|
Classifier: Topic :: Scientific/Engineering
|
|
22
22
|
Requires-Python: >=3.9
|
|
23
23
|
Requires-Dist: beartype>=0.17.2
|
|
24
|
-
Requires-Dist: differt-core==0.0.
|
|
24
|
+
Requires-Dist: differt-core==0.0.14
|
|
25
25
|
Requires-Dist: equinox>=0.11.2
|
|
26
26
|
Requires-Dist: jax>=0.4.20
|
|
27
27
|
Requires-Dist: jaxtyping>=0.2.24
|
|
@@ -71,7 +71,7 @@ Description-Content-Type: text/markdown
|
|
|
71
71
|
|
|
72
72
|
> **WARNING:**
|
|
73
73
|
> Until this package reaches version `0.1.x`, breaking changes
|
|
74
|
-
> should be expected. Checkout the [ROADMAP](https://github.com/
|
|
74
|
+
> should be expected. Checkout the [ROADMAP](https://github.com/jeertmans/DiffeRT/blob/main/ROADMAP.md) for
|
|
75
75
|
> future features.
|
|
76
76
|
>
|
|
77
77
|
> If you have any suggestion regarding the development of this package,
|
|
@@ -108,7 +108,7 @@ To run build this package locally, you need:
|
|
|
108
108
|
- [Rust](https://www.rust-lang.org/) stable toolchain;
|
|
109
109
|
- `make` (e.g., GNU Make or Make for Windows);
|
|
110
110
|
- [Maturin](https://www.maturin.rs/) for building Python bindings from Rust code;
|
|
111
|
-
- and [Rye](https://rye
|
|
111
|
+
- and [Rye](https://rye.astral.sh/) to manage this project.
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
## Local development
|
|
@@ -174,5 +174,5 @@ pytest --benchmark-only
|
|
|
174
174
|
[pypi-python-version-badge]: https://img.shields.io/pypi/pyversions/DiffeRT?color=orange
|
|
175
175
|
[documentation-badge]: https://readthedocs.org/projects/differt/badge/?version=latest
|
|
176
176
|
[documentation-url]: https://differt.readthedocs.io/latest/?badge=latest
|
|
177
|
-
[codecov-badge]: https://codecov.io/gh/jeertmans/DiffeRT/branch/main/graph/badge.svg?token=
|
|
177
|
+
[codecov-badge]: https://codecov.io/gh/jeertmans/DiffeRT/branch/main/graph/badge.svg?token=v63alnTWzu
|
|
178
178
|
[codecov-url]: https://codecov.io/gh/jeertmans/DiffeRT
|
|
@@ -75,7 +75,7 @@ def download_sionna_scenes(
|
|
|
75
75
|
yield member
|
|
76
76
|
|
|
77
77
|
with (
|
|
78
|
-
tempfile.NamedTemporaryFile(suffix=".tar.gz") as f,
|
|
78
|
+
tempfile.NamedTemporaryFile(suffix=".tar.gz", delete=False) as f,
|
|
79
79
|
tqdm(
|
|
80
80
|
stream,
|
|
81
81
|
desc="Downloading Sionna's repository archive...",
|
|
@@ -94,7 +94,7 @@ def download_sionna_scenes(
|
|
|
94
94
|
f.flush()
|
|
95
95
|
|
|
96
96
|
with tarfile.open(f.name) as tar:
|
|
97
|
-
tar.extractall(path=folder, members=members(tar))
|
|
97
|
+
tar.extractall(path=folder, members=members(tar), filter="data")
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
def list_sionna_scenes(*, folder: Union[str, Path] = SIONNA_SCENES_FOLDER) -> list[str]:
|
|
@@ -5,7 +5,7 @@ from collections.abc import Iterable, Mapping
|
|
|
5
5
|
from functools import partial
|
|
6
6
|
from typing import Any, Callable, Optional, Union
|
|
7
7
|
|
|
8
|
-
import chex
|
|
8
|
+
import chex # TODO: fixme, chex is not a dependency
|
|
9
9
|
import jax
|
|
10
10
|
import jax.numpy as jnp
|
|
11
11
|
import optax
|
|
@@ -18,6 +18,7 @@ else:
|
|
|
18
18
|
from typing_extensions import TypeVarTuple, Unpack
|
|
19
19
|
|
|
20
20
|
# Redefined here, because chex uses deprecated type hints
|
|
21
|
+
# TODO: fixme
|
|
21
22
|
OptState = Union[chex.Array, Iterable["OptState"], Mapping[Any, "OptState"]]
|
|
22
23
|
Ts = TypeVarTuple("Ts")
|
|
23
24
|
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
]
|
|
17
17
|
dependencies = [
|
|
18
18
|
"beartype>=0.17.2",
|
|
19
|
-
"differt-core==0.0.
|
|
19
|
+
"differt-core==0.0.14",
|
|
20
20
|
"equinox>=0.11.2",
|
|
21
21
|
"jax>=0.4.20",
|
|
22
22
|
"jaxtyping>=0.2.24",
|
|
@@ -67,10 +67,6 @@ packages = ["src/differt"]
|
|
|
67
67
|
[tool.hatch.metadata]
|
|
68
68
|
allow-direct-references = true
|
|
69
69
|
|
|
70
|
-
[tool.hatch.version]
|
|
71
|
-
path = "../differt-core/Cargo.toml"
|
|
72
|
-
pattern = "^version = \"(?P<version>[^\"]+)"
|
|
73
|
-
|
|
74
70
|
[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
|
75
71
|
content-type = "text/markdown"
|
|
76
72
|
|
|
@@ -83,7 +79,11 @@ replacement = '> **\1:**'
|
|
|
83
79
|
|
|
84
80
|
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
|
|
85
81
|
pattern = '\(./([^)]+)\)'
|
|
86
|
-
replacement = '(https://github.com/
|
|
82
|
+
replacement = '(https://github.com/jeertmans/DiffeRT/blob/main/\1)'
|
|
83
|
+
|
|
84
|
+
[tool.hatch.version]
|
|
85
|
+
path = "../differt-core/Cargo.toml"
|
|
86
|
+
pattern = '^version = "(?P<version>[^"]+)'
|
|
87
87
|
|
|
88
88
|
[tool.rye]
|
|
89
89
|
managed = true
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|