boinor.plotting.tisserand

Generates Tisserand plots.

Classes

TisserandKind

All possible Tisserand kinds.

TisserandPlotter

Generates Tisserand figures.

Module Contents

class boinor.plotting.tisserand.TisserandKind(*args, **kwds)

Bases: enum.Enum

All possible Tisserand kinds.

APSIS = 'apsis'
ENERGY = 'energy'
PERIOD = 'period'
class boinor.plotting.tisserand.TisserandPlotter(kind=TisserandKind.APSIS, axes=None)

Generates Tisserand figures.

kind
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