differt 0.0.29__tar.gz → 0.0.31__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 (37) hide show
  1. {differt-0.0.29 → differt-0.0.31}/PKG-INFO +5 -5
  2. differt-0.0.31/README.md +88 -0
  3. {differt-0.0.29 → differt-0.0.31}/pyproject.toml +6 -3
  4. differt-0.0.31/src/differt/em/__init__.py +61 -0
  5. differt-0.0.31/src/differt/em/_antenna.py +662 -0
  6. differt-0.0.31/src/differt/em/_constants.py +11 -0
  7. differt-0.0.31/src/differt/em/_fresnel.py +457 -0
  8. differt-0.0.31/src/differt/em/_interaction_type.py +13 -0
  9. differt-0.0.31/src/differt/em/_material.py +290 -0
  10. differt-0.0.31/src/differt/em/_utd.py +305 -0
  11. differt-0.0.31/src/differt/em/_utils.py +381 -0
  12. {differt-0.0.29 → differt-0.0.31}/src/differt/geometry/__init__.py +4 -0
  13. {differt-0.0.29 → differt-0.0.31}/src/differt/geometry/_paths.py +141 -52
  14. {differt-0.0.29 → differt-0.0.31}/src/differt/geometry/_triangle_mesh.py +212 -60
  15. {differt-0.0.29 → differt-0.0.31}/src/differt/geometry/_utils.py +100 -74
  16. {differt-0.0.29 → differt-0.0.31}/src/differt/plotting/_core.py +6 -4
  17. {differt-0.0.29 → differt-0.0.31}/src/differt/plotting/_utils.py +2 -1
  18. differt-0.0.31/src/differt/py.typed +0 -0
  19. {differt-0.0.29 → differt-0.0.31}/src/differt/rt/_fermat.py +10 -9
  20. {differt-0.0.29 → differt-0.0.31}/src/differt/rt/_image_method.py +38 -25
  21. {differt-0.0.29 → differt-0.0.31}/src/differt/rt/_utils.py +40 -33
  22. {differt-0.0.29 → differt-0.0.31}/src/differt/scene/_sionna.py +95 -1
  23. {differt-0.0.29 → differt-0.0.31}/src/differt/scene/_triangle_scene.py +31 -45
  24. {differt-0.0.29 → differt-0.0.31}/src/differt/utils.py +51 -41
  25. differt-0.0.29/README.md +0 -1
  26. differt-0.0.29/src/differt/em/__init__.py +0 -18
  27. differt-0.0.29/src/differt/em/_constants.py +0 -10
  28. differt-0.0.29/src/differt/em/_special.py +0 -227
  29. differt-0.0.29/src/differt/em/_utd.py +0 -82
  30. differt-0.0.29/src/differt/em/_utils.py +0 -83
  31. {differt-0.0.29 → differt-0.0.31}/.gitignore +0 -0
  32. {differt-0.0.29 → differt-0.0.31}/LICENSE.md +0 -0
  33. {differt-0.0.29 → differt-0.0.31}/src/differt/__init__.py +0 -0
  34. {differt-0.0.29 → differt-0.0.31}/src/differt/_version.py +0 -0
  35. {differt-0.0.29 → differt-0.0.31}/src/differt/plotting/__init__.py +0 -0
  36. {differt-0.0.29 → differt-0.0.31}/src/differt/rt/__init__.py +0 -0
  37. {differt-0.0.29 → differt-0.0.31}/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.29
3
+ Version: 0.0.31
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.29
24
+ Requires-Dist: differt-core==0.0.31
25
25
  Requires-Dist: equinox>=0.11.5
26
26
  Requires-Dist: filelock>=3.15.4
27
27
  Requires-Dist: jax>=0.4.32
@@ -0,0 +1,88 @@
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/jeertmans/DiffeRT/main/static/logo_250px.png" alt="DiffeRT logo"></img>
3
+ </div>
4
+
5
+ <div align="center">
6
+
7
+ # DiffeRT
8
+
9
+ [![Latest Release][pypi-version-badge]][pypi-version-url]
10
+ [![Python version][pypi-python-version-badge]][pypi-version-url]
11
+ [![Documentation][documentation-badge]][documentation-url]
12
+ [![DOI][doi-badge]][doi-url]
13
+ [![Codecov][codecov-badge]][codecov-url]
14
+
15
+ </div>
16
+
17
+ ## Usage
18
+
19
+ > [!WARNING]
20
+ > Until this package reaches version `v0.1.0`, breaking changes
21
+ > should be expected.
22
+ > Checkout the [v0.1.0](https://github.com/jeertmans/DiffeRT/milestone/1)
23
+ > and [v1.0.0](https://github.com/jeertmans/DiffeRT/milestone/2) milestones for future
24
+ > features.
25
+ >
26
+ > If you have any suggestion regarding the development of this package,
27
+ > please open an [issue](https://github.com/jeertmans/DiffeRT/issues).
28
+
29
+ The easiest way to install DiffeRT is through pip:
30
+
31
+ ```bash
32
+ pip install differt
33
+ ```
34
+
35
+ We provide pre-built binaries for most platforms. If you want (or need)
36
+ to build the package from the source distribution,
37
+ or want to customize the installation (e.g., with GPU support), check out the
38
+ [installation guide](https://differt.readthedocs.io/latest/installation.html).
39
+
40
+ ### Reporting an issue
41
+
42
+ <!-- start reporting-an-issue -->
43
+
44
+ If you think you found a bug,
45
+ an error in the documentation,
46
+ or wish there was some feature that is currently missing,
47
+ we would love to hear from you!
48
+
49
+ The best way to reach us is via the
50
+ [GitHub issues](https://github.com/jeertmans/DiffeRT/issues?q=is%3Aissue).
51
+ If your problem is not covered by an already existing (closed or open) issue,
52
+ then we suggest you create a
53
+ [new issue](https://github.com/jeertmans/DiffeRT/issues/new/choose).
54
+ You can choose from a list of templates, or open a
55
+ [blank issue](https://github.com/jeertmans/DiffeRT/issues/new)
56
+ if your issue does not fit one of the proposed topics.
57
+
58
+ The more precise you are in the description of your problem, the faster we will
59
+ be able to help you!
60
+
61
+ If you rather have question than a problem,
62
+ then it is probably best suited to ask it in the
63
+ [Q&A category of the discussions](https://github.com/jeertmans/DiffeRT/discussions/categories/q-a).
64
+
65
+ <!-- end reporting-an-issue -->
66
+
67
+ ## Contributing
68
+
69
+ All types of contributions are more than welcome!
70
+
71
+ Please follow the
72
+ [contributing guide](https://differt.readthedocs.io/latest/contributing.html)
73
+ for a detailed step-by-step procedure.
74
+
75
+ ## Citing
76
+
77
+ If you use this software, please cite it as
78
+ [detailed here](https://differt.readthedocs.io/latest/citing.html).
79
+
80
+ [pypi-version-badge]: https://img.shields.io/pypi/v/DiffeRT?label=DiffeRT&color=blueviolet
81
+ [pypi-version-url]: https://pypi.org/project/DiffeRT/
82
+ [pypi-python-version-badge]: https://img.shields.io/pypi/pyversions/DiffeRT?color=orange
83
+ [documentation-badge]: https://readthedocs.org/projects/differt/badge/?version=latest
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
87
+ [codecov-badge]: https://codecov.io/gh/jeertmans/DiffeRT/branch/main/graph/badge.svg?token=v63alnTWzu
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.29",
19
+ "differt-core==0.0.31",
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"
@@ -69,6 +68,10 @@ exclude = [
69
68
  "tests",
70
69
  ]
71
70
 
71
+ [tool.hatch.build.targets.sdist.force-include]
72
+ "../LICENSE.md" = "LICENSE.md"
73
+ "../README.md" = "README.md"
74
+
72
75
  [tool.hatch.build.targets.wheel]
73
76
  exclude = [
74
77
  "conftest.py",
@@ -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
+ )