Introduction to the JABS downstream analysis

  1. Importing necessary libraries

We are just going to import basic python libraries to help us analyze predicted behavior

[7]:
# auto reload
%load_ext autoreload
%autoreload 2
[8]:
from stuff import *
from ipywidgets import FloatSlider, interactive, fixed
  1. Visualizing the Ethogram for a sample prediction

[14]:
# Reading the sample file
df = load_file('data/sample_file.h5')
int_plot = interactive(draw_ethogram, df=fixed(df['Class'].values.astype(int)),i=FloatSlider(min=1, max=100, step=1), save_fig=False);
int_plot

  1. Frame counting statistics