phased-array-systems 0.1.1__tar.gz → 0.1.2__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 (63) hide show
  1. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/PKG-INFO +1 -1
  2. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/__about__.py +1 -1
  3. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/antenna/metrics.py +2 -1
  4. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/.github/workflows/ci.yml +0 -0
  5. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/.github/workflows/publish.yml +0 -0
  6. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/.gitignore +0 -0
  7. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/CLAUDE.md +0 -0
  8. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/LICENSE +0 -0
  9. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/README.md +0 -0
  10. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/examples/01_comms_single_case.py +0 -0
  11. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/examples/02_comms_doe_trade.py +0 -0
  12. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/examples/configs/comms_basic.yaml +0 -0
  13. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/examples/configs/comms_doe.yaml +0 -0
  14. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/notebooks/tutorial_phased_array_trade_study.ipynb +0 -0
  15. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/pyproject.toml +0 -0
  16. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/ruff.toml +0 -0
  17. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/__init__.py +0 -0
  18. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/architecture/__init__.py +0 -0
  19. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/architecture/config.py +0 -0
  20. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/cli.py +0 -0
  21. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/constants.py +0 -0
  22. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/evaluate.py +0 -0
  23. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/io/__init__.py +0 -0
  24. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/io/config_loader.py +0 -0
  25. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/io/exporters.py +0 -0
  26. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/io/schema.py +0 -0
  27. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/__init__.py +0 -0
  28. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/antenna/__init__.py +0 -0
  29. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/antenna/adapter.py +0 -0
  30. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/base.py +0 -0
  31. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/comms/__init__.py +0 -0
  32. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/comms/link_budget.py +0 -0
  33. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/comms/propagation.py +0 -0
  34. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/swapc/__init__.py +0 -0
  35. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/swapc/cost.py +0 -0
  36. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/models/swapc/power.py +0 -0
  37. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/requirements/__init__.py +0 -0
  38. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/requirements/core.py +0 -0
  39. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/scenarios/__init__.py +0 -0
  40. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/scenarios/base.py +0 -0
  41. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/scenarios/comms.py +0 -0
  42. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/scenarios/radar.py +0 -0
  43. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/trades/__init__.py +0 -0
  44. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/trades/design_space.py +0 -0
  45. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/trades/doe.py +0 -0
  46. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/trades/pareto.py +0 -0
  47. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/trades/runner.py +0 -0
  48. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/types.py +0 -0
  49. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/utils/__init__.py +0 -0
  50. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/utils/hashing.py +0 -0
  51. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/viz/__init__.py +0 -0
  52. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/src/phased_array_systems/viz/plots.py +0 -0
  53. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/__init__.py +0 -0
  54. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_antenna_adapter.py +0 -0
  55. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_architecture.py +0 -0
  56. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_comms_link_budget.py +0 -0
  57. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_doe.py +0 -0
  58. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_evaluate.py +0 -0
  59. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_pareto.py +0 -0
  60. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_requirements.py +0 -0
  61. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_runner.py +0 -0
  62. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_swapc.py +0 -0
  63. {phased_array_systems-0.1.1 → phased_array_systems-0.1.2}/tests/test_viz.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: phased-array-systems
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Phased array antenna system design, optimization, and performance visualization
5
5
  Project-URL: Homepage, https://github.com/jman4162/phased-array-systems
6
6
  Project-URL: Documentation, https://github.com/jman4162/phased-array-systems#readme
@@ -1,4 +1,4 @@
1
1
  """Version and metadata for phased-array-systems."""
2
2
 
3
- __version__ = "0.1.1"
3
+ __version__ = "0.1.2"
4
4
  __author__ = "phased-array-systems contributors"
@@ -119,7 +119,8 @@ def compute_scan_loss(scan_angle_deg: float, model: str = "cosine") -> float:
119
119
  if loss_linear <= 0:
120
120
  return float("inf")
121
121
 
122
- return -10 * math.log10(loss_linear)
122
+ loss_db = -10 * math.log10(loss_linear)
123
+ return abs(loss_db) if abs(loss_db) < 1e-10 else loss_db # Avoid -0.0 display
123
124
 
124
125
 
125
126
  def compute_array_gain(n_elements: int, element_gain_db: float = 0.0) -> float: