update figure

This commit is contained in:
saschuta 2024-06-07 17:13:41 +02:00
parent 264bb10527
commit becb1c665d
4 changed files with 8 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -11,7 +11,8 @@ from threefish.RAM.reformat import check_var_substract_method, chose_certain_gro
get_transfer_from_model, load_cells_three, predefine_grouping_frame, restrict_cell_type, save_arrays_susept
from threefish.RAM.save import get_transfer_for_model_full
from threefish.RAM.reformat_matrix import convert_csv_str_to_float, load_stack_data_susept
from threefish.RAM.plot_subplots import colors_suscept_paper_dots, letters_for_full_model, plt_model_big, \
from threefish.RAM.plot_subplots import adjust_factor_outside_nonlin, colors_suscept_paper_dots, letters_for_full_model, \
plt_model_big, \
plt_model_full_model2, \
plt_model_letters, \
plt_psds_ROC, plt_RAM_perc, recalc_fr_to_DF1
@ -32,8 +33,7 @@ from threefish.plot.limits import set_clim_same
#from utils_test import test_spikes_clusters
def model_full(c1=10, mult_type='_multsorted2_', devs=['05'], end='all', chose_score='mean_nrs',
detections=['MeanTrialsIndexPhaseSort'], sorted_on='LocalReconst0.2NormAm', dfs = ['m1', 'm2']):
def model_full():
plot_style()
default_figsize(column=2, length=3.5)#2.7
@ -43,8 +43,8 @@ def model_full(c1=10, mult_type='_multsorted2_', devs=['05'], end='all', chose_s
axes = []
a_size = 0.0065#und 0.0005 für das lineare das ist vielleicht für das nichtlienare 0.0065#0.0085#0.01#0.0085#125 # 0.0025# 0.01 0.005 und davor 0.025, funktioniert gut 0.0085
a_size = 0.0095#0.0065#0.0065und 0.0005 für das lineare das ist vielleicht für das nichtlienare 0.0065#0.0085#0.01#0.0085#125 # 0.0025# 0.01 0.005 und davor 0.025, funktioniert gut 0.0085
adjust_factor_outside = 3#adjust_factor_outside_nonlin()
@ -175,7 +175,7 @@ def model_full(c1=10, mult_type='_multsorted2_', devs=['05'], end='all', chose_s
stimulus_length=length, plus_q=plus_q, stack_saved = stack_saved,
diagonal=diagonal, runs=1, nfft = nfft, xlim_psd = xlim_psd,
cells=[cell], dev_spikes ='original', markers = markers, DF1_frmult = DF1_frmult, DF2_frmult = DF2_frmult,
log = log, ms = ms, array_len = array_len, f_same = f_same, transfer = transfer, clip_on = False, trials_nr_all= [1, 1, 1, 1, 1]) #arrays_len a_f1s=[0.02]"2012-12-13-an-invivo-1"'2013-01-08-aa-invivo-1'
log = log, ms = ms, adjust_factor_outside = adjust_factor_outside, array_len = array_len, f_same = f_same, transfer = transfer, clip_on = False, trials_nr_all= [1, 1, 1, 1, 1]) #arrays_len a_f1s=[0.02]"2012-12-13-an-invivo-1"'2013-01-08-aa-invivo-1'
@ -206,11 +206,11 @@ def model_full(c1=10, mult_type='_multsorted2_', devs=['05'], end='all', chose_s
fig = plt.gcf()#[axes[0], axes[3], axes[4]]
fig.tag([axes[0], axc, axes2[0], axes2[1], axes2[2], axes2[3]], xoffs=-4.5, yoffs=1.2) # ax_ams[3],
#plt.show()
plt.show()
save_visualization()
def plt_data_matrix(ax, axes, cell, grid, ls, lw, perc, stack_final):
def plt_data_matrix(axes, grid, ls, lw, perc):
ax = plt.subplot(grid[0])
axes.append(ax)
cell = '2012-07-03-ak-invivo-1'

Binary file not shown.