示例#1
0
 def __init__(self,
              directory="/Users/butler/Desktop/CARDIOID/ECG_data"):
     '''
     Constructor: We will try to set all parameters in here.
     '''
     self.directory = directory
     self.ex_dir = "experiment_18"
     self.l1_param_dirs = ['ikr_block_0', 'ikr_block_100']
     self.l1_param_labels = ["Control", "E-4031"]
     self.l2_param_dirs = ['g_NaL_M_0_25',
                           'g_NaL_M_0_275',
                           'multi_variable_1',
                           'multi_variable_2',
                           'multi_variable_3',
                           'multi_variable_4']
     '''
                           'multi_variable_5',
                           'multi_variable_6',
                           'multi_variable_7']
     '''
     self.l2_param_labels = [r'\[ \begin{split}g_{NaL, endo} &= 0.20\\ g_{NaL, mid} &= 0.25\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.392 \end{split}\]',
                             r'\[ \begin{split}g_{NaL, endo} &= 0.20\\ g_{NaL, mid} &= 0.275\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.392 \end{split}\]',
                             r'\[ \begin{split}g_{NaL, endo} &= 0.20\\ g_{NaL, mid} &= 0.325\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.392 \end{split}\]',
                             r'\[ \begin{split}g_{NaL, endo} &= 0.20\\ g_{NaL, mid} &= 0.35\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.392 \end{split}\]',
                             r'\[ \begin{split}g_{NaL, endo} &= 0.175\\ g_{NaL, mid} &= 0.3\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.392 \end{split}\]',
                             r'\[ \begin{split}g_{NaL, endo} &= 0.2\\ g_{NaL, mid} &= 0.3\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.196 \end{split}\]']
     '''
                             r'\[ \begin{split}g_{NaL, endo} &= 0.2\\ g_{NaL, mid} &= 0.3\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.098 \end{split}\]',
                             r'\[ \begin{split}g_{NaL, endo} &= 0.25\\ g_{NaL, mid} &= 0.3\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.098 \end{split}\]',
                             r'\[ \begin{split}g_{NaL, endo} &= 0.3\\ g_{NaL, mid} &= 0.3\\g_{NaL, epi} &= 0.15\\g_{Ks, endo} &= 0.098 \end{split}\]']
     '''
     self.plotter = gecg.GECGs(self.directory)
     self.plotter.template.figfractionalwidth = 0.85
示例#2
0
 def __init__(self,
              directory="/Users/butler/Desktop/CARDIOID_SEQ/ecg_data"):
     '''
     Constructor
     '''
     self.directory = directory
     self.plotter = gecg.GECGs(self.directory)
     self.plotter.template.figfractionalwidth = 1.15
示例#3
0
 def __init__(self,
              directory="/Users/butler/Desktop/CARDIOID/ECG_data"):
     '''
     Constructor: We will try to set all parameters in here.
     '''
     self.directory = directory
     self.ex_dir = "wedge_ex_19_a"
     self.l2_param_dirs = ['ikr_block_0/gNaL015', 'ikr_block_66/c_3',
                           'ikr_block_66/ranolazine']
     self.l2_param_labels = ['WT', 'E4031', 'Ranolazine']
     self.plotter = gecg.GECGs(self.directory, full=False)
     self.plotter.template.figfractionalwidth = 0.85
示例#4
0
 def __init__(self,
              directory="/Users/butler/Desktop/CARDIOID_SEQ/ecg_data"):
     '''
     Constructor: We will try to set all parameters in here.
     '''
     self.directory = directory
     self.ex_dir = "experiment_19"
     self.l1_param_dirs = ['ikr_block_0/c_2', 'ikr_block_0/c_3', 'ikr_block_0/c_3.5', 'ikr_block_0/c_4']
     self.l1_param_labels = ["c X 2", "c X 3", "c X 3.5", "c X 4"]
     self.l2_param_dirs = ['gNaL015','gNal016','gNal017','gNal018','gNal019','gNal020']
     self.l2_param_labels = ['gNaL015','gNal016','gNal017','gNal018','gNal019','gNal020']
     self.plotter = gecg.GECGs(self.directory)
     self.plotter.template.figfractionalwidth = 0.85
示例#5
0
 def __init__(self,
              directory="/Users/butler/Desktop/CARDIOID_SEQ/ecg_data"):
     '''
     Constructor
     '''
     self.directory = directory
     self.ex_16 = "s1_comparison"
     #self.ex_16_ikr_dirs = ['ikr_block_0','ikr_block_33','ikr_block_66', \
     #'ikr_block_100']
     #self.ex_16_legends = [r'$I_{kr}Block = 0 $',r'$I_{kr}Block = 33 $', \
     #r'$I_{kr}Block = 66 [E-4031]$ ',r'$I_{kr}Block = 100 $']
     self.ex_16_ikr_dirs = ['s1_cont', 's1_stop']
     self.ex_16_legends = ["Continued S1", "Stopped S1"]
     self.plotter = gecg.GECGs(self.directory)
     self.plotter.template.figfractionalwidth = 1.15
示例#6
0
 def __init__(self, direct="/Users/butler/Desktop/CARDIOID_SEQ/ecg_data"):
     '''
     Constructor
     '''
     self.directory = direct
     self.ex_16 = "experiment_16"
     #self.ex_16_ikr_dirs = ['ikr_block_0','ikr_block_33','ikr_block_66',
     # 'ikr_block_100']
     #self.ex_16_legends = [r'$I_{kr}Block = 0 $',r'$I_{kr}Block = 33 $', \
     #r'$I_{kr}Block = 66 [E-4031]$ ',r'$I_{kr}Block = 100 $']
     self.ex_16_ikr_dirs = ['ikr_block_0', 'ikr_block_66']
     self.ex_16_legends = ["Control", "E-4031"]
     self.ex_17 = "experiment_17"
     self.ex_17_ikr_dirs = ['ikr_block_66']
     self.ex_17_legends = ['Ranolazine']
     self.plotter = gecg.GECGs(self.directory)
     self.plotter.template.figfractionalwidth = 0.85
示例#7
0
 def __init__(self,
              directory="/Users/butler/Desktop/CARDIOID/europace"):
     '''
     Constructor: We will try to set all parameters in here.
     '''
     self.directory = directory
     self.ex_dir = "priming"
     self.l2_param_dirs = ['IKr_block_000', 'IKr_block_025',
                           'IKr_block_033', 'IKr_block_050',
                           'IKr_block_066', 'IKr_block_075',
                           'IKr_block_100']
     self.l2_param_labels = [r'$I_{Kr}Block=0\%$', r'$I_{Kr}Block=25\%$',
                             r'$I_{Kr}Block=33\%$', r'$I_{Kr}Block=50\%$',
                             r'$I_{Kr}Block=66\%$', r'$I_{Kr}Block=75\%$',
                             r'$I_{Kr}Block=100\%$']
     self.l2_suffix = 'priming'
     self.plotter = gecg.GECGs(self.directory,full=False,)
     self.plotter.template.figfractionalwidth = 0.85