Skip to main content

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

  1. Python 3.11 or higher
  2. Poetry package manager (Install Poetry)

Getting Started

  1. Clone the repository:

    git clone https://github.com/cascade-space-co/spacelink.git
    cd spacelink
    
  2. 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:

  1. Read the Guidelines: Review the CONTRIBUTING.md file for detailed instructions on coding style, testing, and project conventions.

  2. Set Up Your Environment:

    • Install dependencies using Poetry:
      poetry install
      
  3. 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
      
  4. Follow Code Style:

    • Format your code with Black:
      poetry run black .
      
    • Lint your code with Flake8:
      poetry run flake8 .
      
  5. 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!

Contributor Covenant

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spacelink-0.1.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spacelink-0.1.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page