diff --git a/actions/comparisons-gridcells/attributes.yaml b/actions/comparisons-gridcells/attributes.yaml deleted file mode 100644 index 684d3298c..000000000 --- a/actions/comparisons-gridcells/attributes.yaml +++ /dev/null @@ -1,4 +0,0 @@ -registered: '2019-10-10T11:59:47' -data: - notebook: 20_comparisons_gridcells.ipynb - html: 20_comparisons_gridcells.html diff --git a/actions/comparisons-gridcells/data/20_comparisons_gridcells.html b/actions/comparisons-gridcells/data/20_comparisons_gridcells.html deleted file mode 100644 index ade8ee0f1..000000000 --- a/actions/comparisons-gridcells/data/20_comparisons_gridcells.html +++ /dev/null @@ -1,15807 +0,0 @@ - - - - -20_comparisons_gridcells - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
In [1]:
-
-
-
%load_ext autoreload
-%autoreload 2
-
- -
-
-
- -
-
-
-
In [2]:
-
-
-
import os
-import pathlib
-import numpy as np
-import matplotlib.pyplot as plt
-import re
-import shutil
-import pandas as pd
-import scipy.stats
-
-import exdir
-import expipe
-from distutils.dir_util import copy_tree
-import septum_mec
-import spatial_maps as sp
-import head_direction.head as head
-import septum_mec.analysis.data_processing as dp
-import septum_mec.analysis.registration
-from septum_mec.analysis.plotting import violinplot
-
-from spike_statistics.core import permutation_resampling
-
- -
-
-
- -
-
- - -
- -
- - -
-
12:51:51 [I] klustakwik KlustaKwik2 version 0.2.6
-/home/mikkel/.virtualenvs/expipe/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
-  return f(*args, **kwds)
-/home/mikkel/.virtualenvs/expipe/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
-  return f(*args, **kwds)
-
-
-
- -
-
- -
-
-
-
In [3]:
-
-
-
project_path = dp.project_path()
-project = expipe.get_project(project_path)
-actions = project.actions
-
-output_path = pathlib.Path("output") / "comparisons-gridcells"
-(output_path / "statistics").mkdir(exist_ok=True, parents=True)
-(output_path / "figures").mkdir(exist_ok=True, parents=True)
-
- -
-
-
- -
-
-
-
-

Load cell statistics and shuffling quantiles

-
-
-
-
-
-
In [4]:
-
-
-
statistics_action = actions['calculate-statistics']
-identification_action = actions['identify-neurons']
-sessions = pd.read_csv(identification_action.data_path('sessions'))
-units = pd.read_csv(identification_action.data_path('units'))
-session_units = pd.merge(sessions, units, on='action')
-statistics_results = pd.read_csv(statistics_action.data_path('results'))
-statistics = pd.merge(session_units, statistics_results, how='left')
-statistics.head()
-
- -
-
-
- -
-
- - -
- -
Out[4]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
actionbaselineentityfrequencyiiisessionstim_locationstimulatedtag...burst_event_ratiobursty_spike_ratiogridnessborder_scoreinformation_rateinformation_specificityhead_mean_anghead_mean_vec_lenspacingorientation
01849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.3982300.678064-0.4669230.0293281.0092150.3172565.4380330.0408740.62878420.224859
11849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.1380140.263173-0.6667920.3081460.1925240.0334471.9517400.0172890.78938827.897271
21849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.3739860.659259-0.5725660.1432524.7458360.3937044.4397210.1247310.55540228.810794
31849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0874130.179245-0.4374920.2689480.1573940.0735536.2151950.1019110.4922509.462322
41849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.2487710.463596-0.0859380.2187440.5191530.0326831.5314810.0538100.5599050.000000
-

5 rows × 39 columns

-
-
- -
- -
-
- -
-
-
-
In [5]:
-
-
-
shuffling = actions['shuffling']
-quantiles_95 = pd.read_csv(shuffling.data_path('quantiles_95'))
-quantiles_95.head()
-
- -
-
-
- -
-
- - -
- -
Out[5]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
border_scoregridnesshead_mean_anghead_mean_vec_leninformation_ratespeed_scoreactionchannel_groupunit_name
00.3480230.2751093.0126890.0867920.7071970.1490711833-010719-10.0127.0
10.3623800.1664753.1331380.0372710.4824860.1322121833-010719-10.0161.0
20.3674980.2668655.5863950.1828430.2711880.0628211833-010719-10.0191.0
30.3319420.3121555.9557670.0907860.3540180.0520091833-010719-10.0223.0
40.3258420.1804955.2627210.1035840.2104270.0940411833-010719-10.0225.0
-
-
- -
- -
-
- -
-
-
-
In [6]:
-
-
-
action_columns = ['action', 'channel_group', 'unit_name']
-data = pd.merge(statistics, quantiles_95, on=action_columns, suffixes=("", "_threshold"))
-
-data['specificity'] = np.log10(data['in_field_mean_rate'] / data['out_field_mean_rate'])
-
-data.head()
-
- -
-
-
- -
-
- - -
- -
Out[6]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
actionbaselineentityfrequencyiiisessionstim_locationstimulatedtag...head_mean_vec_lenspacingorientationborder_score_thresholdgridness_thresholdhead_mean_ang_thresholdhead_mean_vec_len_thresholdinformation_rate_thresholdspeed_score_thresholdspecificity
01849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0408740.62878420.2248590.3325480.2290736.0294310.2053621.1158250.0667360.451741
11849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0172890.78938827.8972710.3548300.0893336.1200550.0735660.2232370.0525940.098517
21849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.1247310.55540228.8107940.264610-0.1210815.7594060.1508274.9649840.0271200.400770
31849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.1019110.4922509.4623220.3442800.2158296.0333640.1104950.2399960.0540740.269461
41849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0538100.5599050.0000000.3427990.2189675.7681700.0547620.5249900.1447020.133410
-

5 rows × 46 columns

-
-
- -
- -
-
- -
-
-
-
-

Statistics about all cell-sessions

-
-
-
-
-
-
In [7]:
-
-
-
data.groupby('stimulated').count()['action']
-
- -
-
-
- -
-
- - -
- -
Out[7]:
- - - - -
-
stimulated
-False    624
-True     660
-Name: action, dtype: int64
-
- -
- -
-
- -
-
-
-
In [8]:
-
-
-
data['unit_day'] = data.apply(lambda x: str(x.unit_idnum) + '_' + x.action.split('-')[1], axis=1)
-
- -
-
-
- -
-
-
-
-

Find all cells with gridness above threshold

-
-
-
-
-
-
In [9]:
-
-
-
query = (
-    'gridness > gridness_threshold and '
-    'information_rate > information_rate_threshold and '
-    'gridness > .2 and '
-    'average_rate < 25'
-)
-sessions_above_threshold = data.query(query)
-print("Number of sessions above threshold", len(sessions_above_threshold))
-print("Number of animals", len(sessions_above_threshold.groupby(['entity'])))
-
- -
-
-
- -
-
- - -
- -
- - -
-
Number of sessions above threshold 194
-Number of animals 4
-
-
-
- -
-
- -
-
-
-
In [10]:
-
-
-
gridcell_sessions = data[data.unit_day.isin(sessions_above_threshold.unit_day.values)]
-
- -
-
-
- -
-
-
-
In [11]:
-
-
-
print("Number of gridcells", gridcell_sessions.unit_idnum.nunique())
-print("Number of gridcell recordings", len(gridcell_sessions))
-print("Number of animals", len(gridcell_sessions.groupby(['entity'])))
-
- -
-
-
- -
-
- - -
- -
- - -
-
Number of gridcells 139
-Number of gridcell recordings 231
-Number of animals 4
-
-
-
- -
-
- -
-
-
-
In [12]:
-
-
-
baseline_i = gridcell_sessions.query('baseline and Hz11')
-stimulated_11 = gridcell_sessions.query('frequency==11 and stim_location=="ms"')
-
-baseline_ii = gridcell_sessions.query('baseline and Hz30')
-stimulated_30 = gridcell_sessions.query('frequency==30 and stim_location=="ms"')
-
-print("Number of gridcells in baseline i sessions", len(baseline_i))
-print("Number of gridcells in stimulated 11Hz ms sessions", len(stimulated_11))
-
-print("Number of gridcells in baseline ii sessions", len(baseline_ii))
-print("Number of gridcells in stimulated 30Hz ms sessions", len(stimulated_30))
-
- -
-
-
- -
-
- - -
- -
- - -
-
Number of gridcells in baseline i sessions 66
-Number of gridcells in stimulated 11Hz ms sessions 61
-Number of gridcells in baseline ii sessions 56
-Number of gridcells in stimulated 30Hz ms sessions 40
-
-
-
- -
-
- -
-
-
-
-

slice unique units

-
-
-
-
-
-
In [13]:
-
-
-
baseline_i = baseline_i.drop_duplicates('unit_id')
-stimulated_11 = stimulated_11.drop_duplicates('unit_id')
-baseline_ii = baseline_ii.drop_duplicates('unit_id')
-stimulated_30 = stimulated_30.drop_duplicates('unit_id')
-
- -
-
-
- -
-
-
-
In [14]:
-
-
-
print("Number of gridcells in baseline i sessions", len(baseline_i))
-print("Number of gridcells in stimulated 11Hz ms sessions", len(stimulated_11))
-
-print("Number of gridcells in baseline ii sessions", len(baseline_ii))
-print("Number of gridcells in stimulated 30Hz ms sessions", len(stimulated_30))
-
- -
-
-
- -
-
- - -
- -
- - -
-
Number of gridcells in baseline i sessions 63
-Number of gridcells in stimulated 11Hz ms sessions 58
-Number of gridcells in baseline ii sessions 52
-Number of gridcells in stimulated 30Hz ms sessions 38
-
-
-
- -
-
- -
-
-
-
-

Calculate statistics

-
-
-
-
-
-
In [15]:
-
-
-
columns = [
-    'average_rate', 'gridness', 'sparsity', 'selectivity', 'information_specificity',
-    'max_rate', 'information_rate', 'interspike_interval_cv', 
-    'in_field_mean_rate', 'out_field_mean_rate', 
-    'burst_event_ratio', 'specificity', 'speed_score'
-]
-
- -
-
-
- -
-
-
-
In [16]:
-
-
-
gridcell_sessions.groupby('stimulated')[columns].mean()
-
- -
-
-
- -
-
- - -
- -
Out[16]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
average_rategridnesssparsityselectivityinformation_specificitymax_rateinformation_rateinterspike_interval_cvin_field_mean_rateout_field_mean_rateburst_event_ratiospecificityspeed_score
stimulated
False8.9045010.5213710.6183845.9345390.23463237.4378081.2465462.40464714.7176356.3468750.2118400.4787750.135495
True8.3922520.4402960.6556985.9774080.21573633.7164780.9647872.22363612.9360216.1222280.1972640.4558780.104697
-
-
- -
- -
-
- -
-
-
-
In [17]:
-
-
-
gridcell_sessions.query('baseline')[columns].describe()
-
- -
-
-
- -
-
- - -
- -
Out[17]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
average_rategridnesssparsityselectivityinformation_specificitymax_rateinformation_rateinterspike_interval_cvin_field_mean_rateout_field_mean_rateburst_event_ratiospecificityspeed_score
count129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000
mean8.9045010.5213710.6183845.9345390.23463237.4378081.2465462.40464714.7176356.3468750.2118400.4787750.135495
std7.6055980.3376070.1879343.2173660.20072616.3001170.6059710.7564079.2675226.8054990.0801430.2095310.072831
min0.478349-0.6849240.2000661.5332160.0078073.3460270.1176381.3043870.9240660.1590760.0250000.071681-0.025629
25%3.5183920.3163260.4374993.7298630.09325226.9488430.7867531.8729917.7011561.6698440.1607950.3108220.084280
50%6.4568820.5292430.6421674.7949700.18028635.0649911.1560872.22118512.2122894.3149130.2102400.4363400.128603
75%12.7217550.7836820.7580977.4394640.31248744.3248731.5929482.77062420.9740269.1215050.2675680.6248340.188948
max59.3653121.1489790.97615718.9758751.24330790.1601583.4567965.67136266.35075456.2555440.3933061.0663910.297548
-
-
- -
- -
-
- -
-
-
-
In [18]:
-
-
-
gridcell_sessions.query("stimulated")[columns].describe()
-
- -
-
-
- -
-
- - -
- -
Out[18]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
average_rategridnesssparsityselectivityinformation_specificitymax_rateinformation_rateinterspike_interval_cvin_field_mean_rateout_field_mean_rateburst_event_ratiospecificityspeed_score
count102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000
mean8.3922520.4402960.6556985.9774080.21573633.7164780.9647872.22363612.9360216.1222280.1972640.4558780.104697
std6.0570010.3570380.2117043.7024000.23591613.2493120.5729720.8197347.2118955.3663320.0821640.2367770.081989
min0.198337-0.5169140.1726841.9300260.0130882.8462810.0631731.1106720.5246390.0990600.0084750.097718-0.138128
25%3.5791840.2659490.4584933.0443030.06665625.5551100.5642791.6204727.5557601.7336240.1467550.2480570.056903
50%6.8385610.3990530.6995614.8918550.12856231.4025580.8624132.08402011.4515604.2348710.1929480.3761430.106314
75%11.9345990.7495610.8423328.0015870.30071342.3347861.1903242.67399117.3353568.5834150.2474050.6846230.149313
max24.8587381.1551230.96700319.9114771.35916465.9907933.1822856.52696034.48991321.6962650.3930371.0910640.390079
-
-
- -
- -
-
- -
-
-
-
-

Create nice table

-
-
-
-
-
-
In [19]:
-
-
-
def summarize(data):
-    return "{:.2f} ± {:.2f} ({})".format(data.mean(), data.sem(), sum(~np.isnan(data)))
-
-
-def MWU(column, stim, base):
-    '''
-    Mann Whitney U
-    '''
-    Uvalue, pvalue = scipy.stats.mannwhitneyu(
-        stim[column].dropna(), 
-        base[column].dropna(),
-        alternative='two-sided')
-
-    return "{:.2f}, {:.3f}".format(Uvalue, pvalue)
-
-
-def PRS(column, stim, base):
-    '''
-    Permutation ReSampling
-    '''
-    pvalue, observed_diff, diffs = permutation_resampling(
-        stim[column].dropna(), 
-        base[column].dropna(), statistic=np.median)
-
-    return "{:.2f}, {:.3f}".format(observed_diff, pvalue)
-
-
-def rename(name):
-    return name.replace("_field", "-field").replace("_", " ").capitalize()
-
- -
-
-
- -
-
-
-
In [20]:
-
-
-
_stim_data = gridcell_sessions.query('stimulated')
-_base_data = gridcell_sessions.query('baseline and i')
-
-result = pd.DataFrame()
-
-result['Baseline I'] = _base_data[columns].agg(summarize)
-result['Stimulated'] = _stim_data[columns].agg(summarize)
-
-
-result.index = map(rename, result.index)
-
-result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))
-result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))
-
-result.to_latex(output_path / "statistics" / "statistics.tex")
-result.to_csv(output_path / "statistics" / "statistics.csv")
-result
-
- -
-
-
- -
-
- - -
- -
Out[20]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Baseline IStimulatedMWUPRS
Average rate8.61 ± 0.75 (71)8.39 ± 0.60 (102)3599.00, 0.9470.55, 0.757
Gridness0.51 ± 0.04 (71)0.44 ± 0.04 (102)3208.00, 0.2030.13, 0.145
Sparsity0.61 ± 0.02 (71)0.66 ± 0.02 (102)4170.00, 0.0910.06, 0.179
Selectivity5.91 ± 0.37 (71)5.98 ± 0.37 (102)3460.00, 0.6200.10, 0.874
Information specificity0.25 ± 0.03 (71)0.22 ± 0.02 (102)2944.00, 0.0370.05, 0.034
Max rate36.55 ± 1.78 (71)33.72 ± 1.31 (102)3291.00, 0.3093.19, 0.194
Information rate1.30 ± 0.07 (71)0.96 ± 0.06 (102)2385.00, 0.0000.32, 0.001
Interspike interval cv2.42 ± 0.10 (71)2.22 ± 0.08 (102)3034.00, 0.0700.12, 0.398
In-field mean rate14.43 ± 1.00 (71)12.94 ± 0.71 (102)3368.00, 0.4360.39, 0.817
Out-field mean rate6.05 ± 0.62 (71)6.12 ± 0.53 (102)3600.00, 0.9500.08, 0.944
Burst event ratio0.22 ± 0.01 (71)0.20 ± 0.01 (102)3090.00, 0.1020.02, 0.129
Specificity0.48 ± 0.03 (71)0.46 ± 0.02 (102)3268.00, 0.2770.06, 0.360
Speed score0.14 ± 0.01 (71)0.10 ± 0.01 (102)2546.00, 0.0010.05, 0.000
-
-
- -
- -
-
- -
-
-
-
In [21]:
-
-
-
_stim_data = stimulated_11
-_base_data = baseline_i
-
-result = pd.DataFrame()
-
-result['Baseline I'] = _base_data[columns].agg(summarize)
-result['11 Hz'] = _stim_data[columns].agg(summarize)
-
-
-result.index = map(rename, result.index)
-
-result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))
-result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))
-
-
-result.to_latex(output_path / "statistics" / "statistics_11.tex")
-result.to_csv(output_path / "statistics" / "statistics_11.csv")
-result
-
- -
-
-
- -
-
- - -
- -
Out[21]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Baseline I11 HzMWUPRS
Average rate8.96 ± 0.80 (63)8.80 ± 0.85 (58)1781.00, 0.8130.04, 0.968
Gridness0.53 ± 0.05 (63)0.41 ± 0.05 (58)1459.00, 0.0570.21, 0.041
Sparsity0.63 ± 0.02 (63)0.67 ± 0.03 (58)2138.00, 0.1070.07, 0.128
Selectivity5.76 ± 0.40 (63)5.69 ± 0.50 (58)1687.00, 0.4690.00, 0.983
Information specificity0.24 ± 0.03 (63)0.21 ± 0.03 (58)1452.00, 0.0520.06, 0.030
Max rate37.39 ± 1.91 (63)33.11 ± 1.85 (58)1538.00, 0.1344.06, 0.125
Information rate1.31 ± 0.08 (63)0.94 ± 0.08 (58)1143.00, 0.0000.32, 0.004
Interspike interval cv2.39 ± 0.10 (63)2.19 ± 0.12 (58)1462.00, 0.0590.18, 0.139
In-field mean rate14.88 ± 1.05 (63)13.27 ± 1.04 (58)1633.00, 0.3150.77, 0.690
Out-field mean rate6.37 ± 0.67 (63)6.57 ± 0.77 (58)1795.00, 0.8700.47, 0.719
Burst event ratio0.22 ± 0.01 (63)0.22 ± 0.01 (58)1897.00, 0.7180.00, 0.824
Specificity0.47 ± 0.03 (63)0.44 ± 0.03 (58)1605.00, 0.2500.06, 0.414
Speed score0.14 ± 0.01 (63)0.11 ± 0.01 (58)1378.00, 0.0200.04, 0.022
-
-
- -
- -
-
- -
-
-
-
In [22]:
-
-
-
_stim_data = stimulated_30
-_base_data = baseline_ii
-
-result = pd.DataFrame()
-
-result['Baseline II'] = _base_data[columns].agg(summarize)
-result['30 Hz'] = _stim_data[columns].agg(summarize)
-
-result.index = map(rename, result.index)
-
-result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))
-result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))
-
-
-result.to_latex(output_path / "statistics" / "statistics_30.tex")
-result.to_csv(output_path / "statistics" / "statistics_30.csv")
-result
-
- -
-
-
- -
-
- - -
- -
Out[22]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Baseline II30 HzMWUPRS
Average rate8.29 ± 0.87 (52)7.61 ± 0.87 (38)958.00, 0.8100.27, 0.808
Gridness0.54 ± 0.04 (52)0.48 ± 0.06 (38)914.00, 0.5480.04, 0.598
Sparsity0.63 ± 0.03 (52)0.64 ± 0.03 (38)1040.00, 0.6740.06, 0.398
Selectivity5.96 ± 0.46 (52)6.42 ± 0.60 (38)1019.00, 0.8030.20, 0.845
Information specificity0.21 ± 0.02 (52)0.22 ± 0.03 (38)950.00, 0.7590.04, 0.506
Max rate36.27 ± 2.34 (52)33.49 ± 1.89 (38)943.00, 0.7162.90, 0.565
Information rate1.13 ± 0.08 (52)0.98 ± 0.09 (38)827.00, 0.1900.07, 0.335
Interspike interval cv2.37 ± 0.09 (52)2.23 ± 0.11 (38)869.00, 0.3330.17, 0.482
In-field mean rate13.79 ± 1.12 (52)12.21 ± 0.98 (38)912.00, 0.5371.06, 0.444
Out-field mean rate5.80 ± 0.72 (52)5.36 ± 0.73 (38)959.00, 0.8160.13, 0.912
Burst event ratio0.20 ± 0.01 (52)0.16 ± 0.01 (38)676.00, 0.0110.05, 0.009
Specificity0.47 ± 0.03 (52)0.48 ± 0.04 (38)976.00, 0.9250.00, 0.988
Speed score0.12 ± 0.01 (52)0.11 ± 0.01 (38)784.00, 0.0960.01, 0.242
-
-
- -
- -
-
- -
-
-
-
In [23]:
-
-
-
_stim_data = stimulated_30
-_base_data = baseline_i
-
-result = pd.DataFrame()
-
-result['Baseline I'] = _base_data[columns].agg(summarize)
-result['30 Hz'] = _stim_data[columns].agg(summarize)
-
-result.index = map(rename, result.index)
-
-result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))
-result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))
-
-
-result.to_latex(output_path / "statistics" / "statistics_b_i_30.tex")
-result.to_csv(output_path / "statistics" / "statistics_b_i_30.csv")
-result
-
- -
-
-
- -
-
- - -
- -
Out[23]:
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Baseline I30 HzMWUPRS
Average rate8.96 ± 0.80 (63)7.61 ± 0.87 (38)1081.00, 0.4180.27, 0.804
Gridness0.53 ± 0.05 (63)0.48 ± 0.06 (38)1094.00, 0.4720.08, 0.354
Sparsity0.63 ± 0.02 (63)0.64 ± 0.03 (38)1261.00, 0.6560.03, 0.648
Selectivity5.76 ± 0.40 (63)6.42 ± 0.60 (38)1276.00, 0.5820.86, 0.292
Information specificity0.24 ± 0.03 (63)0.22 ± 0.03 (38)1076.00, 0.3980.05, 0.159
Max rate37.39 ± 1.91 (63)33.49 ± 1.89 (38)1027.00, 0.2353.99, 0.191
Information rate1.31 ± 0.08 (63)0.98 ± 0.09 (38)797.00, 0.0050.32, 0.049
Interspike interval cv2.39 ± 0.10 (63)2.23 ± 0.11 (38)1100.00, 0.4990.01, 0.991
In-field mean rate14.88 ± 1.05 (63)12.21 ± 0.98 (38)1018.00, 0.2111.74, 0.273
Out-field mean rate6.37 ± 0.67 (63)5.36 ± 0.73 (38)1079.00, 0.4100.51, 0.641
Burst event ratio0.22 ± 0.01 (63)0.16 ± 0.01 (38)675.00, 0.0000.05, 0.004
Specificity0.47 ± 0.03 (63)0.48 ± 0.04 (38)1206.00, 0.9520.01, 0.875
Speed score0.14 ± 0.01 (63)0.11 ± 0.01 (38)835.00, 0.0110.06, 0.004
-
-
- -
- -
-
- -
-
-
-
In [ ]:
-
-
-
_stim_data = stimulated_30
-_base_data = stimulated_11
-
-result = pd.DataFrame()
-
-result['11 Hz'] = _base_data[columns].agg(summarize)
-result['30 Hz'] = _stim_data[columns].agg(summarize)
-
-
-result.index = map(rename, result.index)
-
-result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))
-result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))
-
-
-result.to_latex(output_path / "statistics" / "statistics_11_vs_30.tex")
-result.to_csv(output_path / "statistics" / "statistics_11_vs_30.csv")
-result
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
_stim_data = baseline_i
-_base_data = baseline_ii
-
-result = pd.DataFrame()
-
-result['Baseline I'] = _stim_data[columns].agg(summarize)
-result['Baseline II'] = _base_data[columns].agg(summarize)
-
-result.index = map(rename, result.index)
-
-result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))
-result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))
-
-
-result.to_latex(output_path / "statistics" / "statistics_base_i_vs_base_ii.tex")
-result.to_csv(output_path / "statistics" / "statistics_base_i_vs_base_ii.csv")
-result
-
- -
-
-
- -
-
-
-
-

Violinplot

-
-
-
-
-
-
In [ ]:
-
-
-
%matplotlib inline
-plt.rc('axes', titlesize=12)
-plt.rcParams.update({
-    'font.size': 12, 
-    'figure.figsize': (1.7, 3), 
-    'figure.dpi': 150
-})
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
# colors = ['#1b9e77','#d95f02','#7570b3','#e7298a']
-# labels = ['Baseline I', '11 Hz', 'Baseline II', '30 Hz']
-
-stuff = {
-    '': {
-        'base': gridcell_sessions.query('baseline and i'),
-        'stim': gridcell_sessions.query('stimulated')
-    },
-    '_11': {
-        'base': baseline_i,
-        'stim': stimulated_11
-    },
-    '_30': {
-        'base': baseline_ii,
-        'stim': stimulated_30
-    }
-}
-
-label = {
-    '': ['Baseline I   ', '   Stimulated'],
-    '_11': ['Baseline I ', '  11 Hz'],
-    '_30': ['Baseline II ', '  30 Hz']
-}
-
-colors = {
-    '': ['#1b9e77', '#b2182b'],
-    '_11': ['#1b9e77', '#d95f02'],
-    '_30': ['#7570b3', '#e7298a']
-}
-
- -
-
-
- -
-
-
-
-

Information rate

-
-
-
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['information_specificity'].to_numpy()
-    stimulated = dd['stim']['information_specificity'].to_numpy()
-    print(key)
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Spatial information specificity")
-    plt.ylabel("bits/spike")
-    plt.ylim(-0.2, 1.6)
-
-    plt.savefig(output_path / "figures" / f"information_specificity{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"information_specificity{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['information_rate'].to_numpy()
-    stimulated = dd['stim']['information_rate'].to_numpy()
-    print(key)
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Spatial information")
-    plt.ylabel("bits/s")
-    plt.ylim(-0.2, 4)
-
-    plt.savefig(output_path / "figures" / f"spatial_information{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"spatial_information{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['specificity'].to_numpy()
-    stimulated = dd['stim']['specificity'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Spatial specificity")
-    plt.ylabel("")
-    plt.ylim(-0.02, 1.25)
-    plt.savefig(output_path / "figures" / f"specificity{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"specificity{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['average_rate'].to_numpy()
-    stimulated = dd['stim']['average_rate'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Average rate")
-    plt.ylabel("spikes/s")
-    plt.ylim(-0.2, 40)
-
-    plt.savefig(output_path / "figures" / f"average_rate{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"average_rate{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['max_rate'].to_numpy()
-    stimulated = dd['stim']['max_rate'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Max rate")
-    plt.ylabel("spikes/s")
-    # plt.ylim(-0.2, 45)
-
-    plt.savefig(output_path / "figures" / f"max_rate{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"max_rate{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['interspike_interval_cv'].to_numpy()
-    stimulated = dd['stim']['interspike_interval_cv'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("ISI CV")
-    plt.ylabel("Coefficient of variation")
-    # plt.ylim(0.9, 5)
-
-    plt.savefig(output_path / "figures" / f"isi_cv{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"isi_cv{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['in_field_mean_rate'].to_numpy()
-    stimulated = dd['stim']['in_field_mean_rate'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("In-field rate")
-    plt.ylabel("spikes/s")
-    # plt.ylim(-0.1, 18)
-
-    plt.savefig(output_path / "figures" / f"in_field_mean_rate{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"in_field_mean_rate{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['out_field_mean_rate'].to_numpy()
-    stimulated = dd['stim']['out_field_mean_rate'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Out-of-field rate")
-    plt.ylabel("spikes/s")
-    # plt.ylim(-0.2, 8)
-
-    plt.savefig(output_path / "figures" / f"out_field_mean_rate{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"out_field_mean_rate{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['burst_event_ratio'].to_numpy()
-    stimulated = dd['stim']['burst_event_ratio'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Bursting ratio")
-    plt.ylabel("")
-    # plt.ylim(-0.02, 0.60)
-
-    plt.savefig(output_path / "figures" / f"burst_event_ratio{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"burst_event_ratio{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['max_field_mean_rate'].to_numpy()
-    stimulated = dd['stim']['max_field_mean_rate'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Mean rate of max field")
-    plt.ylabel("(spikes/s)")
-    # plt.ylim(-0.5,25)
-
-    plt.savefig(output_path / "figures" / f"max_field_mean_rate{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"max_field_mean_rate{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['bursty_spike_ratio'].to_numpy()
-    stimulated = dd['stim']['bursty_spike_ratio'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("ratio of spikes per burst")
-    plt.ylabel("")
-    # plt.ylim(-0.03,0.9)
-
-    plt.savefig(output_path / "figures" / f"bursty_spike_ratio{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"bursty_spike_ratio{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items():
-    baseline = dd['base']['gridness'].to_numpy()
-    stimulated = dd['stim']['gridness'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Gridness")
-    plt.ylabel("Gridness")
-    plt.ylim(-0.6, 1.5)
-
-    plt.savefig(output_path / "figures" / f"gridness{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"gridness{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
for key, dd in stuff.items(): #TODO narrow broad spiking
-    baseline = dd['base']['speed_score'].to_numpy()
-    stimulated = dd['stim']['speed_score'].to_numpy()
-    plt.figure()
-    violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])
-    plt.title("Speed score")
-    plt.ylabel("Speed score")
-    # plt.ylim(-0.1, 0.5)
-
-    plt.savefig(output_path / "figures" / f"speed_score{key}.svg", bbox_inches="tight")
-    plt.savefig(output_path / "figures" / f"speed_score{key}.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
-

inihibitory cells

-
-
-
-
-
-
In [ ]:
-
-
-
stim_action = actions['stimulus-response']
-stim_results = pd.read_csv(stim_action.data_path('results'))
-# stim_results has old unit id's but correct on (action, unit_name, channel_group)
-stim_results = stim_results.drop('unit_id', axis=1)
-
-data = data.merge(stim_results, how='left')
-
-waveform_action = actions['waveform-analysis']
-waveform_results = pd.read_csv(waveform_action.data_path('results')).drop('template', axis=1)
-
-data = data.merge(waveform_results, how='left')
-
-data.bs = data.bs.astype(bool)
-
-data.loc[data.eval('t_i_peak == t_i_peak and not bs'), 'ns_inhibited'] = True
-data.ns_inhibited.fillna(False, inplace=True)
-
-data.loc[data.eval('t_i_peak != t_i_peak and not bs'), 'ns_not_inhibited'] = True
-data.ns_not_inhibited.fillna(False, inplace=True)
-
-# make baseline for inhibited vs not inhibited
-data.loc[data.unit_id.isin(data.query('ns_inhibited').unit_id.values), 'ns_inhibited'] = True
-data.loc[data.unit_id.isin(data.query('ns_not_inhibited').unit_id.values), 'ns_not_inhibited'] = True
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
baseline = data.query('ns_inhibited and baseline and i')['speed_score'].to_numpy()
-stimulated = data.query('ns_inhibited and stimulated')['speed_score'].to_numpy()
-plt.figure()
-violinplot(baseline, stimulated, xticks=label[''], colors=colors[''])
-plt.title("Speed score")
-plt.ylabel("Speed score")
-# plt.ylim(-0.1, 0.5)
-
-plt.savefig(output_path / "figures" / f"speed_score_ns_inhibited.svg", bbox_inches="tight")
-plt.savefig(output_path / "figures" / f"speed_score_ns_inhibited.png", dpi=600, bbox_inches="tight")
-
- -
-
-
- -
-
-
-
-

Register in Expipe

-
-
-
-
-
-
In [ ]:
-
-
-
action = project.require_action("comparisons-gridcells")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
copy_tree(output_path, str(action.data_path()))
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
septum_mec.analysis.registration.store_notebook(action, "20_comparisons_gridcells.ipynb")
-
- -
-
-
- -
-
-
-
In [ ]:
-
-
-
 
-
- -
-
-
- -
-
-
- - - - - - diff --git a/actions/comparisons-gridcells/data/20_comparisons_gridcells.ipynb b/actions/comparisons-gridcells/data/20_comparisons_gridcells.ipynb deleted file mode 100644 index 44fe3d7c5..000000000 --- a/actions/comparisons-gridcells/data/20_comparisons_gridcells.ipynb +++ /dev/null @@ -1,2714 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "metadata": {}, - "outputs": [], - "source": [ - "%load_ext autoreload\n", - "%autoreload 2" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "12:51:51 [I] klustakwik KlustaKwik2 version 0.2.6\n", - "/home/mikkel/.virtualenvs/expipe/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject\n", - " return f(*args, **kwds)\n", - "/home/mikkel/.virtualenvs/expipe/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject\n", - " return f(*args, **kwds)\n" - ] - } - ], - "source": [ - "import os\n", - "import pathlib\n", - "import numpy as np\n", - "import matplotlib.pyplot as plt\n", - "import re\n", - "import shutil\n", - "import pandas as pd\n", - "import scipy.stats\n", - "\n", - "import exdir\n", - "import expipe\n", - "from distutils.dir_util import copy_tree\n", - "import septum_mec\n", - "import spatial_maps as sp\n", - "import head_direction.head as head\n", - "import septum_mec.analysis.data_processing as dp\n", - "import septum_mec.analysis.registration\n", - "from septum_mec.analysis.plotting import violinplot\n", - "\n", - "from spike_statistics.core import permutation_resampling" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "metadata": {}, - "outputs": [], - "source": [ - "project_path = dp.project_path()\n", - "project = expipe.get_project(project_path)\n", - "actions = project.actions\n", - "\n", - "output_path = pathlib.Path(\"output\") / \"comparisons-gridcells\"\n", - "(output_path / \"statistics\").mkdir(exist_ok=True, parents=True)\n", - "(output_path / \"figures\").mkdir(exist_ok=True, parents=True)" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Load cell statistics and shuffling quantiles" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
actionbaselineentityfrequencyiiisessionstim_locationstimulatedtag...burst_event_ratiobursty_spike_ratiogridnessborder_scoreinformation_rateinformation_specificityhead_mean_anghead_mean_vec_lenspacingorientation
01849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.3982300.678064-0.4669230.0293281.0092150.3172565.4380330.0408740.62878420.224859
11849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.1380140.263173-0.6667920.3081460.1925240.0334471.9517400.0172890.78938827.897271
21849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.3739860.659259-0.5725660.1432524.7458360.3937044.4397210.1247310.55540228.810794
31849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0874130.179245-0.4374920.2689480.1573940.0735536.2151950.1019110.4922509.462322
41849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.2487710.463596-0.0859380.2187440.5191530.0326831.5314810.0538100.5599050.000000
\n", - "

5 rows × 39 columns

\n", - "
" - ], - "text/plain": [ - " action baseline entity frequency i ii session \\\n", - "0 1849-060319-3 True 1849 NaN False True 3 \n", - "1 1849-060319-3 True 1849 NaN False True 3 \n", - "2 1849-060319-3 True 1849 NaN False True 3 \n", - "3 1849-060319-3 True 1849 NaN False True 3 \n", - "4 1849-060319-3 True 1849 NaN False True 3 \n", - "\n", - " stim_location stimulated tag ... burst_event_ratio \\\n", - "0 NaN False baseline ii ... 0.398230 \n", - "1 NaN False baseline ii ... 0.138014 \n", - "2 NaN False baseline ii ... 0.373986 \n", - "3 NaN False baseline ii ... 0.087413 \n", - "4 NaN False baseline ii ... 0.248771 \n", - "\n", - " bursty_spike_ratio gridness border_score information_rate \\\n", - "0 0.678064 -0.466923 0.029328 1.009215 \n", - "1 0.263173 -0.666792 0.308146 0.192524 \n", - "2 0.659259 -0.572566 0.143252 4.745836 \n", - "3 0.179245 -0.437492 0.268948 0.157394 \n", - "4 0.463596 -0.085938 0.218744 0.519153 \n", - "\n", - " information_specificity head_mean_ang head_mean_vec_len spacing \\\n", - "0 0.317256 5.438033 0.040874 0.628784 \n", - "1 0.033447 1.951740 0.017289 0.789388 \n", - "2 0.393704 4.439721 0.124731 0.555402 \n", - "3 0.073553 6.215195 0.101911 0.492250 \n", - "4 0.032683 1.531481 0.053810 0.559905 \n", - "\n", - " orientation \n", - "0 20.224859 \n", - "1 27.897271 \n", - "2 28.810794 \n", - "3 9.462322 \n", - "4 0.000000 \n", - "\n", - "[5 rows x 39 columns]" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "statistics_action = actions['calculate-statistics']\n", - "identification_action = actions['identify-neurons']\n", - "sessions = pd.read_csv(identification_action.data_path('sessions'))\n", - "units = pd.read_csv(identification_action.data_path('units'))\n", - "session_units = pd.merge(sessions, units, on='action')\n", - "statistics_results = pd.read_csv(statistics_action.data_path('results'))\n", - "statistics = pd.merge(session_units, statistics_results, how='left')\n", - "statistics.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
border_scoregridnesshead_mean_anghead_mean_vec_leninformation_ratespeed_scoreactionchannel_groupunit_name
00.3480230.2751093.0126890.0867920.7071970.1490711833-010719-10.0127.0
10.3623800.1664753.1331380.0372710.4824860.1322121833-010719-10.0161.0
20.3674980.2668655.5863950.1828430.2711880.0628211833-010719-10.0191.0
30.3319420.3121555.9557670.0907860.3540180.0520091833-010719-10.0223.0
40.3258420.1804955.2627210.1035840.2104270.0940411833-010719-10.0225.0
\n", - "
" - ], - "text/plain": [ - " border_score gridness head_mean_ang head_mean_vec_len information_rate \\\n", - "0 0.348023 0.275109 3.012689 0.086792 0.707197 \n", - "1 0.362380 0.166475 3.133138 0.037271 0.482486 \n", - "2 0.367498 0.266865 5.586395 0.182843 0.271188 \n", - "3 0.331942 0.312155 5.955767 0.090786 0.354018 \n", - "4 0.325842 0.180495 5.262721 0.103584 0.210427 \n", - "\n", - " speed_score action channel_group unit_name \n", - "0 0.149071 1833-010719-1 0.0 127.0 \n", - "1 0.132212 1833-010719-1 0.0 161.0 \n", - "2 0.062821 1833-010719-1 0.0 191.0 \n", - "3 0.052009 1833-010719-1 0.0 223.0 \n", - "4 0.094041 1833-010719-1 0.0 225.0 " - ] - }, - "execution_count": 5, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "shuffling = actions['shuffling']\n", - "quantiles_95 = pd.read_csv(shuffling.data_path('quantiles_95'))\n", - "quantiles_95.head()" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
actionbaselineentityfrequencyiiisessionstim_locationstimulatedtag...head_mean_vec_lenspacingorientationborder_score_thresholdgridness_thresholdhead_mean_ang_thresholdhead_mean_vec_len_thresholdinformation_rate_thresholdspeed_score_thresholdspecificity
01849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0408740.62878420.2248590.3325480.2290736.0294310.2053621.1158250.0667360.451741
11849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0172890.78938827.8972710.3548300.0893336.1200550.0735660.2232370.0525940.098517
21849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.1247310.55540228.8107940.264610-0.1210815.7594060.1508274.9649840.0271200.400770
31849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.1019110.4922509.4623220.3442800.2158296.0333640.1104950.2399960.0540740.269461
41849-060319-3True1849NaNFalseTrue3NaNFalsebaseline ii...0.0538100.5599050.0000000.3427990.2189675.7681700.0547620.5249900.1447020.133410
\n", - "

5 rows × 46 columns

\n", - "
" - ], - "text/plain": [ - " action baseline entity frequency i ii session \\\n", - "0 1849-060319-3 True 1849 NaN False True 3 \n", - "1 1849-060319-3 True 1849 NaN False True 3 \n", - "2 1849-060319-3 True 1849 NaN False True 3 \n", - "3 1849-060319-3 True 1849 NaN False True 3 \n", - "4 1849-060319-3 True 1849 NaN False True 3 \n", - "\n", - " stim_location stimulated tag ... head_mean_vec_len spacing \\\n", - "0 NaN False baseline ii ... 0.040874 0.628784 \n", - "1 NaN False baseline ii ... 0.017289 0.789388 \n", - "2 NaN False baseline ii ... 0.124731 0.555402 \n", - "3 NaN False baseline ii ... 0.101911 0.492250 \n", - "4 NaN False baseline ii ... 0.053810 0.559905 \n", - "\n", - " orientation border_score_threshold gridness_threshold \\\n", - "0 20.224859 0.332548 0.229073 \n", - "1 27.897271 0.354830 0.089333 \n", - "2 28.810794 0.264610 -0.121081 \n", - "3 9.462322 0.344280 0.215829 \n", - "4 0.000000 0.342799 0.218967 \n", - "\n", - " head_mean_ang_threshold head_mean_vec_len_threshold \\\n", - "0 6.029431 0.205362 \n", - "1 6.120055 0.073566 \n", - "2 5.759406 0.150827 \n", - "3 6.033364 0.110495 \n", - "4 5.768170 0.054762 \n", - "\n", - " information_rate_threshold speed_score_threshold specificity \n", - "0 1.115825 0.066736 0.451741 \n", - "1 0.223237 0.052594 0.098517 \n", - "2 4.964984 0.027120 0.400770 \n", - "3 0.239996 0.054074 0.269461 \n", - "4 0.524990 0.144702 0.133410 \n", - "\n", - "[5 rows x 46 columns]" - ] - }, - "execution_count": 6, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "action_columns = ['action', 'channel_group', 'unit_name']\n", - "data = pd.merge(statistics, quantiles_95, on=action_columns, suffixes=(\"\", \"_threshold\"))\n", - "\n", - "data['specificity'] = np.log10(data['in_field_mean_rate'] / data['out_field_mean_rate'])\n", - "\n", - "data.head()" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Statistics about all cell-sessions" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "stimulated\n", - "False 624\n", - "True 660\n", - "Name: action, dtype: int64" - ] - }, - "execution_count": 7, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "data.groupby('stimulated').count()['action']" - ] - }, - { - "cell_type": "code", - "execution_count": 8, - "metadata": {}, - "outputs": [], - "source": [ - "data['unit_day'] = data.apply(lambda x: str(x.unit_idnum) + '_' + x.action.split('-')[1], axis=1)" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Find all cells with gridness above threshold" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Number of sessions above threshold 194\n", - "Number of animals 4\n" - ] - } - ], - "source": [ - "query = (\n", - " 'gridness > gridness_threshold and '\n", - " 'information_rate > information_rate_threshold and '\n", - " 'gridness > .2 and '\n", - " 'average_rate < 25'\n", - ")\n", - "sessions_above_threshold = data.query(query)\n", - "print(\"Number of sessions above threshold\", len(sessions_above_threshold))\n", - "print(\"Number of animals\", len(sessions_above_threshold.groupby(['entity'])))" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "metadata": {}, - "outputs": [], - "source": [ - "gridcell_sessions = data[data.unit_day.isin(sessions_above_threshold.unit_day.values)]" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Number of gridcells 139\n", - "Number of gridcell recordings 231\n", - "Number of animals 4\n" - ] - } - ], - "source": [ - "print(\"Number of gridcells\", gridcell_sessions.unit_idnum.nunique())\n", - "print(\"Number of gridcell recordings\", len(gridcell_sessions))\n", - "print(\"Number of animals\", len(gridcell_sessions.groupby(['entity'])))" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Number of gridcells in baseline i sessions 66\n", - "Number of gridcells in stimulated 11Hz ms sessions 61\n", - "Number of gridcells in baseline ii sessions 56\n", - "Number of gridcells in stimulated 30Hz ms sessions 40\n" - ] - } - ], - "source": [ - "baseline_i = gridcell_sessions.query('baseline and Hz11')\n", - "stimulated_11 = gridcell_sessions.query('frequency==11 and stim_location==\"ms\"')\n", - "\n", - "baseline_ii = gridcell_sessions.query('baseline and Hz30')\n", - "stimulated_30 = gridcell_sessions.query('frequency==30 and stim_location==\"ms\"')\n", - "\n", - "print(\"Number of gridcells in baseline i sessions\", len(baseline_i))\n", - "print(\"Number of gridcells in stimulated 11Hz ms sessions\", len(stimulated_11))\n", - "\n", - "print(\"Number of gridcells in baseline ii sessions\", len(baseline_ii))\n", - "print(\"Number of gridcells in stimulated 30Hz ms sessions\", len(stimulated_30))" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# slice unique units" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "metadata": {}, - "outputs": [], - "source": [ - "baseline_i = baseline_i.drop_duplicates('unit_id')\n", - "stimulated_11 = stimulated_11.drop_duplicates('unit_id')\n", - "baseline_ii = baseline_ii.drop_duplicates('unit_id')\n", - "stimulated_30 = stimulated_30.drop_duplicates('unit_id')" - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Number of gridcells in baseline i sessions 63\n", - "Number of gridcells in stimulated 11Hz ms sessions 58\n", - "Number of gridcells in baseline ii sessions 52\n", - "Number of gridcells in stimulated 30Hz ms sessions 38\n" - ] - } - ], - "source": [ - "print(\"Number of gridcells in baseline i sessions\", len(baseline_i))\n", - "print(\"Number of gridcells in stimulated 11Hz ms sessions\", len(stimulated_11))\n", - "\n", - "print(\"Number of gridcells in baseline ii sessions\", len(baseline_ii))\n", - "print(\"Number of gridcells in stimulated 30Hz ms sessions\", len(stimulated_30))" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Calculate statistics" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "metadata": {}, - "outputs": [], - "source": [ - "columns = [\n", - " 'average_rate', 'gridness', 'sparsity', 'selectivity', 'information_specificity',\n", - " 'max_rate', 'information_rate', 'interspike_interval_cv', \n", - " 'in_field_mean_rate', 'out_field_mean_rate', \n", - " 'burst_event_ratio', 'specificity', 'speed_score'\n", - "]" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
average_rategridnesssparsityselectivityinformation_specificitymax_rateinformation_rateinterspike_interval_cvin_field_mean_rateout_field_mean_rateburst_event_ratiospecificityspeed_score
stimulated
False8.9045010.5213710.6183845.9345390.23463237.4378081.2465462.40464714.7176356.3468750.2118400.4787750.135495
True8.3922520.4402960.6556985.9774080.21573633.7164780.9647872.22363612.9360216.1222280.1972640.4558780.104697
\n", - "
" - ], - "text/plain": [ - " average_rate gridness sparsity selectivity \\\n", - "stimulated \n", - "False 8.904501 0.521371 0.618384 5.934539 \n", - "True 8.392252 0.440296 0.655698 5.977408 \n", - "\n", - " information_specificity max_rate information_rate \\\n", - "stimulated \n", - "False 0.234632 37.437808 1.246546 \n", - "True 0.215736 33.716478 0.964787 \n", - "\n", - " interspike_interval_cv in_field_mean_rate out_field_mean_rate \\\n", - "stimulated \n", - "False 2.404647 14.717635 6.346875 \n", - "True 2.223636 12.936021 6.122228 \n", - "\n", - " burst_event_ratio specificity speed_score \n", - "stimulated \n", - "False 0.211840 0.478775 0.135495 \n", - "True 0.197264 0.455878 0.104697 " - ] - }, - "execution_count": 16, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "gridcell_sessions.groupby('stimulated')[columns].mean()" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
average_rategridnesssparsityselectivityinformation_specificitymax_rateinformation_rateinterspike_interval_cvin_field_mean_rateout_field_mean_rateburst_event_ratiospecificityspeed_score
count129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000129.000000
mean8.9045010.5213710.6183845.9345390.23463237.4378081.2465462.40464714.7176356.3468750.2118400.4787750.135495
std7.6055980.3376070.1879343.2173660.20072616.3001170.6059710.7564079.2675226.8054990.0801430.2095310.072831
min0.478349-0.6849240.2000661.5332160.0078073.3460270.1176381.3043870.9240660.1590760.0250000.071681-0.025629
25%3.5183920.3163260.4374993.7298630.09325226.9488430.7867531.8729917.7011561.6698440.1607950.3108220.084280
50%6.4568820.5292430.6421674.7949700.18028635.0649911.1560872.22118512.2122894.3149130.2102400.4363400.128603
75%12.7217550.7836820.7580977.4394640.31248744.3248731.5929482.77062420.9740269.1215050.2675680.6248340.188948
max59.3653121.1489790.97615718.9758751.24330790.1601583.4567965.67136266.35075456.2555440.3933061.0663910.297548
\n", - "
" - ], - "text/plain": [ - " average_rate gridness sparsity selectivity \\\n", - "count 129.000000 129.000000 129.000000 129.000000 \n", - "mean 8.904501 0.521371 0.618384 5.934539 \n", - "std 7.605598 0.337607 0.187934 3.217366 \n", - "min 0.478349 -0.684924 0.200066 1.533216 \n", - "25% 3.518392 0.316326 0.437499 3.729863 \n", - "50% 6.456882 0.529243 0.642167 4.794970 \n", - "75% 12.721755 0.783682 0.758097 7.439464 \n", - "max 59.365312 1.148979 0.976157 18.975875 \n", - "\n", - " information_specificity max_rate information_rate \\\n", - "count 129.000000 129.000000 129.000000 \n", - "mean 0.234632 37.437808 1.246546 \n", - "std 0.200726 16.300117 0.605971 \n", - "min 0.007807 3.346027 0.117638 \n", - "25% 0.093252 26.948843 0.786753 \n", - "50% 0.180286 35.064991 1.156087 \n", - "75% 0.312487 44.324873 1.592948 \n", - "max 1.243307 90.160158 3.456796 \n", - "\n", - " interspike_interval_cv in_field_mean_rate out_field_mean_rate \\\n", - "count 129.000000 129.000000 129.000000 \n", - "mean 2.404647 14.717635 6.346875 \n", - "std 0.756407 9.267522 6.805499 \n", - "min 1.304387 0.924066 0.159076 \n", - "25% 1.872991 7.701156 1.669844 \n", - "50% 2.221185 12.212289 4.314913 \n", - "75% 2.770624 20.974026 9.121505 \n", - "max 5.671362 66.350754 56.255544 \n", - "\n", - " burst_event_ratio specificity speed_score \n", - "count 129.000000 129.000000 129.000000 \n", - "mean 0.211840 0.478775 0.135495 \n", - "std 0.080143 0.209531 0.072831 \n", - "min 0.025000 0.071681 -0.025629 \n", - "25% 0.160795 0.310822 0.084280 \n", - "50% 0.210240 0.436340 0.128603 \n", - "75% 0.267568 0.624834 0.188948 \n", - "max 0.393306 1.066391 0.297548 " - ] - }, - "execution_count": 17, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "gridcell_sessions.query('baseline')[columns].describe()" - ] - }, - { - "cell_type": "code", - "execution_count": 18, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
average_rategridnesssparsityselectivityinformation_specificitymax_rateinformation_rateinterspike_interval_cvin_field_mean_rateout_field_mean_rateburst_event_ratiospecificityspeed_score
count102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000102.000000
mean8.3922520.4402960.6556985.9774080.21573633.7164780.9647872.22363612.9360216.1222280.1972640.4558780.104697
std6.0570010.3570380.2117043.7024000.23591613.2493120.5729720.8197347.2118955.3663320.0821640.2367770.081989
min0.198337-0.5169140.1726841.9300260.0130882.8462810.0631731.1106720.5246390.0990600.0084750.097718-0.138128
25%3.5791840.2659490.4584933.0443030.06665625.5551100.5642791.6204727.5557601.7336240.1467550.2480570.056903
50%6.8385610.3990530.6995614.8918550.12856231.4025580.8624132.08402011.4515604.2348710.1929480.3761430.106314
75%11.9345990.7495610.8423328.0015870.30071342.3347861.1903242.67399117.3353568.5834150.2474050.6846230.149313
max24.8587381.1551230.96700319.9114771.35916465.9907933.1822856.52696034.48991321.6962650.3930371.0910640.390079
\n", - "
" - ], - "text/plain": [ - " average_rate gridness sparsity selectivity \\\n", - "count 102.000000 102.000000 102.000000 102.000000 \n", - "mean 8.392252 0.440296 0.655698 5.977408 \n", - "std 6.057001 0.357038 0.211704 3.702400 \n", - "min 0.198337 -0.516914 0.172684 1.930026 \n", - "25% 3.579184 0.265949 0.458493 3.044303 \n", - "50% 6.838561 0.399053 0.699561 4.891855 \n", - "75% 11.934599 0.749561 0.842332 8.001587 \n", - "max 24.858738 1.155123 0.967003 19.911477 \n", - "\n", - " information_specificity max_rate information_rate \\\n", - "count 102.000000 102.000000 102.000000 \n", - "mean 0.215736 33.716478 0.964787 \n", - "std 0.235916 13.249312 0.572972 \n", - "min 0.013088 2.846281 0.063173 \n", - "25% 0.066656 25.555110 0.564279 \n", - "50% 0.128562 31.402558 0.862413 \n", - "75% 0.300713 42.334786 1.190324 \n", - "max 1.359164 65.990793 3.182285 \n", - "\n", - " interspike_interval_cv in_field_mean_rate out_field_mean_rate \\\n", - "count 102.000000 102.000000 102.000000 \n", - "mean 2.223636 12.936021 6.122228 \n", - "std 0.819734 7.211895 5.366332 \n", - "min 1.110672 0.524639 0.099060 \n", - "25% 1.620472 7.555760 1.733624 \n", - "50% 2.084020 11.451560 4.234871 \n", - "75% 2.673991 17.335356 8.583415 \n", - "max 6.526960 34.489913 21.696265 \n", - "\n", - " burst_event_ratio specificity speed_score \n", - "count 102.000000 102.000000 102.000000 \n", - "mean 0.197264 0.455878 0.104697 \n", - "std 0.082164 0.236777 0.081989 \n", - "min 0.008475 0.097718 -0.138128 \n", - "25% 0.146755 0.248057 0.056903 \n", - "50% 0.192948 0.376143 0.106314 \n", - "75% 0.247405 0.684623 0.149313 \n", - "max 0.393037 1.091064 0.390079 " - ] - }, - "execution_count": 18, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "gridcell_sessions.query(\"stimulated\")[columns].describe()" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Create nice table" - ] - }, - { - "cell_type": "code", - "execution_count": 19, - "metadata": {}, - "outputs": [], - "source": [ - "def summarize(data):\n", - " return \"{:.2f} ± {:.2f} ({})\".format(data.mean(), data.sem(), sum(~np.isnan(data)))\n", - "\n", - "\n", - "def MWU(column, stim, base):\n", - " '''\n", - " Mann Whitney U\n", - " '''\n", - " Uvalue, pvalue = scipy.stats.mannwhitneyu(\n", - " stim[column].dropna(), \n", - " base[column].dropna(),\n", - " alternative='two-sided')\n", - "\n", - " return \"{:.2f}, {:.3f}\".format(Uvalue, pvalue)\n", - "\n", - "\n", - "def PRS(column, stim, base):\n", - " '''\n", - " Permutation ReSampling\n", - " '''\n", - " pvalue, observed_diff, diffs = permutation_resampling(\n", - " stim[column].dropna(), \n", - " base[column].dropna(), statistic=np.median)\n", - "\n", - " return \"{:.2f}, {:.3f}\".format(observed_diff, pvalue)\n", - "\n", - "\n", - "def rename(name):\n", - " return name.replace(\"_field\", \"-field\").replace(\"_\", \" \").capitalize()" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Baseline IStimulatedMWUPRS
Average rate8.61 ± 0.75 (71)8.39 ± 0.60 (102)3599.00, 0.9470.55, 0.757
Gridness0.51 ± 0.04 (71)0.44 ± 0.04 (102)3208.00, 0.2030.13, 0.145
Sparsity0.61 ± 0.02 (71)0.66 ± 0.02 (102)4170.00, 0.0910.06, 0.179
Selectivity5.91 ± 0.37 (71)5.98 ± 0.37 (102)3460.00, 0.6200.10, 0.874
Information specificity0.25 ± 0.03 (71)0.22 ± 0.02 (102)2944.00, 0.0370.05, 0.034
Max rate36.55 ± 1.78 (71)33.72 ± 1.31 (102)3291.00, 0.3093.19, 0.194
Information rate1.30 ± 0.07 (71)0.96 ± 0.06 (102)2385.00, 0.0000.32, 0.001
Interspike interval cv2.42 ± 0.10 (71)2.22 ± 0.08 (102)3034.00, 0.0700.12, 0.398
In-field mean rate14.43 ± 1.00 (71)12.94 ± 0.71 (102)3368.00, 0.4360.39, 0.817
Out-field mean rate6.05 ± 0.62 (71)6.12 ± 0.53 (102)3600.00, 0.9500.08, 0.944
Burst event ratio0.22 ± 0.01 (71)0.20 ± 0.01 (102)3090.00, 0.1020.02, 0.129
Specificity0.48 ± 0.03 (71)0.46 ± 0.02 (102)3268.00, 0.2770.06, 0.360
Speed score0.14 ± 0.01 (71)0.10 ± 0.01 (102)2546.00, 0.0010.05, 0.000
\n", - "
" - ], - "text/plain": [ - " Baseline I Stimulated \\\n", - "Average rate 8.61 ± 0.75 (71) 8.39 ± 0.60 (102) \n", - "Gridness 0.51 ± 0.04 (71) 0.44 ± 0.04 (102) \n", - "Sparsity 0.61 ± 0.02 (71) 0.66 ± 0.02 (102) \n", - "Selectivity 5.91 ± 0.37 (71) 5.98 ± 0.37 (102) \n", - "Information specificity 0.25 ± 0.03 (71) 0.22 ± 0.02 (102) \n", - "Max rate 36.55 ± 1.78 (71) 33.72 ± 1.31 (102) \n", - "Information rate 1.30 ± 0.07 (71) 0.96 ± 0.06 (102) \n", - "Interspike interval cv 2.42 ± 0.10 (71) 2.22 ± 0.08 (102) \n", - "In-field mean rate 14.43 ± 1.00 (71) 12.94 ± 0.71 (102) \n", - "Out-field mean rate 6.05 ± 0.62 (71) 6.12 ± 0.53 (102) \n", - "Burst event ratio 0.22 ± 0.01 (71) 0.20 ± 0.01 (102) \n", - "Specificity 0.48 ± 0.03 (71) 0.46 ± 0.02 (102) \n", - "Speed score 0.14 ± 0.01 (71) 0.10 ± 0.01 (102) \n", - "\n", - " MWU PRS \n", - "Average rate 3599.00, 0.947 0.55, 0.757 \n", - "Gridness 3208.00, 0.203 0.13, 0.145 \n", - "Sparsity 4170.00, 0.091 0.06, 0.179 \n", - "Selectivity 3460.00, 0.620 0.10, 0.874 \n", - "Information specificity 2944.00, 0.037 0.05, 0.034 \n", - "Max rate 3291.00, 0.309 3.19, 0.194 \n", - "Information rate 2385.00, 0.000 0.32, 0.001 \n", - "Interspike interval cv 3034.00, 0.070 0.12, 0.398 \n", - "In-field mean rate 3368.00, 0.436 0.39, 0.817 \n", - "Out-field mean rate 3600.00, 0.950 0.08, 0.944 \n", - "Burst event ratio 3090.00, 0.102 0.02, 0.129 \n", - "Specificity 3268.00, 0.277 0.06, 0.360 \n", - "Speed score 2546.00, 0.001 0.05, 0.000 " - ] - }, - "execution_count": 20, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "_stim_data = gridcell_sessions.query('stimulated')\n", - "_base_data = gridcell_sessions.query('baseline and i')\n", - "\n", - "result = pd.DataFrame()\n", - "\n", - "result['Baseline I'] = _base_data[columns].agg(summarize)\n", - "result['Stimulated'] = _stim_data[columns].agg(summarize)\n", - "\n", - "\n", - "result.index = map(rename, result.index)\n", - "\n", - "result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))\n", - "result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))\n", - "\n", - "result.to_latex(output_path / \"statistics\" / \"statistics.tex\")\n", - "result.to_csv(output_path / \"statistics\" / \"statistics.csv\")\n", - "result" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Baseline I11 HzMWUPRS
Average rate8.96 ± 0.80 (63)8.80 ± 0.85 (58)1781.00, 0.8130.04, 0.968
Gridness0.53 ± 0.05 (63)0.41 ± 0.05 (58)1459.00, 0.0570.21, 0.041
Sparsity0.63 ± 0.02 (63)0.67 ± 0.03 (58)2138.00, 0.1070.07, 0.128
Selectivity5.76 ± 0.40 (63)5.69 ± 0.50 (58)1687.00, 0.4690.00, 0.983
Information specificity0.24 ± 0.03 (63)0.21 ± 0.03 (58)1452.00, 0.0520.06, 0.030
Max rate37.39 ± 1.91 (63)33.11 ± 1.85 (58)1538.00, 0.1344.06, 0.125
Information rate1.31 ± 0.08 (63)0.94 ± 0.08 (58)1143.00, 0.0000.32, 0.004
Interspike interval cv2.39 ± 0.10 (63)2.19 ± 0.12 (58)1462.00, 0.0590.18, 0.139
In-field mean rate14.88 ± 1.05 (63)13.27 ± 1.04 (58)1633.00, 0.3150.77, 0.690
Out-field mean rate6.37 ± 0.67 (63)6.57 ± 0.77 (58)1795.00, 0.8700.47, 0.719
Burst event ratio0.22 ± 0.01 (63)0.22 ± 0.01 (58)1897.00, 0.7180.00, 0.824
Specificity0.47 ± 0.03 (63)0.44 ± 0.03 (58)1605.00, 0.2500.06, 0.414
Speed score0.14 ± 0.01 (63)0.11 ± 0.01 (58)1378.00, 0.0200.04, 0.022
\n", - "
" - ], - "text/plain": [ - " Baseline I 11 Hz MWU \\\n", - "Average rate 8.96 ± 0.80 (63) 8.80 ± 0.85 (58) 1781.00, 0.813 \n", - "Gridness 0.53 ± 0.05 (63) 0.41 ± 0.05 (58) 1459.00, 0.057 \n", - "Sparsity 0.63 ± 0.02 (63) 0.67 ± 0.03 (58) 2138.00, 0.107 \n", - "Selectivity 5.76 ± 0.40 (63) 5.69 ± 0.50 (58) 1687.00, 0.469 \n", - "Information specificity 0.24 ± 0.03 (63) 0.21 ± 0.03 (58) 1452.00, 0.052 \n", - "Max rate 37.39 ± 1.91 (63) 33.11 ± 1.85 (58) 1538.00, 0.134 \n", - "Information rate 1.31 ± 0.08 (63) 0.94 ± 0.08 (58) 1143.00, 0.000 \n", - "Interspike interval cv 2.39 ± 0.10 (63) 2.19 ± 0.12 (58) 1462.00, 0.059 \n", - "In-field mean rate 14.88 ± 1.05 (63) 13.27 ± 1.04 (58) 1633.00, 0.315 \n", - "Out-field mean rate 6.37 ± 0.67 (63) 6.57 ± 0.77 (58) 1795.00, 0.870 \n", - "Burst event ratio 0.22 ± 0.01 (63) 0.22 ± 0.01 (58) 1897.00, 0.718 \n", - "Specificity 0.47 ± 0.03 (63) 0.44 ± 0.03 (58) 1605.00, 0.250 \n", - "Speed score 0.14 ± 0.01 (63) 0.11 ± 0.01 (58) 1378.00, 0.020 \n", - "\n", - " PRS \n", - "Average rate 0.04, 0.968 \n", - "Gridness 0.21, 0.041 \n", - "Sparsity 0.07, 0.128 \n", - "Selectivity 0.00, 0.983 \n", - "Information specificity 0.06, 0.030 \n", - "Max rate 4.06, 0.125 \n", - "Information rate 0.32, 0.004 \n", - "Interspike interval cv 0.18, 0.139 \n", - "In-field mean rate 0.77, 0.690 \n", - "Out-field mean rate 0.47, 0.719 \n", - "Burst event ratio 0.00, 0.824 \n", - "Specificity 0.06, 0.414 \n", - "Speed score 0.04, 0.022 " - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "_stim_data = stimulated_11\n", - "_base_data = baseline_i\n", - "\n", - "result = pd.DataFrame()\n", - "\n", - "result['Baseline I'] = _base_data[columns].agg(summarize)\n", - "result['11 Hz'] = _stim_data[columns].agg(summarize)\n", - "\n", - "\n", - "result.index = map(rename, result.index)\n", - "\n", - "result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))\n", - "result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))\n", - "\n", - "\n", - "result.to_latex(output_path / \"statistics\" / \"statistics_11.tex\")\n", - "result.to_csv(output_path / \"statistics\" / \"statistics_11.csv\")\n", - "result" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Baseline II30 HzMWUPRS
Average rate8.29 ± 0.87 (52)7.61 ± 0.87 (38)958.00, 0.8100.27, 0.808
Gridness0.54 ± 0.04 (52)0.48 ± 0.06 (38)914.00, 0.5480.04, 0.598
Sparsity0.63 ± 0.03 (52)0.64 ± 0.03 (38)1040.00, 0.6740.06, 0.398
Selectivity5.96 ± 0.46 (52)6.42 ± 0.60 (38)1019.00, 0.8030.20, 0.845
Information specificity0.21 ± 0.02 (52)0.22 ± 0.03 (38)950.00, 0.7590.04, 0.506
Max rate36.27 ± 2.34 (52)33.49 ± 1.89 (38)943.00, 0.7162.90, 0.565
Information rate1.13 ± 0.08 (52)0.98 ± 0.09 (38)827.00, 0.1900.07, 0.335
Interspike interval cv2.37 ± 0.09 (52)2.23 ± 0.11 (38)869.00, 0.3330.17, 0.482
In-field mean rate13.79 ± 1.12 (52)12.21 ± 0.98 (38)912.00, 0.5371.06, 0.444
Out-field mean rate5.80 ± 0.72 (52)5.36 ± 0.73 (38)959.00, 0.8160.13, 0.912
Burst event ratio0.20 ± 0.01 (52)0.16 ± 0.01 (38)676.00, 0.0110.05, 0.009
Specificity0.47 ± 0.03 (52)0.48 ± 0.04 (38)976.00, 0.9250.00, 0.988
Speed score0.12 ± 0.01 (52)0.11 ± 0.01 (38)784.00, 0.0960.01, 0.242
\n", - "
" - ], - "text/plain": [ - " Baseline II 30 Hz MWU \\\n", - "Average rate 8.29 ± 0.87 (52) 7.61 ± 0.87 (38) 958.00, 0.810 \n", - "Gridness 0.54 ± 0.04 (52) 0.48 ± 0.06 (38) 914.00, 0.548 \n", - "Sparsity 0.63 ± 0.03 (52) 0.64 ± 0.03 (38) 1040.00, 0.674 \n", - "Selectivity 5.96 ± 0.46 (52) 6.42 ± 0.60 (38) 1019.00, 0.803 \n", - "Information specificity 0.21 ± 0.02 (52) 0.22 ± 0.03 (38) 950.00, 0.759 \n", - "Max rate 36.27 ± 2.34 (52) 33.49 ± 1.89 (38) 943.00, 0.716 \n", - "Information rate 1.13 ± 0.08 (52) 0.98 ± 0.09 (38) 827.00, 0.190 \n", - "Interspike interval cv 2.37 ± 0.09 (52) 2.23 ± 0.11 (38) 869.00, 0.333 \n", - "In-field mean rate 13.79 ± 1.12 (52) 12.21 ± 0.98 (38) 912.00, 0.537 \n", - "Out-field mean rate 5.80 ± 0.72 (52) 5.36 ± 0.73 (38) 959.00, 0.816 \n", - "Burst event ratio 0.20 ± 0.01 (52) 0.16 ± 0.01 (38) 676.00, 0.011 \n", - "Specificity 0.47 ± 0.03 (52) 0.48 ± 0.04 (38) 976.00, 0.925 \n", - "Speed score 0.12 ± 0.01 (52) 0.11 ± 0.01 (38) 784.00, 0.096 \n", - "\n", - " PRS \n", - "Average rate 0.27, 0.808 \n", - "Gridness 0.04, 0.598 \n", - "Sparsity 0.06, 0.398 \n", - "Selectivity 0.20, 0.845 \n", - "Information specificity 0.04, 0.506 \n", - "Max rate 2.90, 0.565 \n", - "Information rate 0.07, 0.335 \n", - "Interspike interval cv 0.17, 0.482 \n", - "In-field mean rate 1.06, 0.444 \n", - "Out-field mean rate 0.13, 0.912 \n", - "Burst event ratio 0.05, 0.009 \n", - "Specificity 0.00, 0.988 \n", - "Speed score 0.01, 0.242 " - ] - }, - "execution_count": 22, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "_stim_data = stimulated_30\n", - "_base_data = baseline_ii\n", - "\n", - "result = pd.DataFrame()\n", - "\n", - "result['Baseline II'] = _base_data[columns].agg(summarize)\n", - "result['30 Hz'] = _stim_data[columns].agg(summarize)\n", - "\n", - "result.index = map(rename, result.index)\n", - "\n", - "result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))\n", - "result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))\n", - "\n", - "\n", - "result.to_latex(output_path / \"statistics\" / \"statistics_30.tex\")\n", - "result.to_csv(output_path / \"statistics\" / \"statistics_30.csv\")\n", - "result" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
Baseline I30 HzMWUPRS
Average rate8.96 ± 0.80 (63)7.61 ± 0.87 (38)1081.00, 0.4180.27, 0.804
Gridness0.53 ± 0.05 (63)0.48 ± 0.06 (38)1094.00, 0.4720.08, 0.354
Sparsity0.63 ± 0.02 (63)0.64 ± 0.03 (38)1261.00, 0.6560.03, 0.648
Selectivity5.76 ± 0.40 (63)6.42 ± 0.60 (38)1276.00, 0.5820.86, 0.292
Information specificity0.24 ± 0.03 (63)0.22 ± 0.03 (38)1076.00, 0.3980.05, 0.159
Max rate37.39 ± 1.91 (63)33.49 ± 1.89 (38)1027.00, 0.2353.99, 0.191
Information rate1.31 ± 0.08 (63)0.98 ± 0.09 (38)797.00, 0.0050.32, 0.049
Interspike interval cv2.39 ± 0.10 (63)2.23 ± 0.11 (38)1100.00, 0.4990.01, 0.991
In-field mean rate14.88 ± 1.05 (63)12.21 ± 0.98 (38)1018.00, 0.2111.74, 0.273
Out-field mean rate6.37 ± 0.67 (63)5.36 ± 0.73 (38)1079.00, 0.4100.51, 0.641
Burst event ratio0.22 ± 0.01 (63)0.16 ± 0.01 (38)675.00, 0.0000.05, 0.004
Specificity0.47 ± 0.03 (63)0.48 ± 0.04 (38)1206.00, 0.9520.01, 0.875
Speed score0.14 ± 0.01 (63)0.11 ± 0.01 (38)835.00, 0.0110.06, 0.004
\n", - "
" - ], - "text/plain": [ - " Baseline I 30 Hz MWU \\\n", - "Average rate 8.96 ± 0.80 (63) 7.61 ± 0.87 (38) 1081.00, 0.418 \n", - "Gridness 0.53 ± 0.05 (63) 0.48 ± 0.06 (38) 1094.00, 0.472 \n", - "Sparsity 0.63 ± 0.02 (63) 0.64 ± 0.03 (38) 1261.00, 0.656 \n", - "Selectivity 5.76 ± 0.40 (63) 6.42 ± 0.60 (38) 1276.00, 0.582 \n", - "Information specificity 0.24 ± 0.03 (63) 0.22 ± 0.03 (38) 1076.00, 0.398 \n", - "Max rate 37.39 ± 1.91 (63) 33.49 ± 1.89 (38) 1027.00, 0.235 \n", - "Information rate 1.31 ± 0.08 (63) 0.98 ± 0.09 (38) 797.00, 0.005 \n", - "Interspike interval cv 2.39 ± 0.10 (63) 2.23 ± 0.11 (38) 1100.00, 0.499 \n", - "In-field mean rate 14.88 ± 1.05 (63) 12.21 ± 0.98 (38) 1018.00, 0.211 \n", - "Out-field mean rate 6.37 ± 0.67 (63) 5.36 ± 0.73 (38) 1079.00, 0.410 \n", - "Burst event ratio 0.22 ± 0.01 (63) 0.16 ± 0.01 (38) 675.00, 0.000 \n", - "Specificity 0.47 ± 0.03 (63) 0.48 ± 0.04 (38) 1206.00, 0.952 \n", - "Speed score 0.14 ± 0.01 (63) 0.11 ± 0.01 (38) 835.00, 0.011 \n", - "\n", - " PRS \n", - "Average rate 0.27, 0.804 \n", - "Gridness 0.08, 0.354 \n", - "Sparsity 0.03, 0.648 \n", - "Selectivity 0.86, 0.292 \n", - "Information specificity 0.05, 0.159 \n", - "Max rate 3.99, 0.191 \n", - "Information rate 0.32, 0.049 \n", - "Interspike interval cv 0.01, 0.991 \n", - "In-field mean rate 1.74, 0.273 \n", - "Out-field mean rate 0.51, 0.641 \n", - "Burst event ratio 0.05, 0.004 \n", - "Specificity 0.01, 0.875 \n", - "Speed score 0.06, 0.004 " - ] - }, - "execution_count": 23, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "_stim_data = stimulated_30\n", - "_base_data = baseline_i\n", - "\n", - "result = pd.DataFrame()\n", - "\n", - "result['Baseline I'] = _base_data[columns].agg(summarize)\n", - "result['30 Hz'] = _stim_data[columns].agg(summarize)\n", - "\n", - "result.index = map(rename, result.index)\n", - "\n", - "result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))\n", - "result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))\n", - "\n", - "\n", - "result.to_latex(output_path / \"statistics\" / \"statistics_b_i_30.tex\")\n", - "result.to_csv(output_path / \"statistics\" / \"statistics_b_i_30.csv\")\n", - "result" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "_stim_data = stimulated_30\n", - "_base_data = stimulated_11\n", - "\n", - "result = pd.DataFrame()\n", - "\n", - "result['11 Hz'] = _base_data[columns].agg(summarize)\n", - "result['30 Hz'] = _stim_data[columns].agg(summarize)\n", - "\n", - "\n", - "result.index = map(rename, result.index)\n", - "\n", - "result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))\n", - "result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))\n", - "\n", - "\n", - "result.to_latex(output_path / \"statistics\" / \"statistics_11_vs_30.tex\")\n", - "result.to_csv(output_path / \"statistics\" / \"statistics_11_vs_30.csv\")\n", - "result" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "_stim_data = baseline_i\n", - "_base_data = baseline_ii\n", - "\n", - "result = pd.DataFrame()\n", - "\n", - "result['Baseline I'] = _stim_data[columns].agg(summarize)\n", - "result['Baseline II'] = _base_data[columns].agg(summarize)\n", - "\n", - "result.index = map(rename, result.index)\n", - "\n", - "result['MWU'] = list(map(lambda x: MWU(x, _stim_data, _base_data), columns))\n", - "result['PRS'] = list(map(lambda x: PRS(x, _stim_data, _base_data), columns))\n", - "\n", - "\n", - "result.to_latex(output_path / \"statistics\" / \"statistics_base_i_vs_base_ii.tex\")\n", - "result.to_csv(output_path / \"statistics\" / \"statistics_base_i_vs_base_ii.csv\")\n", - "result" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Violinplot" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "%matplotlib inline\n", - "plt.rc('axes', titlesize=12)\n", - "plt.rcParams.update({\n", - " 'font.size': 12, \n", - " 'figure.figsize': (1.7, 3), \n", - " 'figure.dpi': 150\n", - "})" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "# colors = ['#1b9e77','#d95f02','#7570b3','#e7298a']\n", - "# labels = ['Baseline I', '11 Hz', 'Baseline II', '30 Hz']\n", - "\n", - "stuff = {\n", - " '': {\n", - " 'base': gridcell_sessions.query('baseline and i'),\n", - " 'stim': gridcell_sessions.query('stimulated')\n", - " },\n", - " '_11': {\n", - " 'base': baseline_i,\n", - " 'stim': stimulated_11\n", - " },\n", - " '_30': {\n", - " 'base': baseline_ii,\n", - " 'stim': stimulated_30\n", - " }\n", - "}\n", - "\n", - "label = {\n", - " '': ['Baseline I ', ' Stimulated'],\n", - " '_11': ['Baseline I ', ' 11 Hz'],\n", - " '_30': ['Baseline II ', ' 30 Hz']\n", - "}\n", - "\n", - "colors = {\n", - " '': ['#1b9e77', '#b2182b'],\n", - " '_11': ['#1b9e77', '#d95f02'],\n", - " '_30': ['#7570b3', '#e7298a']\n", - "}" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Information rate" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "for key, dd in stuff.items():\n", - " baseline = dd['base']['information_specificity'].to_numpy()\n", - " stimulated = dd['stim']['information_specificity'].to_numpy()\n", - " print(key)\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Spatial information specificity\")\n", - " plt.ylabel(\"bits/spike\")\n", - " plt.ylim(-0.2, 1.6)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"information_specificity{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"information_specificity{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "for key, dd in stuff.items():\n", - " baseline = dd['base']['information_rate'].to_numpy()\n", - " stimulated = dd['stim']['information_rate'].to_numpy()\n", - " print(key)\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Spatial information\")\n", - " plt.ylabel(\"bits/s\")\n", - " plt.ylim(-0.2, 4)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"spatial_information{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"spatial_information{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "for key, dd in stuff.items():\n", - " baseline = dd['base']['specificity'].to_numpy()\n", - " stimulated = dd['stim']['specificity'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Spatial specificity\")\n", - " plt.ylabel(\"\")\n", - " plt.ylim(-0.02, 1.25)\n", - " plt.savefig(output_path / \"figures\" / f\"specificity{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"specificity{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "scrolled": false - }, - "outputs": [], - "source": [ - "\n", - "for key, dd in stuff.items():\n", - " baseline = dd['base']['average_rate'].to_numpy()\n", - " stimulated = dd['stim']['average_rate'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Average rate\")\n", - " plt.ylabel(\"spikes/s\")\n", - " plt.ylim(-0.2, 40)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"average_rate{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"average_rate{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "scrolled": false - }, - "outputs": [], - "source": [ - "for key, dd in stuff.items():\n", - " baseline = dd['base']['max_rate'].to_numpy()\n", - " stimulated = dd['stim']['max_rate'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Max rate\")\n", - " plt.ylabel(\"spikes/s\")\n", - " # plt.ylim(-0.2, 45)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"max_rate{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"max_rate{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "for key, dd in stuff.items():\n", - " baseline = dd['base']['interspike_interval_cv'].to_numpy()\n", - " stimulated = dd['stim']['interspike_interval_cv'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"ISI CV\")\n", - " plt.ylabel(\"Coefficient of variation\")\n", - " # plt.ylim(0.9, 5)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"isi_cv{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"isi_cv{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "for key, dd in stuff.items():\n", - " baseline = dd['base']['in_field_mean_rate'].to_numpy()\n", - " stimulated = dd['stim']['in_field_mean_rate'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"In-field rate\")\n", - " plt.ylabel(\"spikes/s\")\n", - " # plt.ylim(-0.1, 18)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"in_field_mean_rate{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"in_field_mean_rate{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "for key, dd in stuff.items():\n", - " baseline = dd['base']['out_field_mean_rate'].to_numpy()\n", - " stimulated = dd['stim']['out_field_mean_rate'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Out-of-field rate\")\n", - " plt.ylabel(\"spikes/s\")\n", - " # plt.ylim(-0.2, 8)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"out_field_mean_rate{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"out_field_mean_rate{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "for key, dd in stuff.items():\n", - " baseline = dd['base']['burst_event_ratio'].to_numpy()\n", - " stimulated = dd['stim']['burst_event_ratio'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Bursting ratio\")\n", - " plt.ylabel(\"\")\n", - " # plt.ylim(-0.02, 0.60)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"burst_event_ratio{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"burst_event_ratio{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "for key, dd in stuff.items():\n", - " baseline = dd['base']['max_field_mean_rate'].to_numpy()\n", - " stimulated = dd['stim']['max_field_mean_rate'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Mean rate of max field\")\n", - " plt.ylabel(\"(spikes/s)\")\n", - " # plt.ylim(-0.5,25)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"max_field_mean_rate{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"max_field_mean_rate{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "for key, dd in stuff.items():\n", - " baseline = dd['base']['bursty_spike_ratio'].to_numpy()\n", - " stimulated = dd['stim']['bursty_spike_ratio'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"ratio of spikes per burst\")\n", - " plt.ylabel(\"\")\n", - " # plt.ylim(-0.03,0.9)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"bursty_spike_ratio{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"bursty_spike_ratio{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "for key, dd in stuff.items():\n", - " baseline = dd['base']['gridness'].to_numpy()\n", - " stimulated = dd['stim']['gridness'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Gridness\")\n", - " plt.ylabel(\"Gridness\")\n", - " plt.ylim(-0.6, 1.5)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"gridness{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"gridness{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "for key, dd in stuff.items(): #TODO narrow broad spiking\n", - " baseline = dd['base']['speed_score'].to_numpy()\n", - " stimulated = dd['stim']['speed_score'].to_numpy()\n", - " plt.figure()\n", - " violinplot(baseline, stimulated, xticks=label[key], colors=colors[key])\n", - " plt.title(\"Speed score\")\n", - " plt.ylabel(\"Speed score\")\n", - " # plt.ylim(-0.1, 0.5)\n", - "\n", - " plt.savefig(output_path / \"figures\" / f\"speed_score{key}.svg\", bbox_inches=\"tight\")\n", - " plt.savefig(output_path / \"figures\" / f\"speed_score{key}.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# inihibitory cells" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "stim_action = actions['stimulus-response']\n", - "stim_results = pd.read_csv(stim_action.data_path('results'))\n", - "# stim_results has old unit id's but correct on (action, unit_name, channel_group)\n", - "stim_results = stim_results.drop('unit_id', axis=1)\n", - "\n", - "data = data.merge(stim_results, how='left')\n", - "\n", - "waveform_action = actions['waveform-analysis']\n", - "waveform_results = pd.read_csv(waveform_action.data_path('results')).drop('template', axis=1)\n", - "\n", - "data = data.merge(waveform_results, how='left')\n", - "\n", - "data.bs = data.bs.astype(bool)\n", - "\n", - "data.loc[data.eval('t_i_peak == t_i_peak and not bs'), 'ns_inhibited'] = True\n", - "data.ns_inhibited.fillna(False, inplace=True)\n", - "\n", - "data.loc[data.eval('t_i_peak != t_i_peak and not bs'), 'ns_not_inhibited'] = True\n", - "data.ns_not_inhibited.fillna(False, inplace=True)\n", - "\n", - "# make baseline for inhibited vs not inhibited\n", - "data.loc[data.unit_id.isin(data.query('ns_inhibited').unit_id.values), 'ns_inhibited'] = True\n", - "data.loc[data.unit_id.isin(data.query('ns_not_inhibited').unit_id.values), 'ns_not_inhibited'] = True" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "scrolled": false - }, - "outputs": [], - "source": [ - "baseline = data.query('ns_inhibited and baseline and i')['speed_score'].to_numpy()\n", - "stimulated = data.query('ns_inhibited and stimulated')['speed_score'].to_numpy()\n", - "plt.figure()\n", - "violinplot(baseline, stimulated, xticks=label[''], colors=colors[''])\n", - "plt.title(\"Speed score\")\n", - "plt.ylabel(\"Speed score\")\n", - "# plt.ylim(-0.1, 0.5)\n", - "\n", - "plt.savefig(output_path / \"figures\" / f\"speed_score_ns_inhibited.svg\", bbox_inches=\"tight\")\n", - "plt.savefig(output_path / \"figures\" / f\"speed_score_ns_inhibited.png\", dpi=600, bbox_inches=\"tight\")" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Register in Expipe" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "action = project.require_action(\"comparisons-gridcells\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "copy_tree(output_path, str(action.data_path()))" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "septum_mec.analysis.registration.store_notebook(action, \"20_comparisons_gridcells.ipynb\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.8" - } - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/actions/comparisons-gridcells/data/figures/average_rate.png b/actions/comparisons-gridcells/data/figures/average_rate.png deleted file mode 100644 index 5bb039e63..000000000 Binary files a/actions/comparisons-gridcells/data/figures/average_rate.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/average_rate.svg b/actions/comparisons-gridcells/data/figures/average_rate.svg deleted file mode 100644 index 235fea2d5..000000000 --- a/actions/comparisons-gridcells/data/figures/average_rate.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da4187d8e5cb32a4152ade2833eaccab048f0af1306e8c0a47dfcb95d9194b39 -size 33994 diff --git a/actions/comparisons-gridcells/data/figures/average_rate_11.png b/actions/comparisons-gridcells/data/figures/average_rate_11.png deleted file mode 100644 index 57bd6385c..000000000 Binary files a/actions/comparisons-gridcells/data/figures/average_rate_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/average_rate_11.svg b/actions/comparisons-gridcells/data/figures/average_rate_11.svg deleted file mode 100644 index 242315c80..000000000 --- a/actions/comparisons-gridcells/data/figures/average_rate_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ca99e1aa3d60761af6db5d874f03450f2c4dc58b50a52cfa8c30772f273dae16 -size 30436 diff --git a/actions/comparisons-gridcells/data/figures/average_rate_30.png b/actions/comparisons-gridcells/data/figures/average_rate_30.png deleted file mode 100644 index 0f5ac8e0e..000000000 Binary files a/actions/comparisons-gridcells/data/figures/average_rate_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/average_rate_30.svg b/actions/comparisons-gridcells/data/figures/average_rate_30.svg deleted file mode 100644 index ce0ebd4ac..000000000 --- a/actions/comparisons-gridcells/data/figures/average_rate_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b06f86349b02a26f80e10a9fff23f5a29f9065c05b0ba21401ccd4ea3dfb3fac -size 30446 diff --git a/actions/comparisons-gridcells/data/figures/burst_event_ratio.png b/actions/comparisons-gridcells/data/figures/burst_event_ratio.png deleted file mode 100644 index da6979363..000000000 Binary files a/actions/comparisons-gridcells/data/figures/burst_event_ratio.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/burst_event_ratio.svg b/actions/comparisons-gridcells/data/figures/burst_event_ratio.svg deleted file mode 100644 index 906a3fc35..000000000 --- a/actions/comparisons-gridcells/data/figures/burst_event_ratio.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f91d18244d78c009daa7813a3c83353ef622cc1065ddb9f79a5efd948f00cdb8 -size 32858 diff --git a/actions/comparisons-gridcells/data/figures/burst_event_ratio_11.png b/actions/comparisons-gridcells/data/figures/burst_event_ratio_11.png deleted file mode 100644 index 6451681cb..000000000 Binary files a/actions/comparisons-gridcells/data/figures/burst_event_ratio_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/burst_event_ratio_11.svg b/actions/comparisons-gridcells/data/figures/burst_event_ratio_11.svg deleted file mode 100644 index e048ec597..000000000 --- a/actions/comparisons-gridcells/data/figures/burst_event_ratio_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51193d20bf34848e26cf479b57ee20ab2e9568209e0f3a3006f2154dfde1d330 -size 29900 diff --git a/actions/comparisons-gridcells/data/figures/burst_event_ratio_30.png b/actions/comparisons-gridcells/data/figures/burst_event_ratio_30.png deleted file mode 100644 index d69220c0b..000000000 Binary files a/actions/comparisons-gridcells/data/figures/burst_event_ratio_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/burst_event_ratio_30.svg b/actions/comparisons-gridcells/data/figures/burst_event_ratio_30.svg deleted file mode 100644 index 3cb9dd323..000000000 --- a/actions/comparisons-gridcells/data/figures/burst_event_ratio_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f25432c50b9bd95921f7969a3bd3fc5dc81809cb311446cfeaff8b32e992a7a -size 30453 diff --git a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio.png b/actions/comparisons-gridcells/data/figures/bursty_spike_ratio.png deleted file mode 100644 index 5756675b8..000000000 Binary files a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio.svg b/actions/comparisons-gridcells/data/figures/bursty_spike_ratio.svg deleted file mode 100644 index 5c0903edc..000000000 --- a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff9ad44a3bcf91c0e402fb35cfdff719b9f188da81406ea4c0a0a85ef040cd79 -size 34061 diff --git a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_11.png b/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_11.png deleted file mode 100644 index ee4780671..000000000 Binary files a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_11.svg b/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_11.svg deleted file mode 100644 index 32d6152bd..000000000 --- a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e9554f70c3864ff00778482c2c01a2008b7e8d6d35431a6d55640c0fc91bf05 -size 31062 diff --git a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_30.png b/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_30.png deleted file mode 100644 index 7139331db..000000000 Binary files a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_30.svg b/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_30.svg deleted file mode 100644 index 1c4927133..000000000 --- a/actions/comparisons-gridcells/data/figures/bursty_spike_ratio_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:56140713e2943be92c82f8d02a04c7c4f1fa737836371b3d9c6b829d491e5a45 -size 32910 diff --git a/actions/comparisons-gridcells/data/figures/gridness.png b/actions/comparisons-gridcells/data/figures/gridness.png deleted file mode 100644 index 1644050a2..000000000 Binary files a/actions/comparisons-gridcells/data/figures/gridness.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/gridness.svg b/actions/comparisons-gridcells/data/figures/gridness.svg deleted file mode 100644 index f9ece1bcb..000000000 --- a/actions/comparisons-gridcells/data/figures/gridness.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:703d62c23dcd4a417121fdc6820bb0f923f166581c6d5047552fdb43ca8ead52 -size 31053 diff --git a/actions/comparisons-gridcells/data/figures/gridness_11.png b/actions/comparisons-gridcells/data/figures/gridness_11.png deleted file mode 100644 index 834a6947e..000000000 Binary files a/actions/comparisons-gridcells/data/figures/gridness_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/gridness_11.svg b/actions/comparisons-gridcells/data/figures/gridness_11.svg deleted file mode 100644 index 094a78246..000000000 --- a/actions/comparisons-gridcells/data/figures/gridness_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dadbb86f01b62beab7fdb54c8e7282949a0b4e7dfa3e920dcf32e233fb468b2e -size 27682 diff --git a/actions/comparisons-gridcells/data/figures/gridness_30.png b/actions/comparisons-gridcells/data/figures/gridness_30.png deleted file mode 100644 index 9901e88cc..000000000 Binary files a/actions/comparisons-gridcells/data/figures/gridness_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/gridness_30.svg b/actions/comparisons-gridcells/data/figures/gridness_30.svg deleted file mode 100644 index 981bc9c55..000000000 --- a/actions/comparisons-gridcells/data/figures/gridness_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6877c06414336cbbf2b2ab96d0cf3e2f3667055150c9d1a83d3ba42e91b66c1 -size 28940 diff --git a/actions/comparisons-gridcells/data/figures/in_field_mean_rate.png b/actions/comparisons-gridcells/data/figures/in_field_mean_rate.png deleted file mode 100644 index 2e8a4d7ba..000000000 Binary files a/actions/comparisons-gridcells/data/figures/in_field_mean_rate.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/in_field_mean_rate.svg b/actions/comparisons-gridcells/data/figures/in_field_mean_rate.svg deleted file mode 100644 index 69749c2a0..000000000 --- a/actions/comparisons-gridcells/data/figures/in_field_mean_rate.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e62ea18e9fbb97c42acfcb59a221562ee046eee225222ffffcdf07798909ceb2 -size 32494 diff --git a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_11.png b/actions/comparisons-gridcells/data/figures/in_field_mean_rate_11.png deleted file mode 100644 index 7b212213f..000000000 Binary files a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_11.svg b/actions/comparisons-gridcells/data/figures/in_field_mean_rate_11.svg deleted file mode 100644 index 11ecf05a0..000000000 --- a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ddfca9daafc3aba53d4ba216c7b4936f431d096d92e5a955d5be87c35c21dba -size 29737 diff --git a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_30.png b/actions/comparisons-gridcells/data/figures/in_field_mean_rate_30.png deleted file mode 100644 index a57979dea..000000000 Binary files a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_30.svg b/actions/comparisons-gridcells/data/figures/in_field_mean_rate_30.svg deleted file mode 100644 index af3571f5b..000000000 --- a/actions/comparisons-gridcells/data/figures/in_field_mean_rate_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fffd1bf708f9a77efa9d733c48b4fd99c468c072667c02e2b84a76c12f8e0db -size 29763 diff --git a/actions/comparisons-gridcells/data/figures/information_specificity.png b/actions/comparisons-gridcells/data/figures/information_specificity.png deleted file mode 100644 index a4a9e0514..000000000 Binary files a/actions/comparisons-gridcells/data/figures/information_specificity.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/information_specificity.svg b/actions/comparisons-gridcells/data/figures/information_specificity.svg deleted file mode 100644 index 0119b902c..000000000 --- a/actions/comparisons-gridcells/data/figures/information_specificity.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96031513cdbbc0fe67108ceb275d39c5472f5853d95639872fcff740d178751d -size 36003 diff --git a/actions/comparisons-gridcells/data/figures/information_specificity_11.png b/actions/comparisons-gridcells/data/figures/information_specificity_11.png deleted file mode 100644 index 3be694d88..000000000 Binary files a/actions/comparisons-gridcells/data/figures/information_specificity_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/information_specificity_11.svg b/actions/comparisons-gridcells/data/figures/information_specificity_11.svg deleted file mode 100644 index fc773a2bb..000000000 --- a/actions/comparisons-gridcells/data/figures/information_specificity_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21a8e6c736c0fafb716e8afcaf974fefd16eb601cb058d3aedcec9cf04decc02 -size 34184 diff --git a/actions/comparisons-gridcells/data/figures/information_specificity_30.png b/actions/comparisons-gridcells/data/figures/information_specificity_30.png deleted file mode 100644 index 9109c412d..000000000 Binary files a/actions/comparisons-gridcells/data/figures/information_specificity_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/information_specificity_30.svg b/actions/comparisons-gridcells/data/figures/information_specificity_30.svg deleted file mode 100644 index 587be9a2c..000000000 --- a/actions/comparisons-gridcells/data/figures/information_specificity_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:814ee6d39f8db1f53e60948f5cd703eb688ff3ba96ed3c2b7876be0087f0ce4d -size 35271 diff --git a/actions/comparisons-gridcells/data/figures/isi_cv.png b/actions/comparisons-gridcells/data/figures/isi_cv.png deleted file mode 100644 index 692731183..000000000 Binary files a/actions/comparisons-gridcells/data/figures/isi_cv.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/isi_cv.svg b/actions/comparisons-gridcells/data/figures/isi_cv.svg deleted file mode 100644 index 5118e2a9f..000000000 --- a/actions/comparisons-gridcells/data/figures/isi_cv.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0ff8aa250a239e2b4dc1f86481331824447fca96bcb19f7d04033f762d6d775 -size 33214 diff --git a/actions/comparisons-gridcells/data/figures/isi_cv_11.png b/actions/comparisons-gridcells/data/figures/isi_cv_11.png deleted file mode 100644 index f71fd1f66..000000000 Binary files a/actions/comparisons-gridcells/data/figures/isi_cv_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/isi_cv_11.svg b/actions/comparisons-gridcells/data/figures/isi_cv_11.svg deleted file mode 100644 index f7938f302..000000000 --- a/actions/comparisons-gridcells/data/figures/isi_cv_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3545b8d4dc16685df5d7cb3c6a53737336770dd04ed79a1a0e208baabed8d77a -size 31334 diff --git a/actions/comparisons-gridcells/data/figures/isi_cv_30.png b/actions/comparisons-gridcells/data/figures/isi_cv_30.png deleted file mode 100644 index d005496f3..000000000 Binary files a/actions/comparisons-gridcells/data/figures/isi_cv_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/isi_cv_30.svg b/actions/comparisons-gridcells/data/figures/isi_cv_30.svg deleted file mode 100644 index da4049aef..000000000 --- a/actions/comparisons-gridcells/data/figures/isi_cv_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:31e7f865991fd99370e6c19334e2dcd8b256cb618f5279ba9b1940ca60f117b2 -size 31940 diff --git a/actions/comparisons-gridcells/data/figures/max_field_mean_rate.png b/actions/comparisons-gridcells/data/figures/max_field_mean_rate.png deleted file mode 100644 index 98171ce0c..000000000 Binary files a/actions/comparisons-gridcells/data/figures/max_field_mean_rate.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/max_field_mean_rate.svg b/actions/comparisons-gridcells/data/figures/max_field_mean_rate.svg deleted file mode 100644 index acca5a3a3..000000000 --- a/actions/comparisons-gridcells/data/figures/max_field_mean_rate.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e096a1542cd116aa4146b573ef4ba4e19e70feb919c8d9d984882fb508055734 -size 36879 diff --git a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_11.png b/actions/comparisons-gridcells/data/figures/max_field_mean_rate_11.png deleted file mode 100644 index 2784280cf..000000000 Binary files a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_11.svg b/actions/comparisons-gridcells/data/figures/max_field_mean_rate_11.svg deleted file mode 100644 index 6b0f33fac..000000000 --- a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2e9994ecc9e43beda3afdf1aac026921888f71fbd83e54a072add344a30864a -size 35008 diff --git a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_30.png b/actions/comparisons-gridcells/data/figures/max_field_mean_rate_30.png deleted file mode 100644 index fa7785186..000000000 Binary files a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_30.svg b/actions/comparisons-gridcells/data/figures/max_field_mean_rate_30.svg deleted file mode 100644 index 8011c6480..000000000 --- a/actions/comparisons-gridcells/data/figures/max_field_mean_rate_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:88963cd7276b051312b4fbc8dd3ea74922593e8cc8581428c502f79c6ca5b17a -size 28615 diff --git a/actions/comparisons-gridcells/data/figures/max_rate.png b/actions/comparisons-gridcells/data/figures/max_rate.png deleted file mode 100644 index 0de82d3c3..000000000 Binary files a/actions/comparisons-gridcells/data/figures/max_rate.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/max_rate.svg b/actions/comparisons-gridcells/data/figures/max_rate.svg deleted file mode 100644 index fcd3b87bd..000000000 --- a/actions/comparisons-gridcells/data/figures/max_rate.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1bcfd31fa2036d77478b522444a9ad83879e6113d12d03e03297b21031dcfd90 -size 33970 diff --git a/actions/comparisons-gridcells/data/figures/max_rate_11.png b/actions/comparisons-gridcells/data/figures/max_rate_11.png deleted file mode 100644 index 4e5250f15..000000000 Binary files a/actions/comparisons-gridcells/data/figures/max_rate_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/max_rate_11.svg b/actions/comparisons-gridcells/data/figures/max_rate_11.svg deleted file mode 100644 index f59177729..000000000 --- a/actions/comparisons-gridcells/data/figures/max_rate_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6961cca8e6114e8d61fac0ecfa88f71260a99c2fa69431cc6c8361201861655f -size 30702 diff --git a/actions/comparisons-gridcells/data/figures/max_rate_30.png b/actions/comparisons-gridcells/data/figures/max_rate_30.png deleted file mode 100644 index 34b31d42c..000000000 Binary files a/actions/comparisons-gridcells/data/figures/max_rate_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/max_rate_30.svg b/actions/comparisons-gridcells/data/figures/max_rate_30.svg deleted file mode 100644 index ffe271379..000000000 --- a/actions/comparisons-gridcells/data/figures/max_rate_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d2fa5f6d9f1705c9e045d198e851424506f7530135780a451592167177cb3c3b -size 31585 diff --git a/actions/comparisons-gridcells/data/figures/out_field_mean_rate.png b/actions/comparisons-gridcells/data/figures/out_field_mean_rate.png deleted file mode 100644 index d7cc6f19d..000000000 Binary files a/actions/comparisons-gridcells/data/figures/out_field_mean_rate.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/out_field_mean_rate.svg b/actions/comparisons-gridcells/data/figures/out_field_mean_rate.svg deleted file mode 100644 index 5877ee343..000000000 --- a/actions/comparisons-gridcells/data/figures/out_field_mean_rate.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:14b0e4f9b2d5d38967e9c76d344cfd6abc8366786e0cb9e592daa5228caf7aad -size 34151 diff --git a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_11.png b/actions/comparisons-gridcells/data/figures/out_field_mean_rate_11.png deleted file mode 100644 index cf3a3868c..000000000 Binary files a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_11.svg b/actions/comparisons-gridcells/data/figures/out_field_mean_rate_11.svg deleted file mode 100644 index c05f87d5e..000000000 --- a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e6bf0e13a005004e48ee95981ed0c11281d7fed05a6165aef5030736f0cdea1e -size 32004 diff --git a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_30.png b/actions/comparisons-gridcells/data/figures/out_field_mean_rate_30.png deleted file mode 100644 index 261daebd6..000000000 Binary files a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_30.svg b/actions/comparisons-gridcells/data/figures/out_field_mean_rate_30.svg deleted file mode 100644 index 060467eeb..000000000 --- a/actions/comparisons-gridcells/data/figures/out_field_mean_rate_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98bb9ebcc062870a45770e01b44b6f0bf53ced84c0102cb549e6c7285cc9fd38 -size 33192 diff --git a/actions/comparisons-gridcells/data/figures/spatial_information.png b/actions/comparisons-gridcells/data/figures/spatial_information.png deleted file mode 100644 index 98698f403..000000000 Binary files a/actions/comparisons-gridcells/data/figures/spatial_information.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/spatial_information.svg b/actions/comparisons-gridcells/data/figures/spatial_information.svg deleted file mode 100644 index 39e23e5bf..000000000 --- a/actions/comparisons-gridcells/data/figures/spatial_information.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f51cbd9faca550770f0f6225e3d7a3057ee93409eb03e5f826c81e861cadfe57 -size 34792 diff --git a/actions/comparisons-gridcells/data/figures/spatial_information_11.png b/actions/comparisons-gridcells/data/figures/spatial_information_11.png deleted file mode 100644 index 0c56ec145..000000000 Binary files a/actions/comparisons-gridcells/data/figures/spatial_information_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/spatial_information_11.svg b/actions/comparisons-gridcells/data/figures/spatial_information_11.svg deleted file mode 100644 index 3542a8b77..000000000 --- a/actions/comparisons-gridcells/data/figures/spatial_information_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0950f9b4213bf8eb92668f1ace7d4364f583cf579fb1f2a3e07336298237bd2f -size 33504 diff --git a/actions/comparisons-gridcells/data/figures/spatial_information_30.png b/actions/comparisons-gridcells/data/figures/spatial_information_30.png deleted file mode 100644 index 2fd1ffda3..000000000 Binary files a/actions/comparisons-gridcells/data/figures/spatial_information_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/spatial_information_30.svg b/actions/comparisons-gridcells/data/figures/spatial_information_30.svg deleted file mode 100644 index fcbd5c62d..000000000 --- a/actions/comparisons-gridcells/data/figures/spatial_information_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3be4f732a50eac0ca6638168dd02adc96f9d266530186d0d79ee79bedd84a97 -size 32857 diff --git a/actions/comparisons-gridcells/data/figures/specificity.png b/actions/comparisons-gridcells/data/figures/specificity.png deleted file mode 100644 index 8f68bf548..000000000 Binary files a/actions/comparisons-gridcells/data/figures/specificity.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/specificity.svg b/actions/comparisons-gridcells/data/figures/specificity.svg deleted file mode 100644 index 8469a2748..000000000 --- a/actions/comparisons-gridcells/data/figures/specificity.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c67debbb858b2c98ed12e7b555a60623b184f6bde8eafef9f873ab991fcca422 -size 33919 diff --git a/actions/comparisons-gridcells/data/figures/specificity_11.png b/actions/comparisons-gridcells/data/figures/specificity_11.png deleted file mode 100644 index 7bf6a43b2..000000000 Binary files a/actions/comparisons-gridcells/data/figures/specificity_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/specificity_11.svg b/actions/comparisons-gridcells/data/figures/specificity_11.svg deleted file mode 100644 index d517ae949..000000000 --- a/actions/comparisons-gridcells/data/figures/specificity_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f59ce786cb18e3d246f65d7a14c35328605d2522459920b4041214b3cae05c7c -size 31724 diff --git a/actions/comparisons-gridcells/data/figures/specificity_30.png b/actions/comparisons-gridcells/data/figures/specificity_30.png deleted file mode 100644 index 249953b17..000000000 Binary files a/actions/comparisons-gridcells/data/figures/specificity_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/specificity_30.svg b/actions/comparisons-gridcells/data/figures/specificity_30.svg deleted file mode 100644 index 84b823fb1..000000000 --- a/actions/comparisons-gridcells/data/figures/specificity_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03a5a8a888d1c0a55d370a9bec81abe0b0f5959777d35d4a7d04cebd5555c081 -size 32891 diff --git a/actions/comparisons-gridcells/data/figures/speed_score.png b/actions/comparisons-gridcells/data/figures/speed_score.png deleted file mode 100644 index 7df125d6e..000000000 Binary files a/actions/comparisons-gridcells/data/figures/speed_score.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/speed_score.svg b/actions/comparisons-gridcells/data/figures/speed_score.svg deleted file mode 100644 index eb2671777..000000000 --- a/actions/comparisons-gridcells/data/figures/speed_score.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5427275273b144bcc172053d143511a654c146a5db0c982a1b90d5086fd74888 -size 32548 diff --git a/actions/comparisons-gridcells/data/figures/speed_score_11.png b/actions/comparisons-gridcells/data/figures/speed_score_11.png deleted file mode 100644 index 28da13644..000000000 Binary files a/actions/comparisons-gridcells/data/figures/speed_score_11.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/speed_score_11.svg b/actions/comparisons-gridcells/data/figures/speed_score_11.svg deleted file mode 100644 index 43826d7e9..000000000 --- a/actions/comparisons-gridcells/data/figures/speed_score_11.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11eace353f2e43445b8e706c53c94e57044af03db41d53bc6952e7f8247fdede -size 32401 diff --git a/actions/comparisons-gridcells/data/figures/speed_score_30.png b/actions/comparisons-gridcells/data/figures/speed_score_30.png deleted file mode 100644 index 53c699b9d..000000000 Binary files a/actions/comparisons-gridcells/data/figures/speed_score_30.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/speed_score_30.svg b/actions/comparisons-gridcells/data/figures/speed_score_30.svg deleted file mode 100644 index efb4d0fbc..000000000 --- a/actions/comparisons-gridcells/data/figures/speed_score_30.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b95ea98bbc0d64315de4e9112f7ab841ed35adc36bbf64e88bf841571b9dde1 -size 32051 diff --git a/actions/comparisons-gridcells/data/figures/speed_score_ns_inhibited.png b/actions/comparisons-gridcells/data/figures/speed_score_ns_inhibited.png deleted file mode 100644 index 62070acbd..000000000 Binary files a/actions/comparisons-gridcells/data/figures/speed_score_ns_inhibited.png and /dev/null differ diff --git a/actions/comparisons-gridcells/data/figures/speed_score_ns_inhibited.svg b/actions/comparisons-gridcells/data/figures/speed_score_ns_inhibited.svg deleted file mode 100644 index 211cb8eca..000000000 --- a/actions/comparisons-gridcells/data/figures/speed_score_ns_inhibited.svg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7610de13da72ed4f24cf2f354e44bf6789f9e662bf04a3edd8b570c2f85c4ee -size 31931 diff --git a/actions/comparisons-gridcells/data/statistics/statistics.csv b/actions/comparisons-gridcells/data/statistics/statistics.csv deleted file mode 100644 index 881235946..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics.csv +++ /dev/null @@ -1,14 +0,0 @@ -,Baseline I,Stimulated,MWU,PRS -Average rate,8.61 ± 0.75 (71),8.39 ± 0.60 (102),"3599.00, 0.947","0.55, 0.757" -Gridness,0.51 ± 0.04 (71),0.44 ± 0.04 (102),"3208.00, 0.203","0.13, 0.145" -Sparsity,0.61 ± 0.02 (71),0.66 ± 0.02 (102),"4170.00, 0.091","0.06, 0.179" -Selectivity,5.91 ± 0.37 (71),5.98 ± 0.37 (102),"3460.00, 0.620","0.10, 0.874" -Information specificity,0.25 ± 0.03 (71),0.22 ± 0.02 (102),"2944.00, 0.037","0.05, 0.034" -Max rate,36.55 ± 1.78 (71),33.72 ± 1.31 (102),"3291.00, 0.309","3.19, 0.194" -Information rate,1.30 ± 0.07 (71),0.96 ± 0.06 (102),"2385.00, 0.000","0.32, 0.001" -Interspike interval cv,2.42 ± 0.10 (71),2.22 ± 0.08 (102),"3034.00, 0.070","0.12, 0.398" -In-field mean rate,14.43 ± 1.00 (71),12.94 ± 0.71 (102),"3368.00, 0.436","0.39, 0.817" -Out-field mean rate,6.05 ± 0.62 (71),6.12 ± 0.53 (102),"3600.00, 0.950","0.08, 0.944" -Burst event ratio,0.22 ± 0.01 (71),0.20 ± 0.01 (102),"3090.00, 0.102","0.02, 0.129" -Specificity,0.48 ± 0.03 (71),0.46 ± 0.02 (102),"3268.00, 0.277","0.06, 0.360" -Speed score,0.14 ± 0.01 (71),0.10 ± 0.01 (102),"2546.00, 0.001","0.05, 0.000" diff --git a/actions/comparisons-gridcells/data/statistics/statistics.tex b/actions/comparisons-gridcells/data/statistics/statistics.tex deleted file mode 100644 index 95e2dc5a5..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics.tex +++ /dev/null @@ -1,19 +0,0 @@ -\begin{tabular}{lllll} -\toprule -{} & Baseline I & Stimulated & MWU & PRS \\ -\midrule -Average rate & 8.61 ± 0.75 (71) & 8.39 ± 0.60 (102) & 3599.00, 0.947 & 0.55, 0.757 \\ -Gridness & 0.51 ± 0.04 (71) & 0.44 ± 0.04 (102) & 3208.00, 0.203 & 0.13, 0.145 \\ -Sparsity & 0.61 ± 0.02 (71) & 0.66 ± 0.02 (102) & 4170.00, 0.091 & 0.06, 0.179 \\ -Selectivity & 5.91 ± 0.37 (71) & 5.98 ± 0.37 (102) & 3460.00, 0.620 & 0.10, 0.874 \\ -Information specificity & 0.25 ± 0.03 (71) & 0.22 ± 0.02 (102) & 2944.00, 0.037 & 0.05, 0.034 \\ -Max rate & 36.55 ± 1.78 (71) & 33.72 ± 1.31 (102) & 3291.00, 0.309 & 3.19, 0.194 \\ -Information rate & 1.30 ± 0.07 (71) & 0.96 ± 0.06 (102) & 2385.00, 0.000 & 0.32, 0.001 \\ -Interspike interval cv & 2.42 ± 0.10 (71) & 2.22 ± 0.08 (102) & 3034.00, 0.070 & 0.12, 0.398 \\ -In-field mean rate & 14.43 ± 1.00 (71) & 12.94 ± 0.71 (102) & 3368.00, 0.436 & 0.39, 0.817 \\ -Out-field mean rate & 6.05 ± 0.62 (71) & 6.12 ± 0.53 (102) & 3600.00, 0.950 & 0.08, 0.944 \\ -Burst event ratio & 0.22 ± 0.01 (71) & 0.20 ± 0.01 (102) & 3090.00, 0.102 & 0.02, 0.129 \\ -Specificity & 0.48 ± 0.03 (71) & 0.46 ± 0.02 (102) & 3268.00, 0.277 & 0.06, 0.360 \\ -Speed score & 0.14 ± 0.01 (71) & 0.10 ± 0.01 (102) & 2546.00, 0.001 & 0.05, 0.000 \\ -\bottomrule -\end{tabular} diff --git a/actions/comparisons-gridcells/data/statistics/statistics_11.csv b/actions/comparisons-gridcells/data/statistics/statistics_11.csv deleted file mode 100644 index a32f8158e..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_11.csv +++ /dev/null @@ -1,14 +0,0 @@ -,Baseline I,11 Hz,MWU,PRS -Average rate,8.96 ± 0.80 (63),8.80 ± 0.85 (58),"1781.00, 0.813","0.04, 0.968" -Gridness,0.53 ± 0.05 (63),0.41 ± 0.05 (58),"1459.00, 0.057","0.21, 0.041" -Sparsity,0.63 ± 0.02 (63),0.67 ± 0.03 (58),"2138.00, 0.107","0.07, 0.128" -Selectivity,5.76 ± 0.40 (63),5.69 ± 0.50 (58),"1687.00, 0.469","0.00, 0.983" -Information specificity,0.24 ± 0.03 (63),0.21 ± 0.03 (58),"1452.00, 0.052","0.06, 0.030" -Max rate,37.39 ± 1.91 (63),33.11 ± 1.85 (58),"1538.00, 0.134","4.06, 0.125" -Information rate,1.31 ± 0.08 (63),0.94 ± 0.08 (58),"1143.00, 0.000","0.32, 0.004" -Interspike interval cv,2.39 ± 0.10 (63),2.19 ± 0.12 (58),"1462.00, 0.059","0.18, 0.139" -In-field mean rate,14.88 ± 1.05 (63),13.27 ± 1.04 (58),"1633.00, 0.315","0.77, 0.690" -Out-field mean rate,6.37 ± 0.67 (63),6.57 ± 0.77 (58),"1795.00, 0.870","0.47, 0.719" -Burst event ratio,0.22 ± 0.01 (63),0.22 ± 0.01 (58),"1897.00, 0.718","0.00, 0.824" -Specificity,0.47 ± 0.03 (63),0.44 ± 0.03 (58),"1605.00, 0.250","0.06, 0.414" -Speed score,0.14 ± 0.01 (63),0.11 ± 0.01 (58),"1378.00, 0.020","0.04, 0.022" diff --git a/actions/comparisons-gridcells/data/statistics/statistics_11.tex b/actions/comparisons-gridcells/data/statistics/statistics_11.tex deleted file mode 100644 index 5b031f352..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_11.tex +++ /dev/null @@ -1,19 +0,0 @@ -\begin{tabular}{lllll} -\toprule -{} & Baseline I & 11 Hz & MWU & PRS \\ -\midrule -Average rate & 8.96 ± 0.80 (63) & 8.80 ± 0.85 (58) & 1781.00, 0.813 & 0.04, 0.968 \\ -Gridness & 0.53 ± 0.05 (63) & 0.41 ± 0.05 (58) & 1459.00, 0.057 & 0.21, 0.041 \\ -Sparsity & 0.63 ± 0.02 (63) & 0.67 ± 0.03 (58) & 2138.00, 0.107 & 0.07, 0.128 \\ -Selectivity & 5.76 ± 0.40 (63) & 5.69 ± 0.50 (58) & 1687.00, 0.469 & 0.00, 0.983 \\ -Information specificity & 0.24 ± 0.03 (63) & 0.21 ± 0.03 (58) & 1452.00, 0.052 & 0.06, 0.030 \\ -Max rate & 37.39 ± 1.91 (63) & 33.11 ± 1.85 (58) & 1538.00, 0.134 & 4.06, 0.125 \\ -Information rate & 1.31 ± 0.08 (63) & 0.94 ± 0.08 (58) & 1143.00, 0.000 & 0.32, 0.004 \\ -Interspike interval cv & 2.39 ± 0.10 (63) & 2.19 ± 0.12 (58) & 1462.00, 0.059 & 0.18, 0.139 \\ -In-field mean rate & 14.88 ± 1.05 (63) & 13.27 ± 1.04 (58) & 1633.00, 0.315 & 0.77, 0.690 \\ -Out-field mean rate & 6.37 ± 0.67 (63) & 6.57 ± 0.77 (58) & 1795.00, 0.870 & 0.47, 0.719 \\ -Burst event ratio & 0.22 ± 0.01 (63) & 0.22 ± 0.01 (58) & 1897.00, 0.718 & 0.00, 0.824 \\ -Specificity & 0.47 ± 0.03 (63) & 0.44 ± 0.03 (58) & 1605.00, 0.250 & 0.06, 0.414 \\ -Speed score & 0.14 ± 0.01 (63) & 0.11 ± 0.01 (58) & 1378.00, 0.020 & 0.04, 0.022 \\ -\bottomrule -\end{tabular} diff --git a/actions/comparisons-gridcells/data/statistics/statistics_11_vs_30.csv b/actions/comparisons-gridcells/data/statistics/statistics_11_vs_30.csv deleted file mode 100644 index b294eaf16..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_11_vs_30.csv +++ /dev/null @@ -1,14 +0,0 @@ -,11 Hz,30 Hz,MWU,PRS -Average rate,8.80 ± 0.85 (58),7.61 ± 0.87 (38),"1010.00, 0.493","0.23, 0.892" -Gridness,0.41 ± 0.05 (58),0.48 ± 0.06 (38),"1259.00, 0.241","0.13, 0.099" -Sparsity,0.67 ± 0.03 (58),0.64 ± 0.03 (38),"1002.00, 0.456","0.04, 0.557" -Selectivity,5.69 ± 0.50 (58),6.42 ± 0.60 (38),"1260.00, 0.238","0.85, 0.340" -Information specificity,0.21 ± 0.03 (58),0.22 ± 0.03 (38),"1231.00, 0.336","0.01, 0.727" -Max rate,33.11 ± 1.85 (58),33.49 ± 1.89 (38),"1136.00, 0.802","0.07, 0.994" -Information rate,0.94 ± 0.08 (58),0.98 ± 0.09 (38),"1171.00, 0.608","0.01, 0.784" -Interspike interval cv,2.19 ± 0.12 (58),2.23 ± 0.11 (38),"1228.00, 0.347","0.17, 0.338" -In-field mean rate,13.27 ± 1.04 (58),12.21 ± 0.98 (38),"1058.00, 0.744","0.97, 0.634" -Out-field mean rate,6.57 ± 0.77 (58),5.36 ± 0.73 (38),"1019.00, 0.537","0.04, 0.959" -Burst event ratio,0.22 ± 0.01 (58),0.16 ± 0.01 (38),"552.00, 0.000","0.06, 0.000" -Specificity,0.44 ± 0.03 (58),0.48 ± 0.04 (38),"1233.00, 0.328","0.07, 0.371" -Speed score,0.11 ± 0.01 (58),0.11 ± 0.01 (38),"1022.00, 0.551","0.02, 0.144" diff --git a/actions/comparisons-gridcells/data/statistics/statistics_11_vs_30.tex b/actions/comparisons-gridcells/data/statistics/statistics_11_vs_30.tex deleted file mode 100644 index 8c8b5ae65..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_11_vs_30.tex +++ /dev/null @@ -1,19 +0,0 @@ -\begin{tabular}{lllll} -\toprule -{} & 11 Hz & 30 Hz & MWU & PRS \\ -\midrule -Average rate & 8.80 ± 0.85 (58) & 7.61 ± 0.87 (38) & 1010.00, 0.493 & 0.23, 0.892 \\ -Gridness & 0.41 ± 0.05 (58) & 0.48 ± 0.06 (38) & 1259.00, 0.241 & 0.13, 0.099 \\ -Sparsity & 0.67 ± 0.03 (58) & 0.64 ± 0.03 (38) & 1002.00, 0.456 & 0.04, 0.557 \\ -Selectivity & 5.69 ± 0.50 (58) & 6.42 ± 0.60 (38) & 1260.00, 0.238 & 0.85, 0.340 \\ -Information specificity & 0.21 ± 0.03 (58) & 0.22 ± 0.03 (38) & 1231.00, 0.336 & 0.01, 0.727 \\ -Max rate & 33.11 ± 1.85 (58) & 33.49 ± 1.89 (38) & 1136.00, 0.802 & 0.07, 0.994 \\ -Information rate & 0.94 ± 0.08 (58) & 0.98 ± 0.09 (38) & 1171.00, 0.608 & 0.01, 0.784 \\ -Interspike interval cv & 2.19 ± 0.12 (58) & 2.23 ± 0.11 (38) & 1228.00, 0.347 & 0.17, 0.338 \\ -In-field mean rate & 13.27 ± 1.04 (58) & 12.21 ± 0.98 (38) & 1058.00, 0.744 & 0.97, 0.634 \\ -Out-field mean rate & 6.57 ± 0.77 (58) & 5.36 ± 0.73 (38) & 1019.00, 0.537 & 0.04, 0.959 \\ -Burst event ratio & 0.22 ± 0.01 (58) & 0.16 ± 0.01 (38) & 552.00, 0.000 & 0.06, 0.000 \\ -Specificity & 0.44 ± 0.03 (58) & 0.48 ± 0.04 (38) & 1233.00, 0.328 & 0.07, 0.371 \\ -Speed score & 0.11 ± 0.01 (58) & 0.11 ± 0.01 (38) & 1022.00, 0.551 & 0.02, 0.144 \\ -\bottomrule -\end{tabular} diff --git a/actions/comparisons-gridcells/data/statistics/statistics_30.csv b/actions/comparisons-gridcells/data/statistics/statistics_30.csv deleted file mode 100644 index 78f9db7f4..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_30.csv +++ /dev/null @@ -1,14 +0,0 @@ -,Baseline II,30 Hz,MWU,PRS -Average rate,8.29 ± 0.87 (52),7.61 ± 0.87 (38),"958.00, 0.810","0.27, 0.808" -Gridness,0.54 ± 0.04 (52),0.48 ± 0.06 (38),"914.00, 0.548","0.04, 0.598" -Sparsity,0.63 ± 0.03 (52),0.64 ± 0.03 (38),"1040.00, 0.674","0.06, 0.398" -Selectivity,5.96 ± 0.46 (52),6.42 ± 0.60 (38),"1019.00, 0.803","0.20, 0.845" -Information specificity,0.21 ± 0.02 (52),0.22 ± 0.03 (38),"950.00, 0.759","0.04, 0.506" -Max rate,36.27 ± 2.34 (52),33.49 ± 1.89 (38),"943.00, 0.716","2.90, 0.565" -Information rate,1.13 ± 0.08 (52),0.98 ± 0.09 (38),"827.00, 0.190","0.07, 0.335" -Interspike interval cv,2.37 ± 0.09 (52),2.23 ± 0.11 (38),"869.00, 0.333","0.17, 0.482" -In-field mean rate,13.79 ± 1.12 (52),12.21 ± 0.98 (38),"912.00, 0.537","1.06, 0.444" -Out-field mean rate,5.80 ± 0.72 (52),5.36 ± 0.73 (38),"959.00, 0.816","0.13, 0.912" -Burst event ratio,0.20 ± 0.01 (52),0.16 ± 0.01 (38),"676.00, 0.011","0.05, 0.009" -Specificity,0.47 ± 0.03 (52),0.48 ± 0.04 (38),"976.00, 0.925","0.00, 0.988" -Speed score,0.12 ± 0.01 (52),0.11 ± 0.01 (38),"784.00, 0.096","0.01, 0.242" diff --git a/actions/comparisons-gridcells/data/statistics/statistics_30.tex b/actions/comparisons-gridcells/data/statistics/statistics_30.tex deleted file mode 100644 index 6e1643f72..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_30.tex +++ /dev/null @@ -1,19 +0,0 @@ -\begin{tabular}{lllll} -\toprule -{} & Baseline II & 30 Hz & MWU & PRS \\ -\midrule -Average rate & 8.29 ± 0.87 (52) & 7.61 ± 0.87 (38) & 958.00, 0.810 & 0.27, 0.808 \\ -Gridness & 0.54 ± 0.04 (52) & 0.48 ± 0.06 (38) & 914.00, 0.548 & 0.04, 0.598 \\ -Sparsity & 0.63 ± 0.03 (52) & 0.64 ± 0.03 (38) & 1040.00, 0.674 & 0.06, 0.398 \\ -Selectivity & 5.96 ± 0.46 (52) & 6.42 ± 0.60 (38) & 1019.00, 0.803 & 0.20, 0.845 \\ -Information specificity & 0.21 ± 0.02 (52) & 0.22 ± 0.03 (38) & 950.00, 0.759 & 0.04, 0.506 \\ -Max rate & 36.27 ± 2.34 (52) & 33.49 ± 1.89 (38) & 943.00, 0.716 & 2.90, 0.565 \\ -Information rate & 1.13 ± 0.08 (52) & 0.98 ± 0.09 (38) & 827.00, 0.190 & 0.07, 0.335 \\ -Interspike interval cv & 2.37 ± 0.09 (52) & 2.23 ± 0.11 (38) & 869.00, 0.333 & 0.17, 0.482 \\ -In-field mean rate & 13.79 ± 1.12 (52) & 12.21 ± 0.98 (38) & 912.00, 0.537 & 1.06, 0.444 \\ -Out-field mean rate & 5.80 ± 0.72 (52) & 5.36 ± 0.73 (38) & 959.00, 0.816 & 0.13, 0.912 \\ -Burst event ratio & 0.20 ± 0.01 (52) & 0.16 ± 0.01 (38) & 676.00, 0.011 & 0.05, 0.009 \\ -Specificity & 0.47 ± 0.03 (52) & 0.48 ± 0.04 (38) & 976.00, 0.925 & 0.00, 0.988 \\ -Speed score & 0.12 ± 0.01 (52) & 0.11 ± 0.01 (38) & 784.00, 0.096 & 0.01, 0.242 \\ -\bottomrule -\end{tabular} diff --git a/actions/comparisons-gridcells/data/statistics/statistics_b_i_30.csv b/actions/comparisons-gridcells/data/statistics/statistics_b_i_30.csv deleted file mode 100644 index c5790bb5d..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_b_i_30.csv +++ /dev/null @@ -1,14 +0,0 @@ -,Baseline I,30 Hz,MWU,PRS -Average rate,8.96 ± 0.80 (63),7.61 ± 0.87 (38),"1081.00, 0.418","0.27, 0.804" -Gridness,0.53 ± 0.05 (63),0.48 ± 0.06 (38),"1094.00, 0.472","0.08, 0.354" -Sparsity,0.63 ± 0.02 (63),0.64 ± 0.03 (38),"1261.00, 0.656","0.03, 0.648" -Selectivity,5.76 ± 0.40 (63),6.42 ± 0.60 (38),"1276.00, 0.582","0.86, 0.292" -Information specificity,0.24 ± 0.03 (63),0.22 ± 0.03 (38),"1076.00, 0.398","0.05, 0.159" -Max rate,37.39 ± 1.91 (63),33.49 ± 1.89 (38),"1027.00, 0.235","3.99, 0.191" -Information rate,1.31 ± 0.08 (63),0.98 ± 0.09 (38),"797.00, 0.005","0.32, 0.049" -Interspike interval cv,2.39 ± 0.10 (63),2.23 ± 0.11 (38),"1100.00, 0.499","0.01, 0.991" -In-field mean rate,14.88 ± 1.05 (63),12.21 ± 0.98 (38),"1018.00, 0.211","1.74, 0.273" -Out-field mean rate,6.37 ± 0.67 (63),5.36 ± 0.73 (38),"1079.00, 0.410","0.51, 0.641" -Burst event ratio,0.22 ± 0.01 (63),0.16 ± 0.01 (38),"675.00, 0.000","0.05, 0.004" -Specificity,0.47 ± 0.03 (63),0.48 ± 0.04 (38),"1206.00, 0.952","0.01, 0.875" -Speed score,0.14 ± 0.01 (63),0.11 ± 0.01 (38),"835.00, 0.011","0.06, 0.004" diff --git a/actions/comparisons-gridcells/data/statistics/statistics_b_i_30.tex b/actions/comparisons-gridcells/data/statistics/statistics_b_i_30.tex deleted file mode 100644 index f39eabf97..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_b_i_30.tex +++ /dev/null @@ -1,19 +0,0 @@ -\begin{tabular}{lllll} -\toprule -{} & Baseline I & 30 Hz & MWU & PRS \\ -\midrule -Average rate & 8.96 ± 0.80 (63) & 7.61 ± 0.87 (38) & 1081.00, 0.418 & 0.27, 0.804 \\ -Gridness & 0.53 ± 0.05 (63) & 0.48 ± 0.06 (38) & 1094.00, 0.472 & 0.08, 0.354 \\ -Sparsity & 0.63 ± 0.02 (63) & 0.64 ± 0.03 (38) & 1261.00, 0.656 & 0.03, 0.648 \\ -Selectivity & 5.76 ± 0.40 (63) & 6.42 ± 0.60 (38) & 1276.00, 0.582 & 0.86, 0.292 \\ -Information specificity & 0.24 ± 0.03 (63) & 0.22 ± 0.03 (38) & 1076.00, 0.398 & 0.05, 0.159 \\ -Max rate & 37.39 ± 1.91 (63) & 33.49 ± 1.89 (38) & 1027.00, 0.235 & 3.99, 0.191 \\ -Information rate & 1.31 ± 0.08 (63) & 0.98 ± 0.09 (38) & 797.00, 0.005 & 0.32, 0.049 \\ -Interspike interval cv & 2.39 ± 0.10 (63) & 2.23 ± 0.11 (38) & 1100.00, 0.499 & 0.01, 0.991 \\ -In-field mean rate & 14.88 ± 1.05 (63) & 12.21 ± 0.98 (38) & 1018.00, 0.211 & 1.74, 0.273 \\ -Out-field mean rate & 6.37 ± 0.67 (63) & 5.36 ± 0.73 (38) & 1079.00, 0.410 & 0.51, 0.641 \\ -Burst event ratio & 0.22 ± 0.01 (63) & 0.16 ± 0.01 (38) & 675.00, 0.000 & 0.05, 0.004 \\ -Specificity & 0.47 ± 0.03 (63) & 0.48 ± 0.04 (38) & 1206.00, 0.952 & 0.01, 0.875 \\ -Speed score & 0.14 ± 0.01 (63) & 0.11 ± 0.01 (38) & 835.00, 0.011 & 0.06, 0.004 \\ -\bottomrule -\end{tabular} diff --git a/actions/comparisons-gridcells/data/statistics/statistics_base_i_vs_base_ii.csv b/actions/comparisons-gridcells/data/statistics/statistics_base_i_vs_base_ii.csv deleted file mode 100644 index 7f99b36c1..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_base_i_vs_base_ii.csv +++ /dev/null @@ -1,14 +0,0 @@ -,Baseline I,Baseline II,MWU,PRS -Average rate,8.96 ± 0.80 (63),8.29 ± 0.87 (52),"1756.00, 0.509","0.55, 0.678" -Gridness,0.53 ± 0.05 (63),0.54 ± 0.04 (52),"1664.00, 0.886","0.04, 0.545" -Sparsity,0.63 ± 0.02 (63),0.63 ± 0.03 (52),"1652.00, 0.940","0.03, 0.648" -Selectivity,5.76 ± 0.40 (63),5.96 ± 0.46 (52),"1542.00, 0.592","0.66, 0.360" -Information specificity,0.24 ± 0.03 (63),0.21 ± 0.02 (52),"1718.00, 0.655","0.01, 0.814" -Max rate,37.39 ± 1.91 (63),36.27 ± 2.34 (52),"1757.00, 0.505","1.09, 0.612" -Information rate,1.31 ± 0.08 (63),1.13 ± 0.08 (52),"1929.00, 0.103","0.25, 0.142" -Interspike interval cv,2.39 ± 0.10 (63),2.37 ± 0.09 (52),"1572.00, 0.713","0.16, 0.479" -In-field mean rate,14.88 ± 1.05 (63),13.79 ± 1.12 (52),"1763.00, 0.484","0.68, 0.685" -Out-field mean rate,6.37 ± 0.67 (63),5.80 ± 0.72 (52),"1737.00, 0.580","0.38, 0.577" -Burst event ratio,0.22 ± 0.01 (63),0.20 ± 0.01 (52),"1834.00, 0.272","0.01, 0.670" -Specificity,0.47 ± 0.03 (63),0.47 ± 0.03 (52),"1588.00, 0.781","0.01, 0.766" -Speed score,0.14 ± 0.01 (63),0.12 ± 0.01 (52),"1943.00, 0.087","0.04, 0.015" diff --git a/actions/comparisons-gridcells/data/statistics/statistics_base_i_vs_base_ii.tex b/actions/comparisons-gridcells/data/statistics/statistics_base_i_vs_base_ii.tex deleted file mode 100644 index dd211ea1e..000000000 --- a/actions/comparisons-gridcells/data/statistics/statistics_base_i_vs_base_ii.tex +++ /dev/null @@ -1,19 +0,0 @@ -\begin{tabular}{lllll} -\toprule -{} & Baseline I & Baseline II & MWU & PRS \\ -\midrule -Average rate & 8.96 ± 0.80 (63) & 8.29 ± 0.87 (52) & 1756.00, 0.509 & 0.55, 0.678 \\ -Gridness & 0.53 ± 0.05 (63) & 0.54 ± 0.04 (52) & 1664.00, 0.886 & 0.04, 0.545 \\ -Sparsity & 0.63 ± 0.02 (63) & 0.63 ± 0.03 (52) & 1652.00, 0.940 & 0.03, 0.648 \\ -Selectivity & 5.76 ± 0.40 (63) & 5.96 ± 0.46 (52) & 1542.00, 0.592 & 0.66, 0.360 \\ -Information specificity & 0.24 ± 0.03 (63) & 0.21 ± 0.02 (52) & 1718.00, 0.655 & 0.01, 0.814 \\ -Max rate & 37.39 ± 1.91 (63) & 36.27 ± 2.34 (52) & 1757.00, 0.505 & 1.09, 0.612 \\ -Information rate & 1.31 ± 0.08 (63) & 1.13 ± 0.08 (52) & 1929.00, 0.103 & 0.25, 0.142 \\ -Interspike interval cv & 2.39 ± 0.10 (63) & 2.37 ± 0.09 (52) & 1572.00, 0.713 & 0.16, 0.479 \\ -In-field mean rate & 14.88 ± 1.05 (63) & 13.79 ± 1.12 (52) & 1763.00, 0.484 & 0.68, 0.685 \\ -Out-field mean rate & 6.37 ± 0.67 (63) & 5.80 ± 0.72 (52) & 1737.00, 0.580 & 0.38, 0.577 \\ -Burst event ratio & 0.22 ± 0.01 (63) & 0.20 ± 0.01 (52) & 1834.00, 0.272 & 0.01, 0.670 \\ -Specificity & 0.47 ± 0.03 (63) & 0.47 ± 0.03 (52) & 1588.00, 0.781 & 0.01, 0.766 \\ -Speed score & 0.14 ± 0.01 (63) & 0.12 ± 0.01 (52) & 1943.00, 0.087 & 0.04, 0.015 \\ -\bottomrule -\end{tabular}