poliastro.earth.plotting.groundtrack

Holds ground-track plotter for Earth satellites

Module Contents

Classes

GroundtrackPlotter

Generates two-dimensional ground-track

class poliastro.earth.plotting.groundtrack.GroundtrackPlotter(fig=None, color_palette=EARTH_PALETTE)

Generates two-dimensional ground-track

update_geos(self, **config)

Enables user to customize geo figure

Parameters

**config (dict) – A collection of custom values for geo figure

update_layout(self, **config)

Enables user to customize figure layout

Parameters

**config (dict) – A collection of custom values for figure layout

add_trace(self, trace)

Adds trace to custom figure

plot(self, earth_ss, t_span, label, color, line_style={}, marker={})

Plots desired Earth satellite orbit for a given time span.

Parameters
  • earth_ss (EarthSatellite) – Desired Earth’s satellite to who’s grountrack will be plotted

  • t_span (TimeDelta) – A collection of epochs

  • label (str) – Label for the groundtrack.

  • color (string) – Desired lines and traces color

  • line_style (dict) – Dictionary for customizing groundtrack line trace

  • marker (dict) – Dictionary for customizing groundtrack marker trace

Returns

fig – Output figure

Return type

Figure