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.