Visualizer Demo

The examples/visualizer_demo.py script demonstrates usage of the Visualizer provided with DSNS, and can be used to run a number of example constellations.

Demo script for the constellation visualizer, with a range of configurable presets.

usage: visualizer_demo.py [-h]
                          [--preset {ground,gps,iridium,starlink,starlink-tle,cubesat-tle,multi-layer,leo-leo,leo-meo,leo-geo,leo-meo-geo,earth-mars,earth-moon}]
                          [--time-scale TIME_SCALE]
                          [--space-scale SPACE_SCALE]
                          [--interplanetary-scale INTERPLANETARY_SCALE]
                          [--viewport-size VIEWPORT_SIZE VIEWPORT_SIZE] [-w]

Named Arguments

--preset

Possible choices: ground, gps, iridium, starlink, starlink-tle, cubesat-tle, multi-layer, leo-leo, leo-meo, leo-geo, leo-meo-geo, earth-mars, earth-moon

The preset to use (earth-mars, starlink, etc.)

Default: 'earth-mars'

--time-scale

The time scale to use (s/s)

Default: 100.0

--space-scale

The space scale to use (m/m)

Default: 1e-06

--interplanetary-scale

The interplanetary scale to use (m/m)

Default: 1e-10

--viewport-size

The viewport size to use (px, px)

Default: (800, 600)

-w, --white-bg

Use a white background instead of the default black

Default: False