Untitled



In [25]:
import pickle

In [26]:
data = pickle.load(( open( "tmp_data.p", "rb" ) ))

In [27]:
data.keys()


Out[27]:
['neurons', 'projections', 'population']

In [28]:
data['projections']


Out[28]:
{'DLP': {'OPTU': [(0, 5, 1), (1, 5, 4)]},
 'LOB': {'CCP': [(0, 0, 4), (0, 1, 3)],
  'IDFP': [(0, 0, 1)],
  'OPTU': [(0, 3, 2)],
  'dmp': [(0, 0, 4)]},
 'MED': {'CCP': [(2, 0, 1), (3, 0, 1), (3, 1, 1), (4, 0, 5)],
  'DMP': [(2, 0, 7)],
  'OPTU': [(0, 2, 3),
   (1, 4, 2),
   (1, 3, 1),
   (1, 2, 5),
   (2, 3, 3),
   (3, 3, 2),
   (3, 4, 1),
   (4, 4, 2),
   (4, 2, 1),
   (5, 4, 2)],
  'SPP': [(0, 0, 7), (1, 0, 4), (2, 0, 3), (4, 0, 2)],
  'optu': [(2, 0, 1), (4, 0, 4)]},
 'OPTU': {'CCP': [(6, 0, 2), (7, 1, 14), (8, 1, 5), (8, 0, 10)],
  'DMP': [(1, 0, 1), (2, 0, 1), (8, 0, 1)],
  'LOB': [(7, 0, 2), (8, 0, 4)],
  'OPTU': [(0, 1, 4),
   (4, 3, 2),
   (4, 2, 16),
   (1, 4, 2),
   (7, 5, 26),
   (8, 3, 7),
   (8, 5, 21)],
  'SPP': [(6, 0, 1), (1, 0, 1)],
  'dmp': [(7, 0, 1), (8, 0, 5)]},
 'eb': {'FB': [(0, 0, 7)]}}

In [29]:
data['population']
#data['projections']['AL']


Out[29]:
{'CCP': ['fru-F-300168', 'VGlut-F-000453'],
 'DLP': ['Gad1-F-900198', 'fru-F-600020'],
 'DMP': ['Gad1-F-000117'],
 'FB': ['VGlut-F-500874'],
 'IDFP': ['Cha-F-600143'],
 'LOB': ['fru-F-300171'],
 'MED': ['Cha-F-400194',
  'Gad1-F-400023',
  'Cha-F-600239',
  'Cha-F-300281',
  'Cha-F-500233',
  'Cha-F-600263'],
 'OPTU': ['Cha-F-100165',
  'Gad1-F-200003',
  'fru-F-600151',
  'VGlut-F-000465',
  'Cha-F-000280',
  'fru-F-000069',
  'Gad1-F-200218',
  'Gad1-F-900119',
  'npf-F-500000'],
 'SPP': ['Gad1-F-200078'],
 'dmp': ['Cha-F-500297'],
 'eb': ['VGlut-F-400880'],
 'optu': ['fru-F-200039']}

In [ ]: