API Documentation

pywwt Package

Functions

load_jupyter_server_extension(nb_server_app)

Classes

Annotation([parent])

Base class for annotations which provides settings common to all shapes.

BaseWWTWidget(**kwargs)

The core class in common to the Qt and Jupyter widgets.

Circle([parent, center])

A circular annotation.

FieldOfView(parent, telescope, center, rot, …)

A collection of polygon annotations.

Line([parent])

A line annotation.

Polygon([parent])

A polygon annotation.

pywwt.jupyter Module

Classes

WWTJupyterWidget()

An AAS WorldWide Telescope Jupyter widget.

pywwt.qt Module

Classes

WWTQtClient([block_until_ready, size])

A client to create and drive the Qt widget.

pywwt.windows Package

Functions

convert_xyz_to_spherical(x, y, z[, …])

Convert rectangular coordinates (x,y,z) to spherical coordinates (Lat, Lon, Alt) or (RA, Dec, Alt).

generate_utc_times(num_steps, step_size[, …])

Generate a series of equally linearly spaced times in UTC.

map_array_to_colors(arr, cmap[, scale, …])

Map a NumPy array to a colormap using Matplotlib.

write_data_to_csv(data, filename[, mode])

Write a dataset to a CSV-formatted file with a data header.

Classes

WWTLayer(name, id, fields, wwt)

A WWTLayer object corresponding to a layer in WWT’s Layer Manager.

WWTWindowsClient([host])

Initialize a WWTWindowsClient, connecting to a WWT client.

pywwt.solar_system Module

Classes

SolarSystem(base_wwt_widget)

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

pywwt.layers Module

Classes

LayerManager([parent])

A simple container for layers.

TableLayer([parent, table, frame])

A layer where the data is stored in an Table

ImageLayer([parent, image])

An image layer.

pywwt.instruments Module

Classes

Instruments()

A supplemental class that enables tab-completion for available instruments in FieldOfView().