poliastro.plotting.tisserand

Generates Tisserand plots.

Module Contents

Classes

TisserandKind

All possible Tisserand kinds.

TisserandPlotter

Generates Tisserand figures.

class poliastro.plotting.tisserand.TisserandKind

Bases: enum.Enum

All possible Tisserand kinds.

APSIS = 'apsis'
ENERGY = 'energy'
PERIOD = 'period'
__repr__()

Return repr(self).

__str__()

Return str(self).

__dir__()

Returns all members and all public methods

__format__(format_spec)

Returns format using actual value type unless __str__ has been overridden.

__hash__()

Return hash(self).

__reduce_ex__(proto)

Helper for pickle.

name()

The name of the Enum member.

value()

The value of the Enum member.

class poliastro.plotting.tisserand.TisserandPlotter(kind=TisserandKind.APSIS, axes=None)

Generates Tisserand figures.

plot_line(body, vinf, alpha_lim=(0, np.pi), color=None)

Plots body Tisserand line within flyby angle.

Parameters
  • body (Body) – Body to be plotted Tisserand

  • vinf (Quantity) – Vinf velocity line

  • alpha_lim (tuple) – Minimum and maximum flyby angles

  • color (str) – String representing for the color lines

Returns

self.ax – Apsis tisserand is the default plotting option

Return type

Axes

plot(body, vinf_span, num_contours=10, color=None)

Plots body Tisserand for given amount of solutions within Vinf span.

Parameters
  • body (Body) – Body to be plotted Tisserand

  • vinf_span (tuple) – Minimum and maximum Vinf velocities

  • num_contours (int) – Number of points to iterate over previously defined velocities

  • color (str) – String representing for the color lines

Returns

self.ax – Apsis tisserand is the default plotting option

Return type

Axes