Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Libraries:
Datasets
pandas
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
experimenter
string
date
string
exp_num
int64
field
string
region
string
cond1
string
roi_id
int64
genline
string
animgender
string
age
string
eye
string
prepwmorient
string
setupid
string
classifier_id
int64
pixel_size_um
float64
roi_size_um2
float64
nxpix
int64
nypix
int64
preproc_chirp
list
preproc_bar
list
cluster_id
int64
group_id
int64
supergroup
string
prob_cluster
float64
prob_group
float64
prob_supergroup
float64
prob_class
float64
probs_per_cluster
list
ventral_dorsal_pos_um
float64
temporal_nasal_pos_um
float64
field_ventral_dorsal_pos_um
float64
field_temporal_nasal_pos_um
float64
chirp_on_off_index
float64
chirp_transience_index
float64
chirp_qidx
float64
chirp_pres_qidx
float64
bar_ds_index
float64
bar_ds_pvalue
float64
bar_pref_dir
float64
bar_os_index
float64
bar_os_pvalue
float64
bar_pref_or
float64
bar_qidx
float64
bar_pres_qidx
float64
chirp_60Hz_average_norm
list
chirp_60Hz_average_dt
float64
chirp_8Hz_average_norm
list
chirp_8Hz_average_dt
float64
chirp_snippets
list
chirp_snippets_dt
float64
chirp_snippets_t0
list
chirp_triggertimes_snippets
list
bar_snippets
list
bar_snippets_dt
float64
bar_snippets_t0
list
bar_triggertimes_snippets
list
rf_cdia_um
float64
center_index
float64
surround_index
float64
rf_gauss_qidx
float64
tRF_lag
float64
tRF_width
float64
tRF_tRI
float64
split_qidx
float64
srf
list
trf
list
polarity
float64
trf_peak_idxs
list
relx_rf_roi_um
float64
rely_rf_roi_um
float64
Experimenter 2
2024-02-20
2
RGC2
RR
control
1
Bl6
male
157
right
0
1
1
2.01149
68.7836
64
64
[ 0.18328497351130452, 0.18328497351130452, -0.22120570632402944, 0.09513135827499253, -0.005429056882000973, -0.12815262517797862, -0.024456693961067442, -0.2976087342078107, -0.2684209930249638, -0.1407143600728941, 0.05566411138888294, -0.36883793566190826, -0.44298410256681375, 0.0135306...
[ 0.058104424778012004, 0.03397980071415115, 0.003965442984307338, -0.0030176495828073335, -0.03263225484633444, -0.01563486060083374, -0.04476490344649498, -0.04509910697589901, -0.07032791613752382, -0.010966087536425778, 0.058970570230668644, 0.09242918995986528, 0.11650619353120417, 0.00...
71
43
dAC
0.793226
0.793226
0.851335
0.851335
[ 0.019344493254819555, 0.0022255583768821694, 0.0014081044124281722, 0.0015505166023932536, 0.003745114080460004, 0.0012111081446886246, 0.00079598919723038, 0.0011328894820948254, 0.002766016107660156, 0.017414897843702856, 0.0019453026049143167, 0.0009343965621279847, 0.0011425306699362368,...
-191.484
-627.364
-251
-657.3
0.44718
0.217524
0.216251
0.41
0.278836
0.117
-1.52436
0.555738
0
1.15009
0.820871
0.73
[ 0.14123960085985574, 0.043779532847087174, -0.053680535165681366, -0.1511406031784477, -0.21509463473180207, -0.2477959344350008, -0.2189397495714302, -0.19008356470785961, -0.16122737984428906, -0.13237119498071848, -0.1035150101171479, -0.07359665564374036, -0.03369914965867999, 0.013029...
0.016667
[ 0.18328497351126516, -0.22120570632400566, 0.09513135827499762, -0.005429056881990083, -0.12815262517799744, -0.02445669396103626, -0.2976087342078452, -0.26842099302492245, -0.14071436007285218, 0.05566411138886271, -0.36883793566189765, -0.44298410256674653, 0.013530698395959724, 0.08560...
0.128
[ [ -0.05540275748045781, 0.8308120325558419, 0.46518196429403535, 1.329848418401029, 0.41275942289915957 ], [ -0.2590191786984745, -1.5914729977717204, 0.6900185222114299, -0.08017248258440682, -0.4022555059214334 ], [ 0.17640925816783398, 0.07791139434113359, ...
0.128
[ 16.252, 49.276, 82.3, 115.324, 148.34799999999998 ]
[ [ 16.330000000000002, 49.324, 82.356, 115.38799999999999, 148.422 ], [ 21.296, 54.33, 87.362, 120.394, 153.426 ] ]
[ [ 0, 1.1639913320541382, 0.014416391961276531, 2.406407594680786, -1.5712709426879883, -1.566240906715393, 0, -1.059187650680542, 3.120340585708618, 0, 0.8179369568824768, 1.4542174339294434, 1.9021942615509033, 1.634865403175354, -0.17589256167411804, ...
0.128
[ 19.323999999999998, 23.419999999999998, 27.516, 31.483999999999998, 35.580000000000005, 39.676, 43.644000000000005, 47.74, 51.836000000000006, 55.804, 59.900000000000006, 63.996, 67.964, 72.06, 76.15599999999999, 80.124, 84.22, 88.316, 92.28399999999999, 96.38, 100.476, 104...
[ [ 18.92799949645996, 22.98200035095215, 27.035999298095703, 31.09000015258789, 35.14400100708008, 39.198001861572266, 43.25199890136719, 47.305999755859375, 51.36000061035156, 55.41400146484375, 59.465999603271484, 63.52199935913086, 67.57599639892578, 71.6279...
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
2
Bl6
male
157
right
0
1
1
2.01149
72.8297
64
64
[-0.002642468735754257,-0.002642468735754257,-0.06334014610769617,0.04642638268982148,0.113487485232(...TRUNCATED)
[0.22526606071792377,0.01651401930093174,0.09809130851255184,0.008608521721712788,-0.026388528997882(...TRUNCATED)
31
22
Slow ON
0.787071
0.791888
0.808146
0.882738
[0.0021666504488830414,0.0019640672541087955,0.001365730385565579,0.001580443076257544,0.00286930097(...TRUNCATED)
-191.326
-615.617
-251
-657.3
0.290611
0.314995
0.310408
0.41
0.419254
0.152
1.81874
0.100247
0.909
0.910745
0.728275
0.73
[-0.0024571312811860016,-0.040526276603538636,-0.07859542192589124,-0.11666456724823855,-0.108358052(...TRUNCATED)
0.016667
[-0.0025538778616213806,-0.06121661713809818,0.04486990114292174,0.10968272668026607,0.1308025298386(...TRUNCATED)
0.128
[[0.5383968064699727,0.03138150458123945,-0.12227729416128541,0.7194675349130721,-0.2016837184378881(...TRUNCATED)
0.128
[ 16.252, 49.276, 82.3, 115.324, 148.34799999999998 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[0.4228341281414032,-0.2543729245662689,-0.6089012026786804,0.7625356316566467,0.7656128406524658,0(...TRUNCATED)
0.128
[19.323999999999998,23.419999999999998,27.516,31.483999999999998,35.580000000000005,39.676,43.644000(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
3
Bl6
male
157
right
0
1
1
2.01149
60.6914
64
64
[-0.020129611776684514,-0.020129611776684514,-0.049804765479760975,0.14899831752259193,0.05310283517(...TRUNCATED)
[0.2527671146752662,0.28962024777426776,-0.33088323550041304,0.07081389928627192,-0.0549695627446857(...TRUNCATED)
49
32
Unc. SbC
0.51472
0.517604
0.527926
0.877821
[0.004374401788768337,0.002601055997227016,0.002236290945312339,0.002153832439857182,0.0080980575651(...TRUNCATED)
-190.789
-598.565
-251
-657.3
-0.092805
0.337468
0.33358
0.41
0.204622
0.366
-1.27221
0.376748
0.03
1.37692
0.47018
0.73
[-0.018147002816457286,-0.04685760362136442,-0.07556820442627159,-0.10427880523117733,-0.10248229055(...TRUNCATED)
0.016667
[-0.020129611776686998,-0.049804765479741823,0.1489983175225589,0.05310283517681242,0.02282926632625(...TRUNCATED)
0.128
[[0.2033310762832347,0.5268589294195611,-0.036267194916089596,-0.13634951250102628,-0.02258943926164(...TRUNCATED)
0.128
[ 16.252, 49.276, 82.3, 115.324, 148.34799999999998 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[0.6758132576942444,0.0,-0.6252939105033875,-0.22502492368221283,0.2823188006877899,0.0,-0.44495570(...TRUNCATED)
0.128
[19.323999999999998,23.419999999999998,27.516,31.483999999999998,35.580000000000005,39.676,43.644000(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
4
Bl6
male
157
right
0
1
1
2.01149
64.7375
64
64
[-0.04033193675155458,-0.04033193675155458,-0.009475270060795014,0.034573795491452765,0.035010767624(...TRUNCATED)
[0.04518686262962843,0.03512654429455505,0.024504339421887233,-0.007726776354206808,0.02340778082602(...TRUNCATED)
67
42
dAC
0.440716
0.848389
0.916471
0.916471
[0.0018577115831771168,0.0017941360753976736,0.0012661064719522472,0.001436812751418513,0.0023188325(...TRUNCATED)
-193.044
-637.311
-251
-657.3
0.929658
0.158415
0.598741
0.41
0.443746
0.051
-1.02943
0.35524
0.226
2.84909
0.865955
0.73
[-0.039417140522823926,-0.03994663670983895,-0.04047613289685396,-0.04120782703787955,-0.03999064908(...TRUNCATED)
0.016667
[-0.040331936751557565,-0.00947527006079678,0.03457379549145516,0.035010767624538836,0.0164122409362(...TRUNCATED)
0.128
[[-0.21968227905388504,-0.6913548492649304,-0.2717166841434151,0.5834062544261536,0.0931643637528558(...TRUNCATED)
0.128
[ 16.25, 49.274, 82.298, 115.322, 148.346 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[0.8883046507835388,0.0,0.0,0.0,0.7772394418716431,0.05848531424999237,0.0,-0.13513794541358948,-1.(...TRUNCATED)
0.128
[19.322,23.418,27.514,31.482,35.578,39.674,43.642,47.738,51.834,55.802,59.898,63.994,67.962,72.058,7(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
5
Bl6
male
157
right
0
1
1
2.01149
113.291
64
64
[0.09821051989621148,0.09821051989621148,0.021722811134284304,-0.012999254869055553,0.00015775503316(...TRUNCATED)
[0.05729254161908062,0.05071887929659417,0.01710578591670721,-0.01729463860169748,-0.037324553108050(...TRUNCATED)
53
35
dAC
0.832739
0.85256
0.911396
0.911396
[0.0018616542541067178,0.0018472148299956957,0.001260435681483213,0.0014225099222964738,0.0022693736(...TRUNCATED)
-198.342
-666.495
-251
-657.3
0.868336
0.185176
0.704741
0.41
0.380647
0.009
1.46481
0.130059
0.713
0.251662
0.881319
0.73
[0.09113095369789968,0.09883875219112992,0.10654655068436017,0.11083891474986844,0.09870068459680685(...TRUNCATED)
0.016667
[0.09574915811435603,0.02117839188900307,-0.012673466255363888,0.00015380136089359505,-0.07736123408(...TRUNCATED)
0.128
[[-0.1657968277209672,0.05367838262596836,0.5574993429966419,0.5805953106300921,0.7203774065177595],(...TRUNCATED)
0.128
[ 16.244, 49.268, 82.292, 115.316, 148.34 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[-1.3777425289154053,-0.1515410840511322,0.0,0.4275525212287903,0.0,-0.09236010909080505,0.0,0.2306(...TRUNCATED)
0.128
[19.316,23.412,27.508,31.476,35.572,39.668,43.764,47.732,51.828,55.924,59.892,63.988,68.084,72.052,7(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
6
Bl6
male
157
right
0
1
1
2.01149
40.4609
64
64
[-0.028818383462281837,-0.028818383462281837,-0.00016585382030559798,-0.004889310345460035,0.0116137(...TRUNCATED)
[0.10939531021290634,0.041245861951754205,0.056934161984800336,-0.050812028727317854,-0.109186809913(...TRUNCATED)
17
12
ON-OFF
0.623938
0.645156
0.67002
0.886047
[0.004091249713504552,0.020833841622785586,0.0024769065274389073,0.002986405234485731,0.005059386999(...TRUNCATED)
-199.305
-646.84
-251
-657.3
0.156402
0.341362
0.233106
0.41
0.489732
0.011
2.23382
0.363708
0.166
2.10239
0.669911
0.73
[-0.02599872258394551,0.023668178776925623,0.07333508013779673,0.11107013347316738,0.106908373236310(...TRUNCATED)
0.016667
[-0.02675355417253631,-0.0001539704394712956,-0.004538992597021101,0.010781591508333282,0.0121408772(...TRUNCATED)
0.128
[[-0.3074834277566129,-0.483122352166124,-0.3237928837954652,-1.168150211252342,-2.1408819772475782](...TRUNCATED)
0.128
[ 16.244, 49.268, 82.292, 115.316, 148.34 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[-3.6502790451049805,0.0,1.4122734069824219,-0.24461691081523895,0.5380100607872009,1.2067661285400(...TRUNCATED)
0.128
[19.316,23.412,27.508,31.476,35.572,39.668,43.764,47.732,51.828,55.924,59.892,63.988,68.084,72.052,7(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
7
Bl6
male
157
right
0
1
1
2.01149
64.7375
64
64
[0.04456236468013782,0.04456236468013782,-0.024123965493952446,-0.025129956962631317,-0.103049643126(...TRUNCATED)
[-0.03514276656730066,0.14278602540191768,0.04746052919967946,-0.11955893699125866,-0.05150461733301(...TRUNCATED)
59
38
dAC
0.533419
0.55419
0.709796
0.709796
[0.003442638514825503,0.003396031880954405,0.0023473770530439515,0.002553807789212593,0.004206118765(...TRUNCATED)
-202.473
-654.66
-251
-657.3
0.899264
0.365008
0.342776
0.41
0.516259
0.314
1.70982
0.116294
0.957
1.48697
0.421534
0.73
[0.04165419496446785,0.04881989558614561,0.05598559620782339,0.03961442307218324,0.00860511147334770(...TRUNCATED)
0.016667
[0.044210049506229164,-0.02393323865171492,-0.024931276636260786,-0.10223492081102946,-0.03644241964(...TRUNCATED)
0.128
[[-0.24458544904094143,0.05566652962359041,0.29167591751537225,-0.3378000837384306,0.112365271684538(...TRUNCATED)
0.128
[ 16.24, 49.264, 82.288, 115.312, 148.33599999999998 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[0.0,-0.3106535077095032,0.0,0.7385663986206055,-0.8920015692710876,0.0,0.14367039501667023,0.99477(...TRUNCATED)
0.128
[19.439999999999998,23.407999999999998,27.503999999999998,31.599999999999998,35.568000000000005,39.6(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
8
Bl6
male
157
right
0
1
1
2.01149
60.6914
64
64
[-0.07917840695921013,-0.07917840695921013,0.014197988196059235,0.036498917659725696,-0.030736473939(...TRUNCATED)
[0.08444241083071834,0.1443196882883571,0.12021775562155933,-0.07971307602152058,-0.0864333205831267(...TRUNCATED)
71
43
dAC
0.763902
0.763902
0.867478
0.867478
[0.002277003716990806,0.002042339480496913,0.0013667095927274576,0.0014595651458625815,0.00297610849(...TRUNCATED)
-202.054
-638.124
-251
-657.3
0.46438
0.25207
0.4751
0.41
0.087258
0.906
-0.065116
0.566499
0.021
2.73275
0.663407
0.73
[-0.07763760819137921,-0.11536766977354278,-0.15309773135570637,-0.16232049226212797,-0.140490272409(...TRUNCATED)
0.016667
[-0.0791784069592295,0.014197988196063792,0.03649891765972068,-0.03073647393959775,0.042098303923028(...TRUNCATED)
0.128
[[-0.029544641816885597,-0.038741717172524115,0.7823046435847282,-0.18998001625307986,1.280502550093(...TRUNCATED)
0.128
[ 16.24, 49.264, 82.288, 115.312, 148.33599999999998 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[-0.4235684275627136,-1.2417603731155396,-1.226955533027649,1.3198580741882324,-0.9090184569358826,(...TRUNCATED)
0.128
[19.439999999999998,23.407999999999998,27.503999999999998,31.599999999999998,35.568000000000005,39.6(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
9
Bl6
male
157
right
0
1
1
2.01149
145.659
64
64
[0.033453532305118265,0.033453532305118265,-0.0033565520860255487,-0.0318723692105293,-0.00126632363(...TRUNCATED)
[0.07718230127076688,0.049578563976688646,-0.017414685397891184,0.051210009568594554,-0.054600519024(...TRUNCATED)
54
35
dAC
0.816643
0.820671
0.897354
0.897354
[0.0016875629457856855,0.0016195664810563254,0.0011344024288252768,0.0012779358223104467,0.002095289(...TRUNCATED)
-203.115
-610.701
-251
-657.3
0.991924
0.222095
0.920566
0.41
0.370157
0.134
2.17916
0.224008
0.54
0.39714
0.922946
0.73
[0.032869912882978525,0.041273377707739055,0.04967684253249958,0.05260965352056691,0.040424810359566(...TRUNCATED)
0.016667
[0.0332564851764446,-0.0033367814099497855,-0.03168463540772169,-0.001258864767780702,0.033562781357(...TRUNCATED)
0.128
[[-0.1286485899031093,0.15133156961983563,0.11975737681270421,-0.32084358838646077,-0.14544153682767(...TRUNCATED)
0.128
[ 16.24, 49.264, 82.288, 115.312, 148.33599999999998 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[0.09043964743614197,-0.30903682112693787,1.3551149368286133,0.5905172228813171,0.14516830444335938(...TRUNCATED)
0.128
[19.439999999999998,23.407999999999998,27.503999999999998,31.599999999999998,35.568000000000005,39.6(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Experimenter 2
2024-02-20
2
RGC2
RR
control
10
Bl6
male
157
right
0
1
1
2.01149
56.6453
64
64
[0.05632458884295298,0.05632458884295298,0.013339189827324625,0.10662645147343502,0.0197958908803561(...TRUNCATED)
[-0.009502590200377517,0.020011174116216227,0.06578910171719163,0.05012369419143557,-0.1187582635678(...TRUNCATED)
62
40
dAC
0.444434
0.450534
0.549521
0.549521
[0.003279926562433222,0.003482877214610272,0.002401976304549439,0.00265823883624055,0.00432078082604(...TRUNCATED)
-205.742
-706.581
-251
-657.3
0.924475
0.201404
0.720021
0.41
0.140803
0.543
-1.32473
0.394028
0.011
2.68425
0.634006
0.73
[0.052398048869223474,0.07443969861694358,0.09648134836466367,0.09599203777723554,0.0813390594867529(...TRUNCATED)
0.016667
[0.05530569970586955,0.013097889253419245,0.10469762189184255,0.0194377911837312,-0.1177200737940972(...TRUNCATED)
0.128
[[-0.7880034172188642,-0.4477083348545459,0.2338100653202761,0.08063056194673363,0.04648621249634308(...TRUNCATED)
0.128
[ 16.237000000000002, 49.261, 82.285, 115.309, 148.333 ]
[[16.330000000000002,49.324,82.356,115.38799999999999,148.422],[21.296,54.33,87.362,120.394,153.426](...TRUNCATED)
[[-0.6860887408256531,0.357643187046051,-0.10564769804477692,0.2842642366886139,-0.23398375511169434(...TRUNCATED)
0.128
[19.437,23.405,27.501,31.597,35.565000000000005,39.661,43.757000000000005,47.725,51.821000000000005,(...TRUNCATED)
[[18.92799949645996,22.98200035095215,27.035999298095703,31.09000015258789,35.14400100708008,39.1980(...TRUNCATED)
null
null
null
null
null
null
null
null
null
null
null
null
null
null
End of preview. Expand in Data Studio

All-GCL Data Manual

1. Downloading the Dataset from Hugging Face

The Hugging Face dataset repository contains a root directory with individual session folders (one per session_id) and a shared Stimuli directory.

To download the entire dataset from the command line, run:

pip install huggingface_hub

hf download --repo-type dataset eulerlab/all-gcl --local-dir /path/to/target

After download the target directory will have the following structure:

/path/to/target/
├── Stimuli/
├── session_Experimenter_1_2022-09-29/
│   ├── experiment_1_LR/
│   │   ├── field_RGC1.nwb
│   │   └── field_RGC2.nwb
│   └── ...
├── session_Experimenter_8_2021-11-30/
│   └── experiment_2_RR/
│       └── field_GCL1.nwb
└── ...

Note that, as an alternative, you can browse the HuggingFace repository and download individual sessions you are interested in. For convenience, the export includes .txt files that show the structure and contents of each field's .nwb file.

2. Dataset Structure Inside Each NWB File

Every field-specific .nwb file follows a consistent organisation under the "Neurodata without borders" standards:

  • Acquisition (TwoPhotonSeries_*) – raw two-photon imaging movies per stimulus presentation.
  • Processing modules
    • rois module with an ImageSegmentation/"ROI masks" plane segmentation describing ROI masks, sizes, and pixel dimensions.
    • spatial module with spatial_locations dynamic table storing ROI and field retinal coordinates.
    • session_info module containing presentation_sequence (chronological stimulus order and start times).
    • Condition_{cond} modules for each condition, populated with:
      • cell_types dynamic table (Baden16 preprocessing references plus classifier outputs).
      • receptive_fields dynamic table (Gaussian RF parameters, temporal RF metrics, split RF metadata; only present for the subsets of data that have seen the whitenoise stimulus).
      • Multiple TimeSeries objects for averages, snippets, traces, and quality metrics per stimulus.
  • Stimulus references – OpticalSeries entries (e.g. movingbar_stimulus) pointing to external HDF5 resources inside the shared Stimuli directory. Paths are stored relative to the NWB file, so the location of the Stimuli directory should not be moved relative to the location of the sessions folders.
  • Lab metadataExperimentMetadata extension storing eye, orientation, setup ID, and experiment number.

For NWB documentation on accessing standard containers consult https://pynwb.readthedocs.io.

3. Reproducing the Original Analysis Table

We offer companion code to reproduce the analysis in our manuscript at https://github.com/eulerlab/all-GCL-manuscript .

To reproduce the original table that was used to produce visualisations and anlyses in the dataset pre-print, run:

python all_gcl_manuscript/read_nwb_table.py /path/to/target \
    --filter-to-match-original \
    --output reconstructed_tables # Optional, saves extracted tables in .pkl and .parquet for later access

Note that en export of the original table in .parquet format is already provided in the dataset repository. When reading the .parquet file, depending on the analysis you want to run, it might be necessary to restore nested lists back to numpy arrays. You can do it with a utility function we provide:

import os

import pandas as pd

from all_gcl_manuscript.utils import restore_numpy_arrays

dataset_path = "/path/to/data/storage"

all_gcl_df = pd.read_parquet(os.path.join(dataset_path, "all_GCL_table.parquet"))
all_gcl_df = restore_numpy_arrays(all_gcl_df)

4. Additional Information in Each NWB File

The export embeds several layers of metadata beyond the original table:

  • Session and experiment metadata – anonymised experimenter identifiers, protocol information, description summarising stimuli.
  • Stimulus presentation log – per-session chronological table (presentation_sequence) useful for studying adaptation and history effects.
  • Cell-type classifier outputs – full probability vectors (probs_per_cluster) and cluster/group/supergroup IDs for every ROI with valid assignments.
  • Receptive-field analytics – Gaussian fits, temporal RF metrics, polarity, split RF indices, relative offsets.
  • Quality indices – chirp/bar quality indices and per-stimulus QI tables.
  • Stimulus-specific traces – averages, snippets, preprocessed traces, trigger times for chirp, moving bar, and noise stimuli, preserving the per-condition granularity used in analyses.
  • Raw imaging movies – for each stimulus presentation, for all sessions where the data was available.

5. Accessing Stimuli, Responses, and Internal Fields

Example: loading an NWB file

from pathlib import Path
from pynwb import NWBHDF5IO

nwb_path = Path("/path/to/session_Arlinghaus_2022-06-14/experiment_1_LR/field_GCL1.nwb")
with NWBHDF5IO(nwb_path, "r") as io:
    nwbfile = io.read()

    # Inspect the available recordings and pick the one you need.
    print(list(nwbfile.acquisition.keys()))

    raw_series = nwbfile.acquisition["TwoPhotonSeries_Cond_C1_chirp_Pres_1"]
    raw_frames = raw_series.data[:]  # (time, height, width)

    condition = nwbfile.processing["Condition_C1"]
    chirp_avg = condition["chirp_60Hz_average"]
    avg_sample = chirp_avg.data[:5, :3]  # first frames × first ROIs

    cell_types = condition["cell_types"].to_dataframe()
    print(cell_types.head())

Example: loading external stimulus movies

Stimulus metadata is stored as OpticalSeries with external_file entries (e.g. Stimuli/chirp/setup_1/...). This was done to avoid redundancy during exporting because across sessions the stimuli used are always similar.

To load the referenced stimulus HDF5:

import h5py

series = nwbfile.stimulus["chirp_stimulus"]
relative_ref = series.external_file[:][0]  # e.g. ../../Stimuli/processed_stimuli.h5/chirp_generic
stim_file_rel, dataset_name = relative_ref.rsplit("/", 1)
stim_file_path = (nwb_path.parent / stim_file_rel).resolve()

with h5py.File(stim_file_path, "r") as stim_file:
    stimulus_frames = stim_file[dataset_name][:]

Example: accessing ROI-level metadata

seg = nwbfile.processing["rois"]["ImageSegmentation"]["ROI masks"]
roi_df = seg.to_dataframe().reset_index().rename(columns={"roi_ids": "roi_id"})

spatial = nwbfile.processing["spatial"]["spatial_locations"].to_dataframe().reset_index(drop=True)
merged = roi_df.merge(
    spatial[["roi_id", "ventral_dorsal_pos_um", "temporal_nasal_pos_um"]],
    on="roi_id",
    how="left",
)
Downloads last month
150