SolarSystem

class pywwt.solar_system.SolarSystem(**kwargs: Any)[source]

Bases: HasTraits

A supplemental class that enables tab-completion for settings associated with solar system mode.

Attributes Summary

cosmos

Whether to show data from the SDSS survey (bool)

lighting

Whether to show the lighting effect of the Sun on the solar system (bool)

milky_way

Whether to show the galactic bulge in the background in solar system mode (bool)

minor_orbits

Whether to show the orbits of minor planets in solar system mode (bool)

objects

Whether to show the objects of the solar system in solar system mode (bool)

orbits

Whether to show orbit paths when the solar system is displayed (bool)

scale

Specifies how to scale objects' size in solar system mode, with 1 as actual size and 100 as the maximum (int)

stars

Whether to show background stars in solar system mode (bool)

Methods Summary

track_object(obj)

Focus the viewer on a particular object while in solar system mode.

Attributes Documentation

cosmos

Whether to show data from the SDSS survey (bool)

lighting

Whether to show the lighting effect of the Sun on the solar system (bool)

milky_way

Whether to show the galactic bulge in the background in solar system mode (bool)

minor_orbits

Whether to show the orbits of minor planets in solar system mode (bool)

objects

Whether to show the objects of the solar system in solar system mode (bool)

orbits

Whether to show orbit paths when the solar system is displayed (bool)

scale

Specifies how to scale objects’ size in solar system mode, with 1 as actual size and 100 as the maximum (int)

stars

Whether to show background stars in solar system mode (bool)

Methods Documentation

track_object(obj)[source]

Focus the viewer on a particular object while in solar system mode. Available objects include the Sun, the planets, the Moon, Jupiter’s Galilean moons, and Pluto.

Parameters:
objstr

The desired solar system object.