Last active
August 29, 2015 14:03
-
-
Save alexbw/d60a222a7929b3712c2e to your computer and use it in GitHub Desktop.
making movies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_,roi = get_behavior(store_name, experiments=list(train_experiments), array_names=["rect_ROI"]) | |
roi = roi['rect_ROI'] | |
height,width = roi[train_experiments[0]] | |
Parallel(n_jobs=24)(delayed(pymouse.show_syllable)(labels, | |
images, df, | |
height=height, | |
width=width, | |
which_syllable=which_syllable, | |
num_instances_to_grab=45, | |
desired_length=120) for which_syllable in np.unique(labels)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment