Skip to main content

Uses the STK software to create simulations for satellite testing

Project description

STKHelper

STKHelper is a Python package designed for making interfacing with AGI's STK easier.

Installation

STKHelper is available on the Python Packaging Index and can be installed using pip

pip install stkhelper

Usage

Interfacing STK with Python can be difficult task due to its confusing class system, which involves lots of type casting and several references to the same object. To combat this, STKHelper implements a "guardian class relationship". Every object (with the exception of the application itself) has a guardian objects, which is the object that contains it. For example, a scenario is the guardian of all the satellites and area targets that are contained in the scenario. Similarly, a satellite is the guardian for all cameras that it contains.

from stkhelper import application, scenario, scenarioObjects

app = application.Application()
scene = scenario.Scenario(app,'TestScenario','+24hr')
sat = scenarioObjects.Satellite(scene,'TestSat',25544)

In this code snippet, an application is created. In that application, a scenario is added and the reference to the app is passed as the guardian in the declaration. When the satellite is created, the scenario reference is passed at declaration as the guardian. The reference to the guardian can always be returned with the following method on all objects:

object.GetReference()

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

stkhelper-3.0.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

stkhelper-3.0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file stkhelper-3.0.1.tar.gz.

File metadata

  • Download URL: stkhelper-3.0.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/2.7.15

File hashes

Hashes for stkhelper-3.0.1.tar.gz
Algorithm Hash digest
SHA256 5dfd511b7f2c8933be66d4dcc811c58b04c25069d455278b7413703c5d478231
MD5 8a6a9d9bbe0ef019ea033a7c5e3e15b8
BLAKE2b-256 35a80f4425c87cf8b895a0c7592c70ae768befe3a1d9f4b957c5e283b757b095

See more details on using hashes here.

File details

Details for the file stkhelper-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: stkhelper-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/2.7.15

File hashes

Hashes for stkhelper-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48c4e5f03bca4f7152da2ea103344ef676a5d4b19eac228f1ada3ca7518c6984
MD5 9a6ddde440992a308a6709df4b7eca6d
BLAKE2b-256 a1fa6a599df7f3d6a47154e227b9c254fab95fb988a43a131a77fd1571b53678

See more details on using hashes here.

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