visualizeutils

utils

Visualization utilities.

Classes

Arrow3D

Draw a 3D annotation arrow on a matplotlib 3D plot

Functions

write_video_from_images(images, out_path, fps, images_format, quality, codec, auto_sort_paths)

Creates a video from a set of images.

write_gif_from_images(images, out_path, interval, images_format, auto_sort_paths)

Creates a gif from a set of images, and saves it to out_path.

display_animation_from_images(files, interval, style, animID, embedded)

Creates an IPython animation out of files specified in a globstring or a list of paths.

find_files_and_order_them(files, files_format)

Find files in a list of directories or a directory and order them.

draw_arrow(morphology, ax, highlight_section, highlight_x, highlight_arrow_kwargs, arrow_size)

Highlight a morphology section with an Arrow3D.

value_to_color(v, vmin, vmax)

Map a value to a color.