Ground Track Plots – ephemerista.plot.groundtrack
¶
The groundtrack.py module.
This module provides the GroundTrack class for plotting satellite ground tracks with plotly.
- class ephemerista.plot.groundtrack.GroundTrack(trajectory, *, animate=False, label=None, title=None, projection=None, config=None)¶
A class for plotting satellite ground tracks in various projections.
- animate(*, show=True)¶
Animate the ground track plot.
- Parameters:
show (bool, optional) – Update the plot or pass show=True to display the plot immediately. Defaults to True.
- plot()¶
Plot the ground track.
- plot_ground_station_network(network, color=None, size=None)¶
Plot the locations of all ground stations in a list on the map.
- Parameters:
network (list[GroundStation]:) – A list of ground stations
color (str, optional) – Colour of the ground station marker. Defaults to DEFAULT_GROUND_STATION_COLOR.
size (float, optional) – Size of the ground station marker. Defaults to DEFAULT_GROUND_STATION_SIZE.
- plot_groundstation(gs, color=None, size=None, name=None, hovertext=None)¶
Plot a GroundStation’s location on the map.
- Parameters:
gs (GroundStation)) – Ground station object
color (str, optional)) – Colour of the ground station marker. Defaults to DEFAULT_GROUND_STATION_COLOR.
size (float, optional)) – Size of the ground station marker. Defaults to DEFAULT_GROUND_STATION_SIZE.
name (str, optional)) – Name of the ground station. Defaults to GroundStation.name.
hovertext (str, optional)) – Desired hover text info for the ground station. Defaults to GroundStation.name.
- Return type:
None
- update_projection(p)¶
Update the map projection.
- Return type:
None