In [34]:
import pickle

In [35]:
data = pickle.load(open('spineml/tmp_data.p','rb'))

In [40]:
data['projections']['eb']['FB']


Out[40]:
[(0, 0)]

In [42]:
data['neurons']
print len(data['neurons'].keys())


27

In [45]:
data['population']


Out[45]:
{'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 [ ]:


In [16]:
data = pickle.load(( open( "spineml/lpu_dicts.p", "rb" ) ))

In [41]:
data['projections']


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-41-59ec730a46d2> in <module>()
----> 1 populations

NameError: name 'populations' is not defined

In [ ]: