differt 0.0.30__tar.gz → 0.0.32__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 (36) hide show
  1. {differt-0.0.30 → differt-0.0.32}/PKG-INFO +7 -7
  2. {differt-0.0.30 → differt-0.0.32}/README.md +2 -2
  3. {differt-0.0.30 → differt-0.0.32}/pyproject.toml +2 -3
  4. differt-0.0.32/src/differt/em/__init__.py +61 -0
  5. differt-0.0.32/src/differt/em/_antenna.py +662 -0
  6. differt-0.0.32/src/differt/em/_constants.py +11 -0
  7. differt-0.0.32/src/differt/em/_fresnel.py +457 -0
  8. differt-0.0.32/src/differt/em/_interaction_type.py +13 -0
  9. differt-0.0.32/src/differt/em/_material.py +290 -0
  10. differt-0.0.32/src/differt/em/_utd.py +305 -0
  11. differt-0.0.32/src/differt/em/_utils.py +381 -0
  12. {differt-0.0.30 → differt-0.0.32}/src/differt/geometry/__init__.py +4 -0
  13. {differt-0.0.30 → differt-0.0.32}/src/differt/geometry/_paths.py +164 -59
  14. {differt-0.0.30 → differt-0.0.32}/src/differt/geometry/_triangle_mesh.py +352 -64
  15. {differt-0.0.30 → differt-0.0.32}/src/differt/geometry/_utils.py +100 -74
  16. {differt-0.0.30 → differt-0.0.32}/src/differt/plotting/_core.py +6 -4
  17. {differt-0.0.30 → differt-0.0.32}/src/differt/plotting/_utils.py +2 -1
  18. differt-0.0.32/src/differt/py.typed +0 -0
  19. {differt-0.0.30 → differt-0.0.32}/src/differt/rt/_fermat.py +10 -9
  20. {differt-0.0.30 → differt-0.0.32}/src/differt/rt/_image_method.py +38 -25
  21. {differt-0.0.30 → differt-0.0.32}/src/differt/rt/_utils.py +40 -33
  22. {differt-0.0.30 → differt-0.0.32}/src/differt/scene/_sionna.py +95 -1
  23. {differt-0.0.30 → differt-0.0.32}/src/differt/scene/_triangle_scene.py +31 -45
  24. {differt-0.0.30 → differt-0.0.32}/src/differt/utils.py +62 -75
  25. differt-0.0.30/src/differt/em/__init__.py +0 -18
  26. differt-0.0.30/src/differt/em/_constants.py +0 -10
  27. differt-0.0.30/src/differt/em/_special.py +0 -227
  28. differt-0.0.30/src/differt/em/_utd.py +0 -82
  29. differt-0.0.30/src/differt/em/_utils.py +0 -83
  30. {differt-0.0.30 → differt-0.0.32}/.gitignore +0 -0
  31. {differt-0.0.30 → differt-0.0.32}/LICENSE.md +0 -0
  32. {differt-0.0.30 → differt-0.0.32}/src/differt/__init__.py +0 -0
  33. {differt-0.0.30 → differt-0.0.32}/src/differt/_version.py +0 -0
  34. {differt-0.0.30 → differt-0.0.32}/src/differt/plotting/__init__.py +0 -0
  35. {differt-0.0.30 → differt-0.0.32}/src/differt/rt/__init__.py +0 -0
  36. {differt-0.0.30 → differt-0.0.32}/src/differt/scene/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: DiffeRT
3
- Version: 0.0.30
3
+ Version: 0.0.32
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
@@ -8,7 +8,8 @@ Project-URL: Founding, https://github.com/sponsors/jeertmans
8
8
  Project-URL: Homepage, https://github.com/jeertmans/DiffeRT
9
9
  Project-URL: Repository, https://github.com/jeertmans/DiffeRT
10
10
  Author-email: Jérome Eertmans <jeertmans@icloud.com>
11
- License: MIT
11
+ License-Expression: MIT
12
+ License-File: LICENSE.md
12
13
  Keywords: differentiable,jax,propagation,radio,ray tracing
13
14
  Classifier: License :: OSI Approved :: MIT License
14
15
  Classifier: Operating System :: OS Independent
@@ -19,9 +20,8 @@ Classifier: Programming Language :: Python :: 3.12
19
20
  Classifier: Programming Language :: Python :: 3.13
20
21
  Classifier: Topic :: Scientific/Engineering
21
22
  Requires-Python: >=3.10
22
- Requires-Dist: beartype>=0.19.0
23
23
  Requires-Dist: chex>=0.1.86
24
- Requires-Dist: differt-core==0.0.30
24
+ Requires-Dist: differt-core==0.0.32
25
25
  Requires-Dist: equinox>=0.11.5
26
26
  Requires-Dist: filelock>=3.15.4
27
27
  Requires-Dist: jax>=0.4.32
@@ -139,7 +139,7 @@ If you use this software, please cite it as
139
139
  [pypi-python-version-badge]: https://img.shields.io/pypi/pyversions/DiffeRT?color=orange
140
140
  [documentation-badge]: https://readthedocs.org/projects/differt/badge/?version=latest
141
141
  [documentation-url]: https://differt.readthedocs.io/latest/?badge=latest
142
- [doi-badge]: https://zenodo.org/badge/DOI/10.5281/zenodo.13895021.svg
143
- [doi-url]: https://doi.org/10.5281/zenodo.13895021
142
+ [doi-badge]: https://zenodo.org/badge/DOI/10.5281/zenodo.11386432.svg
143
+ [doi-url]: https://doi.org/10.5281/zenodo.11386432
144
144
  [codecov-badge]: https://codecov.io/gh/jeertmans/DiffeRT/branch/main/graph/badge.svg?token=v63alnTWzu
145
145
  [codecov-url]: https://codecov.io/gh/jeertmans/DiffeRT
@@ -82,7 +82,7 @@ If you use this software, please cite it as
82
82
  [pypi-python-version-badge]: https://img.shields.io/pypi/pyversions/DiffeRT?color=orange
83
83
  [documentation-badge]: https://readthedocs.org/projects/differt/badge/?version=latest
84
84
  [documentation-url]: https://differt.readthedocs.io/latest/?badge=latest
85
- [doi-badge]: https://zenodo.org/badge/DOI/10.5281/zenodo.13895021.svg
86
- [doi-url]: https://doi.org/10.5281/zenodo.13895021
85
+ [doi-badge]: https://zenodo.org/badge/DOI/10.5281/zenodo.11386432.svg
86
+ [doi-url]: https://doi.org/10.5281/zenodo.11386432
87
87
  [codecov-badge]: https://codecov.io/gh/jeertmans/DiffeRT/branch/main/graph/badge.svg?token=v63alnTWzu
88
88
  [codecov-url]: https://codecov.io/gh/jeertmans/DiffeRT
@@ -15,9 +15,8 @@ classifiers = [
15
15
  "Topic :: Scientific/Engineering",
16
16
  ]
17
17
  dependencies = [
18
- "beartype>=0.19.0",
19
18
  "chex>=0.1.86",
20
- "differt-core==0.0.30",
19
+ "differt-core==0.0.32",
21
20
  "equinox>=0.11.5",
22
21
  "filelock>=3.15.4",
23
22
  "jax>=0.4.32",
@@ -53,7 +52,7 @@ vispy = [
53
52
  vispy-backend = ["PyQt6>=6.6.1"]
54
53
 
55
54
  [project.scripts]
56
- "download-sionna-scenes" = "differt.scene._sionna:download_sionna_scenes"
55
+ "download-sionna-scenes" = "differt.scene._sionna:main"
57
56
 
58
57
  [project.urls]
59
58
  Changelog = "https://github.com/jeertmans/DiffeRT/releases"
@@ -0,0 +1,61 @@
1
+ """Electromagnetic (EM) fields utilities."""
2
+
3
+ __all__ = (
4
+ "Antenna",
5
+ "BaseAntenna",
6
+ "Dipole",
7
+ "F",
8
+ "HWDipolePattern",
9
+ "InteractionType",
10
+ "L_i",
11
+ "Material",
12
+ "RadiationPattern",
13
+ "ShortDipole",
14
+ "ShortDipolePattern",
15
+ "c",
16
+ "diffraction_coefficients",
17
+ "epsilon_0",
18
+ "fresnel_coefficients",
19
+ "fspl",
20
+ "lengths_to_delays",
21
+ "materials",
22
+ "mu_0",
23
+ "path_delays",
24
+ "pointing_vector",
25
+ "reflection_coefficients",
26
+ "refraction_coefficients",
27
+ "refractive_indices",
28
+ "sp_directions",
29
+ "sp_rotation_matrix",
30
+ "transition_matrices",
31
+ "z_0",
32
+ )
33
+
34
+ from ._antenna import (
35
+ Antenna,
36
+ BaseAntenna,
37
+ Dipole,
38
+ HWDipolePattern,
39
+ RadiationPattern,
40
+ ShortDipole,
41
+ ShortDipolePattern,
42
+ pointing_vector,
43
+ )
44
+ from ._constants import c, epsilon_0, mu_0, z_0
45
+ from ._fresnel import (
46
+ fresnel_coefficients,
47
+ reflection_coefficients,
48
+ refraction_coefficients,
49
+ refractive_indices,
50
+ )
51
+ from ._interaction_type import InteractionType
52
+ from ._material import Material, materials
53
+ from ._utd import F, L_i, diffraction_coefficients
54
+ from ._utils import (
55
+ fspl,
56
+ lengths_to_delays,
57
+ path_delays,
58
+ sp_directions,
59
+ sp_rotation_matrix,
60
+ transition_matrices,
61
+ )