diff --git a/French_Zitate.docx b/French_Zitate.docx new file mode 100644 index 0000000..bbf38a4 Binary files /dev/null and b/French_Zitate.docx differ diff --git a/references.bib b/references.bib index 07068c1..d6e9e1e 100644 --- a/references.bib +++ b/references.bib @@ -3988,6 +3988,9 @@ We collected weakly electric gymnotoid fish in the vicinity of Manaus, Amazonas, publisher={APS} } + + + @article{Lisman1997, title={Bursts as a unit of neural information: making unreliable synapses reliable}, author={Lisman, John E}, diff --git a/trialnr.py b/trialnr.py index dc0ab7f..29f0542 100644 --- a/trialnr.py +++ b/trialnr.py @@ -2,6 +2,7 @@ import os import numpy as np import pandas as pd +from IPython import embed from matplotlib import pyplot as plt from plotstyle import plot_style from threefish.core_plot_labels import title_find_cell_add @@ -99,6 +100,9 @@ def trialnr(nffts=['whole'], powers=[1], contrasts=[0], noises_added=[''], D_ext trial_nrs_here = trial_nrs_ram_model() stacks = [] perc95 = [] + vars = [] + cv_stims = [] + fr_stims = [] perc05 = [] median = [] stacks_wo_norm = [] @@ -139,6 +143,11 @@ def trialnr(nffts=['whole'], powers=[1], contrasts=[0], noises_added=[''], D_ext if len(stack)> 0: model_show, stack_plot, stack_plot_wo_norm = get_stack(cell, stack) stacks.append(stack_plot) + #em + cv_stims.append(stack['cv_stim_mean'].iloc[0]) + fr_stims.append(stack['fr_stim_mean'].iloc[0]) + vars.append(stack['var_RAM'].iloc[0]) + perc95.append(np.percentile(stack_plot,99.99)) perc05.append(np.percentile(stack_plot, 10)) median.append(np.percentile(stack_plot, 50)) @@ -148,6 +157,9 @@ def trialnr(nffts=['whole'], powers=[1], contrasts=[0], noises_added=[''], D_ext median_wo_norm.append(np.percentile(stack_plot_wo_norm, 50)) else: + vars.append(float('nan')) + cv_stims.append(float('nan')) + fr_stims.append(float('nan')) stacks.append([]) perc95.append(float('nan')) perc05.append(float('nan')) @@ -158,6 +170,15 @@ def trialnr(nffts=['whole'], powers=[1], contrasts=[0], noises_added=[''], D_ext perc05_wo_norm.append(float('nan')) median_wo_norm.append(float('nan')) + #embed() + test = False + if test: + fig, ax = plt.subplots(1,3) + ax[0].plot(trial_nrs_here,cv_stims/trial_nrs_here) + ax[1].plot(trial_nrs_here, fr_stims / trial_nrs_here) + ax[2].plot(trial_nrs_here, vars / trial_nrs_here) + plt.show() + # vars, cv_stims, fr_stims fig, ax = plt.subplots(1,2) #ax.plot(trial_nrs_here, perc05, color = 'grey') ax[0].plot(trial_nrs_here, perc95, color = 'grey', clip_on = False, label = '99.99th percentile') diff --git a/~$ench_Zitate.docx b/~$ench_Zitate.docx new file mode 100644 index 0000000..14eb1db Binary files /dev/null and b/~$ench_Zitate.docx differ diff --git a/~WRL1966.tmp b/~WRL1966.tmp new file mode 100644 index 0000000..d348194 Binary files /dev/null and b/~WRL1966.tmp differ