Metadata-Version: 2.4
Name: sionna-no-rt
Version: 2.0.0
Summary: Sionna - A hardware-accelerated differentiable open-source library for research on communication systems
Author-email: The Sionna contributors <sionna@nvidia.com>
License: Apache-2.0
Project-URL: source, https://github.com/nvlabs/sionna/
Project-URL: documentation, https://nvlabs.github.io/sionna/
Project-URL: issues, https://github.com/nvlabs/sionna/issues
Keywords: communication systems,ray tracing,physical layer,link-level simulation,system-level simulation,5G,6G,radio propagation,channel model,wireless communication,optical communication,wireless networks,deep learning,differentiable simulation,differentiable ray tracing,gradient-based optimization,automatic differentiation,neural networks,machine learning
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Telecommunications Industry
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: h5py>=3.15.1
Requires-Dist: importlib-resources>=6.5.2
Requires-Dist: matplotlib>=3.10.8
Requires-Dist: numpy>=2.2.6
Requires-Dist: scipy>=1.15.3
Requires-Dist: torch>=2.9.1
Provides-Extra: doc
Requires-Dist: ipython; extra == "doc"
Requires-Dist: nbsphinx==0.9.8; extra == "doc"
Requires-Dist: pydata-sphinx-theme==0.16.1; extra == "doc"
Requires-Dist: sphinx==9.1.0; extra == "doc"
Requires-Dist: sphinx-copybutton==0.5.2; extra == "doc"
Requires-Dist: sphinxcontrib-bibtex<3,>=2.6; extra == "doc"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-xdist; extra == "test"
Dynamic: license-file

<!--
SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0

-->
# Sionna 2.0: An Open-Source Library for Research on Communication Systems

Sionna&trade; is an open-source Python-based library for research on
communication systems.

The official documentation can be found
[here](https://nvlabs.github.io/sionna/).

It is composed of the following packages:

- [Sionna RT](https://nvlabs.github.io/sionna/rt/index.html) -
    A lightning-fast stand-alone ray tracer for radio propagation modeling

- [Sionna PHY](https://nvlabs.github.io/sionna/phy/index.html) -
    A link-level simulator for wireless and optical communication systems

- [Sionna SYS](https://nvlabs.github.io/sionna/sys/index.html) -
    A system-level simulator based on physical-layer abstraction

# Installation
Sionna PHY and Sionna SYS require [Python 3.11+](https://www.python.org/) and [PyTorch 2.9+](https://pytorch.org/get-started/locally/). We recommend Ubuntu 24.04. Earlier versions of PyTorch may still work but are not recommended. We refer to the [PyTorch get-started guide](https://pytorch.org/get-started/locally/) for GPU (CUDA) support and the required driver setup.

Sionna RT has the same requirements as [Mitsuba
3](https://github.com/mitsuba-renderer/mitsuba3) and we refer to its
[installation guide](https://mitsuba.readthedocs.io/en/stable/) for further
information. To run Sionna RT on CPU, [LLVM](https://llvm.org) is required by
[Dr.Jit](https://drjit.readthedocs.io/en/stable/). Please check the
[installation instructions for the LLVM
backend](https://drjit.readthedocs.io/en/latest/what.html#backends). The source
code of Sionna RT is located in a separate [GitHub repository](https://github.com/NVlabs/sionna-rt).

If you want to run the tutorial notebooks on your machine, you also need
[JupyterLab](https://jupyter.org/). You can alternatively test them on [Google
Colab](https://colab.research.google.com/). Although not necessary, we recommend
running Sionna in a [Docker container](https://www.docker.com) and/or [Python virtual
enviroment](https://docs.python.org/3/library/venv.html).

## Installation via pip
The recommended way to install Sionna is via pip:
```
pip install sionna
```

If you want to install only Sionna RT, run:
```
pip install sionna-rt
```

You can install Sionna without the RT package via
```
pip install sionna-no-rt
```

## Installation from source
1. Clone the repository with all submodules:
    ```
    git clone --recursive https://github.com/NVlabs/sionna
    ```
    If you have already cloned the repository but forgot to set the `--recursive`
    flag, you can correct this via:
    ```
    git submodule update --init --recursive --remote
    ```
2. Install Sionna (including Sionna RT) by running the following command from within the repository's
   root folder:
    ```
    pip install ext/sionna-rt/ .
    pip install .
    ```

## Testing
First, you need to install the test requirements by executing the
following command from the repository's root directory:

```
pip install '.[test]'
```

The unit tests can then be executed by running ``pytest`` from within the
``test`` folder.

## Building the Documentation
Install the requirements for building the documentation by running the following
command from the repository's root directory:

```
pip install '.[doc]'
```

You might need to install [pandoc](https://pandoc.org) manually.

You can then build the documentation by executing ``make html`` from within the ``doc`` folder.

To serve the documentation locally:

```
make serve
```

This serves the documentation at `http://localhost:8000/sionna/` with the same URL structure as the production website. You can specify a different port with `make serve PORT=9000`.

For local development without the `/sionna/` prefix, build and serve with:

```
BASE_PATH= make html
BASE_PATH= make serve
```


## License and Citation

Sionna is Apache-2.0 licensed, as found in the [LICENSE](https://github.com/nvlabs/sionna/blob/main/LICENSE) file.

If you use this software, please cite it as:
```bibtex
@software{sionna,
 title = {Sionna},
 author = {Hoydis, Jakob and Cammerer, Sebastian and {Ait Aoudia}, Fayçal and Nimier-David, Merlin and Maggi, Lorenzo and Marcus, Guillermo and Vem, Avinash and Keller, Alexander},
 note = {https://nvlabs.github.io/sionna/},
 year = {2022},
 version = {2.0.0}
}
```
