spyrit.misc.disp

Functions

Multi_plots(img_list, title_list, shape[, ...])

add_colorbar(mappable[, position, size])

Example:

compare_video_frames(vid_list, ...[, ...])

display_rgb_vid(video, fps[, title])

video is a numpy array of shape [nb_frames, 3, nx, ny]

display_vid(video, fps[, title, colormap])

video is a numpy array of shape [nb_frames, 1, nx, ny]

fitPlots(N[, aspect])

histogram(s)

imagecomp(Img1, Img2[, suptitle, title1, ...])

imagepanel(Img1, Img2, Img3, Img4[, ...])

imagesc(Img[, title, colormap, show, ...])

imagesc(IMG) Display image Img with scaled colors with greyscale colormap and colorbar imagesc(IMG, title=ttl) Display image Img with scaled colors with greyscale colormap and colorbar, with the title ttl imagesc(IMG, title=ttl, colormap=cmap) Display image Img with scaled colors with colormap and colorbar specified by cmap (choose between 'plasma', 'jet', and 'grey'), with the title ttl

noaxis(axs)

plot(x, y[, title, xlabel, ylabel, color])

pre_process_video(video, crop_patch, kernel_size)

print_mean_std(x[, tag, prec])

string_mean_std(x[, prec])

torch2numpy(torch_tensor)

uint8(dsp)

vid2batch(root, img_dim, start_frame, end_frame)