SynCollection

class sbpy.dynamics.syndynes.SynCollection(items: Iterable[SynStates])[source] [edit on github]

Bases: object

Immutable collection of syndynes or synchrones.

Parameters:
itemsarray of Syndyne or Synchone

The items.

Methods Summary

plot([ax, wcs, unit, label_format])

Plot the collection.

to_ephem()

Convert to an sbpy ephemeris object.

Methods Documentation

plot(ax: Axes | None = None, *, wcs: WCS | None = None, unit: Unit | str = 'arcsec', label_format: str | None = None, **kwargs) None[source] [edit on github]

Plot the collection.

Parameters:
axAxes, optional

Plot to this axis object.

wcsWCS, optional

Transform coordinates to the image plane using this world coordinate system object.

unitUnit or str, optional

Plot in these angular units.

label_formatstr, optional

A string defining the label format. {beta} or {age} will be replaced as appropriate for the syndyne or synchrone.

**kwargsdict

Keyword arguments are passed along to ax.plot.

to_ephem() Ephem[source] [edit on github]

Convert to an sbpy ephemeris object.

Only the metadata from the first item is retained.