Code Samples

Displaying 1 - 20 of 245

Modifying All Astrogator Segments of a Specified Type

  • Code Sample

An example of how to modify the properties of all Astrogator segments of a specified type for an Astrogator satellite. Three examples are shown:...

Read More

GPSConstellationPlugin

  • Code Sample

This GPSConstellationPlugin shows how to use the STK Components in any .Net application. This example shows how to propagate GPS satellite orbits...

Read More

Export FOM Contours and Report Stats

  • Code Sample

This C sharp 2010 solution will loop through array of altitude values and for each compute coverage and export coverage figure of merit smooth...

Read More

Communications Demo

  • Code Sample

Sensor coverage from a stationary object. Code has been added to the Communications demo that ships with STK Components.

Read More

Astrogator Object Model Walkthrough - MATLAB

  • Code Sample

Walks through the basic functions of the STK Astrogator Object Model by building the Hohmann Transfer

Read More

Axes Aligned Constrained Example

  • Code Sample

This example shows how to align a platform's orientation axes to a supplied velocity vector. It also visualizes the alignment with the...

Read More

Java Sensor Projection Data Providers

  • Code Sample

Query data providers using Java

Read More

STK 11 Aviator Connect Example

  • Code Sample

Example script shows how to create a new scenario with an Aviator aircraft route using Connect commands

Read More

How to incorporate a Custom Scalar into a MATLAB Custom Loss Plugin Script?

  • Code Sample

This plugin takes an altitude above terrain scalar from Analysis Workbench and computes an RF environment loss through a MATLAB script.

Read More

Deck Access Visualization and Analysis

  • Code Sample

An example of running deck access with Python, using the results to import objects into STK for visualization and further plotting techniques in...

Read More

Automated GEO Station-keeping Scenario and Walk-through

  • Code Sample

An automated GEO station-keeping scenario with user-facing scripting inputs. Supports impulsive and finite maneuver modeling.

Read More

How to Find the Closest Earth Edge/Limb/Grazing Angle

  • Code Sample

The steps to create the Analysis Workbench components to find the *closest* grazing angle from a given vector, such as a Sensor's boresight vector....

Read More

STK SOC Satellite Overflight Tool and Scenario

  • Code Sample

A satellite overflight planning tool that uses data from the AGI Standard Object Catalog (SOC) to make commercial overflight prediction simple for...

Read More

How to make your scalar calculation script available in STK

  • Code Sample

Instructions are provided for making your scalar calculation script available in STK.

Read More

Slew attitude into and out of maneuvers

  • Code Sample

Astrogator can adjust the satellite attitude to be aligned with the thrust direction during a maneuver, but it will not slew into that attitude....

Read More

Varying Scenario Time Frame with Analyzer Macro

  • Code Sample

Macro scripts can be used with Analyzer in order to vary the scenario start and stop time.

Read More

Simulink / STK Solar Energy

  • Code Sample

This example shows how satellite power system designed in Simulink can be integrated with STK for testing and analysis of that system

Read More

Rectangular Sensor Corner Points

  • Code Sample

Determine the corner lat/lon values of a rectangular sensor.

Read More

RouteSmoother

  • Code Sample

Use to 'smooth' out rough, jittery, or jumpy ephemeris data.

Read More