SynCollection¶
- class sbpy.dynamics.syndynes.SynCollection(items: Iterable[SynStates])[source] [edit on github]¶
Bases:
objectImmutable collection of syndynes or synchrones.
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:
- ax
Axes, optional Plot to this axis object.
- wcs
WCS, optional Transform coordinates to the image plane using this world coordinate system object.
- unit
Unitorstr, optional Plot in these angular units.
- label_format
str, optional A string defining the label format.
{beta}or{age}will be replaced as appropriate for the syndyne or synchrone.- **kwargs
dict Keyword arguments are passed along to
ax.plot.
- ax
- to_ephem() Ephem[source] [edit on github]¶
Convert to an sbpy ephemeris object.
Only the metadata from the first item is retained.