A Python library for radio frequency calculations, including antenna modeling, RF conversions, and noise calculations.
Created and maintained by Cascade Space.
Published documentation for the latest released version can be found here: https://cascade-space-co.github.io/spacelink/
- Antenna Modeling: Calculate antenna gain, beamwidth, and polarization effects
- RF System Analysis: Model complete RF chains with cascaded elements
- Link Budget Calculations: Comprehensive analysis of radio communication links
- Noise Calculations: System noise temperature and related parameters
- Space Communications: Built-in support for satellite link analysis
- Unit-Aware Calculations: Integrated unit handling for RF parameters
For users who want to import a released version of the package:
pip install spacelinkAside from modifying the source code you may want to install from source in order to:
- Run the provided Jupyter notebooks
- Generate the documentation locally for a specific version
- Python 3.11 or higher
- Poetry package manager (Install Poetry)
-
Clone the repository:
git clone https://github.com/cascade-space-co/spacelink.git cd spacelink -
Install it to a Poetry virtual environment using one of these options:
-
Production mode without developer tools:
poetry install
-
With developer tools:
poetry install --with dev
-
With Jupyter notebook dependencies:
poetry install --with demo
-
With developer tools and Jupyter notebook dependencies:
poetry install --with dev,demo
-
The documentation includes API references and technical guides.
To build the documentation locally:
poetry run sphinx-build -b html docs/source docs/build/htmlThen open docs/build/html/index.html in your browser.
We welcome contributions to the SpaceLink project! See CONTRIBUTING.md for detailed instructions and guidelines.