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(**config)

Enables user to customize geo figure.

Parameters

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

update_layout(**config)

Enables user to customize figure layout.

Parameters

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

add_trace(trace)

Adds trace to custom figure.

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

Plots desired Earth satellite orbit for a given time span.

Parameters
  • earth_orb (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