This commit is contained in:
saschuta 2024-06-20 21:24:33 +02:00
commit a33924b5c8

View File

@ -56,7 +56,8 @@ def nonlin_regime0():
for cell_here in cells_here:
c_nrs_orig = [0.01,0.04, 0.1, 0.2] # 0.0002, 0.05, 0.5
#c_nrs_orig = [0.01, 0.04, 0.1, 0.2] # 0.0002, 0.05, 0.5
c_nrs_orig = [0.002, 0.01, 0.05, 0.1]
redo = False # True
log = 'log' # 'log'
@ -221,7 +222,8 @@ def plt_stim_nonlin(arrays_st, axe_all, axes, c_nn, c_nrs, colors_array_here, gr
plt_stim_saturation(0, [], [am * 100], axe, colors_array_here, i,
c_nn, ['Contrast [$\%$]'], time,
xlim=xlim, lw=1, spines=spines) # np.array(arrays_sp)*1000
beat_here = r'$\rm{Contrast}=%s$' % (int(np.round(c_nrs[c_nn]))) + '$\%$' # +'$'
#beat_here = r'$\rm{Contrast}=%s$' % (int(np.round(c_nrs[c_nn]))) + '$\%$' # +'$'
beat_here = f'$\\rm{{Contrast}}={c_nrs[c_nn]:.2g}\\%$'
title_name = beat_here # fish + '\n' + +c1+c2#twobeat_cond(big=True, double=True,cond=False)
axe.text(1, 1.1, title_name, va='bottom', ha='right',
transform=axe.transAxes)
@ -453,4 +455,5 @@ def load_nonlin_regime_values(full_name):
if __name__ == '__main__':
sys.excepthook = info
nonlin_regime0()
nonlin_regime0()