make_real_vs_sampled_movies¶
- behavenet.plotting.arhmm_utils.make_real_vs_sampled_movies(ims_recon, ims_recon_samp, conditional, save_file=None, frame_rate=15)[source]¶
Produce movie with (AE) reconstructed video and sampled video.
- Parameters:
ims_recon (
np.ndarray) – shape (n_frames, y_pix, x_pix)ims_recon_samp (
np.ndarray) – shape (n_frames, y_pix, x_pix)conditional (
bool) – conditional vs unconditional samples; for creating reconstruction titlesave_file (
str, optional) – full save file (path and filename)frame_rate (
float, optional) – frame rate of saved movie