plot#

Plotting module for SkySim. Combines a numpy array of RGB values from skysim.populate with the PlotSettings plotting configuration.

Functions#

High-Level Functions#

create_plot(plot_settings, image_matrix, ...)

Main function for this module, creates image files from image_matrix.

create_single_plot(plot_settings, ...)

Plotting function for a still image.

create_multi_plot(plot_settings, ...)

Plotting function for creating a video.

Low-Level Functions#

display_frame(ax, wcs, frame, frame_title)

Display a single frame on a matplotlib axes.

save_frame(index, plot_settings, frame, filename)

Create and save a figure for a single frame.

Movie-Specific Functions#

construct_ffmpeg_call(plot_settings)

Construct the command to call ffmpeg with.

run_ffmpeg(ffmpeg_call)

Run FFmpeg to convert the set of images into a video.

movie_cleanup(filenames, directory, ...)

Clean up the tempfiles used in creating a video.