Pluto

Class to model Pluto planet.

Pluto examples

class pyplanets.planets.pluto.Pluto(epoch: pyplanets.core.epoch.Epoch)[source]

Class Pluto models that minor planet.

__init__(epoch: pyplanets.core.epoch.Epoch)[source]

Initialize self. See help(type(self)) for accurate signature.

__weakref__

list of weak references to the object (if defined)

geocentric_position() -> (<class 'pyplanets.core.angle.Angle'>, <class 'pyplanets.core.angle.Angle'>)[source]

This method computes the geocentric position of Pluto (right ascension and declination) for the given epoch, for the standard equinox J2000.0. TODO: What is the reference system for the Constellation-Compute-Scheme (all other planets)?

Returns

A tuple containing the right ascension and the declination as Angle objects

Return type

tuple

Raises

ValueError if input epoch outside the 1885-2099 range.

>>> epoch = Epoch(1992, 10, 13.0)
>>> ra, dec = Pluto(epoch).geocentric_position()
>>> print(ra.ra_str(n_dec=1))
15h 31' 43.7''
>>> print(dec.dms_str(n_dec=0))
-4d 27' 29.0''
geometric_heliocentric_position(tofk5=True)[source]

This method computes the geometric heliocentric position of planet Pluto for a given epoch.

Note: parameter tofk only introduced to allow duck-typing, not used at all here

Returns

A tuple with the heliocentric longitude and latitude (as Angle objects), and the radius vector (as a float, in astronomical units), in that order

Return type

tuple

Raises

ValueError if input epoch outside the 1885-2099 range.

>>> epoch = Epoch(1992, 10, 13.0)
>>> l, b, r = Pluto(epoch).geometric_heliocentric_position()
>>> print(round(l, 5))
232.74071
>>> print(round(b, 5))
14.58782
>>> print(round(r, 6))
29.711111