Space link budget calculation package
Project description
SpaceLink
A Python library for radio frequency calculations, including antenna modeling, RF conversions, and noise calculations.
Created and maintained by Cascade Space
Features
- 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
Installation
Quick Install
For users who want to use the package:
pip install spacelink
Development Setup
Prerequisites
- Python 3.11 or higher
- Poetry package manager (Install Poetry)
Getting Started
-
Clone the repository:
git clone https://github.com/cascade-space-co/spacelink.git cd spacelink
-
Install dependencies:
poetry install
For production use without development tools:
poetry install --without dev
Documentation
The documentation includes API references and technical guides.
To build the documentation locally:
poetry run sphinx-build -b html docs/source docs/build
Contributing
We welcome contributions to the SpaceLink project! To get started, please follow these steps:
-
Read the Guidelines: Review the CONTRIBUTING.md file for detailed instructions on coding style, testing, and project conventions.
-
Set Up Your Environment:
- Install dependencies using Poetry:
poetry install
- Install dependencies using Poetry:
-
Run Tests:
- Ensure all tests pass before submitting your changes:
poetry run pytest
- Run tests with coverage:
poetry run pytest --cov=spacelink --cov-report=term-missing
- Run a specific test file:
poetry run pytest tests/core/test_antenna.py
- Run tests with verbose output:
poetry run pytest -v
- Ensure all tests pass before submitting your changes:
-
Follow Code Style:
- Format your code with Black:
poetry run black .
- Lint your code with Flake8:
poetry run flake8 .
- Format your code with Black:
-
Submit a Pull Request:
- Push your changes to a feature branch and open a pull request on GitHub.
- Provide a clear description of your changes and link any related issues.
Thank you for contributing to SpaceLink!
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spacelink-0.1.2.tar.gz.
File metadata
- Download URL: spacelink-0.1.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef9a71dc4fc9e4eebeba5410b4d0529b4f3ec70b8cd66fd7b3d6940559cb9fe0
|
|
| MD5 |
2945cf2e77b3f40fbeb5c24722ee606d
|
|
| BLAKE2b-256 |
b04b77b00e125338b170ea786b01260b0906eb53edd749a3870a6fe91d5eab51
|
Provenance
The following attestation bundles were made for spacelink-0.1.2.tar.gz:
Publisher:
publish-pypi.yml on cascade-space-co/spacelink
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spacelink-0.1.2.tar.gz -
Subject digest:
ef9a71dc4fc9e4eebeba5410b4d0529b4f3ec70b8cd66fd7b3d6940559cb9fe0 - Sigstore transparency entry: 260112627
- Sigstore integration time:
-
Permalink:
cascade-space-co/spacelink@382fc1d2ea71de64a2a2a6b84ebd9f15dea8e27b -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/cascade-space-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@382fc1d2ea71de64a2a2a6b84ebd9f15dea8e27b -
Trigger Event:
release
-
Statement type:
File details
Details for the file spacelink-0.1.2-py3-none-any.whl.
File metadata
- Download URL: spacelink-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a579bdf420004a0a00d7a9989ca0b6303058122e18614f5702cd19d81aa5ad51
|
|
| MD5 |
4802ea8727085e197c1112c388fff68b
|
|
| BLAKE2b-256 |
ad862e3748e1fc695368a3a28b104718f541b14801066de8f73ff0a75bf540b3
|
Provenance
The following attestation bundles were made for spacelink-0.1.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on cascade-space-co/spacelink
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spacelink-0.1.2-py3-none-any.whl -
Subject digest:
a579bdf420004a0a00d7a9989ca0b6303058122e18614f5702cd19d81aa5ad51 - Sigstore transparency entry: 260112652
- Sigstore integration time:
-
Permalink:
cascade-space-co/spacelink@382fc1d2ea71de64a2a2a6b84ebd9f15dea8e27b -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/cascade-space-co
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@382fc1d2ea71de64a2a2a6b84ebd9f15dea8e27b -
Trigger Event:
release
-
Statement type: