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__(self)

Return repr(self).

__str__(self)

Return str(self).

__dir__(self)

Returns all members and all public methods

__format__(self, format_spec)

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

__hash__(self)

Return hash(self).

__reduce_ex__(self, proto)

Helper for pickle.

name(self)

The name of the Enum member.

value(self)

The value of the Enum member.

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

Generates Tisserand figures

plot_line(self, 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(self, 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