add plottools option of labeling figures update colors
This commit is contained in:
parent
aacdac9aad
commit
69de5ecf59
@ -1,33 +1,33 @@
|
||||
|
||||
|
||||
import plottools.colors as ptc
|
||||
from plottools.axes import labelaxes_params
|
||||
SAVE_FOLDER = "./thesis/figures/"
|
||||
|
||||
# 2013-04-17-ae-invivo-1
|
||||
eod_1 = 601
|
||||
model_cell_1 = {'v_zero': 0, 'tau_a': 0.10594195682772084, 'a_zero': 20.297158690978996, 'v_base': 0, 'step_size': 5e-05,
|
||||
'input_scaling': 199.04341472682282, 'mem_tau': 0.0013351097297217276, 'dend_tau': 0.005031489230091817,
|
||||
'threshold': 1, 'noise_strength': 0.020762013938241387, 'delta_a': 0.19269473149955363,
|
||||
'refractory_period': 0.002371738343145318, 'v_offset': -43.75}
|
||||
|
||||
# 2013-01-08-ab-invivo-1
|
||||
eod_2 = 800
|
||||
model_cell_2 = {'v_offset': -48.828125, 'mem_tau': 0.0021479243799079964, 'threshold': 1, 'a_zero': 27.680206509021417,
|
||||
'step_size': 5e-05, 'v_zero': 0, 'delta_a': 0.12873961597602196, 'input_scaling': 242.8680596636849,
|
||||
'tau_a': 0.10796132718941187, 'v_base': 0, 'refractory_period': 0.0007639751586561779,
|
||||
'dend_tau': 0.005438366305916608, 'noise_strength': 0.02022218133038218}
|
||||
|
||||
# 2012-06-27-ah-invivo-1
|
||||
eod_3 = 752 # Hz
|
||||
model_cell_3 = {'v_base': 0, 'noise_strength': 0.05081267319483283, 'threshold': 1, 'a_zero': 27.063463123260032,
|
||||
'tau_a': 0.08095824056298784, 'step_size': 5e-05, 'delta_a': 0.2030821656947388,
|
||||
'mem_tau': 0.0030522466803712903, 'v_zero': 0, 'v_offset': -160.9375, 'refractory_period': 0.0012932884089886,
|
||||
'input_scaling': 591.8852909105865, 'dend_tau': 0.005488247178541381}
|
||||
|
||||
FIG_SIZE_SMALL = (4, 4)
|
||||
FIG_SIZE_MEDIUM = (6, 6)
|
||||
FIG_SIZE_LARGE = (8, 8)
|
||||
FIG_SIZE_SMALL_WIDE = (6, 4)
|
||||
FIG_SIZE_MEDIUM_WIDE = (8, 5)
|
||||
|
||||
|
||||
|
||||
""" Muted colors. """
|
||||
# from git bendalab/plottools
|
||||
colors_muted = ptc.colors_muted
|
||||
|
||||
|
||||
COLOR_DATA = ptc.colors_vivid["blue"]
|
||||
COLOR_DATA_f0 = ptc.colors_vivid["red"]
|
||||
COLOR_DATA_finf = ptc.colors_vivid["green"]
|
||||
|
||||
COLOR_MODEL = colors_muted["orange"]
|
||||
COLOR_MODEL_f0 = colors_muted["red"]
|
||||
COLOR_MODEL_finf = colors_muted["green"]
|
||||
|
||||
f0_marker = (3, 0, 0) # "^"
|
||||
finf_marker = (4, 0, 0) # "s"
|
||||
|
||||
COLOR_MODEL = "orange"
|
||||
COLOR_DATA = "blue"
|
||||
|
||||
def set_figure_labels(xoffset="auto", yoffset='auto'):
|
||||
labelaxes_params(xoffs=xoffset, yoffs=yoffset, labels='A',
|
||||
font=dict(size=16, family='serif'))
|
||||
|
Loading…
Reference in New Issue
Block a user