Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !pip install --quiet nma-ibl
- !wget https://github.com/vathes/nma-ibl/raw/master/uuids_trained1.npy
- import datajoint as dj
- dj.config['database.host'] = 'datajoint-public.internationalbrainlab.org'
- dj.config['database.user'] = '{USERNAME}'
- dj.config['database.password'] = '{ADD PASSWORD HERE}'
- dj.conn() # explicitly verify that the connection to database can be established
- from nma_ibl import reference, subject, behavior_analyses
- from nma_ibl.paper_behavior_functions import (query_subjects, seaborn_style,
- group_colors, institution_map, seaborn_style)
- use_subjects = query_subjects()
- b = behavior_analyses.BehavioralSummaryByDate * use_subjects
- behav = b.fetch(order_by='institution_short, subject_nickname, training_day',
- format='frame').reset_index()
Add Comment
Please, Sign In to add comment