-
Notifications
You must be signed in to change notification settings - Fork 1
/
applyPropofol.m
executable file
·49 lines (44 loc) · 1.96 KB
/
applyPropofol.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
function output = applyPropofol(krishnanSpecification, decayTimeMultiplier, condMultiplier)
%APPLYPROPOFOL - Apply adjustment factors for applying propofol GABA-Aergic changes
%
% applyPropofol takes a (Krishnan et al., 2016)-type DynaSim model
% specification and applies the adjustment factors for the "propofol"
% anesthesia state.
%
% Inputs:
% 'krishnanSpecification': DynaSim specification structure for the (Krishnan
% et al., 2016) model
% - see dsCheckModel and dsCheckSpecification for details
% 'decayTimeMultiplier': Amount to multiply GABA-A decay time from propofol
% 'condMultiplier': Amount to multiply GABA-A maximal conductance from propofol
%
% Outputs:
% 'output': DynaSim specification structure for the (Krishnan
% et al., 2016) model with the adjustment factors applied
%
% Dependencies:
% - This has only been tested on MATLAB version 2017a.
%
% References:
% - Krishnan GP, Chauvette S, Shamie I, Soltani S, Timofeev I, Cash SS, et
% al. Cellular and neurochemical basis of sleep stages in the
% thalamocortical network. eLife. 2016;5: e18607.
%
% Author: Austin E. Soplata <[email protected]>
% Copyright (C) 2018 Austin E. Soplata, Boston University, USA
% ------------------------------------------
%% 1. Combine all the changes to make
% ------------------------------------------
modifications = {...
'PYdr<-INso', 'propofolTauMult', decayTimeMultiplier;
'PYdr<-INso', 'propofolCondMult', condMultiplier;
'PYdr<-INso', 'propofolMiniCondMult', condMultiplier;
'TRN<-TRN', 'propofolTauMult', decayTimeMultiplier;
'TRN<-TRN', 'propofolCondMult', condMultiplier;
'TC<-TRN', 'propofolTauMult', decayTimeMultiplier;
'TC<-TRN', 'propofolCondMult', condMultiplier;
};
% ------------------------------------------
%% 3. Apply the changes to the model
% ------------------------------------------
output = dsApplyModifications(krishnanSpecification, modifications);