-
Notifications
You must be signed in to change notification settings - Fork 0
/
applyPropofol.m
49 lines (44 loc) · 1.97 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(bazhenovSpecification, decayTimeMultiplier, condMultiplier)
%APPLYPROPOFOL - Apply adjustment factors for applying propofol GABA-Aergic changes
%
% applyPropofol takes a (Bazhenov et al., 2002)-type DynaSim model
% specification and applies the adjustment factors for the "propofol"
% anesthesia state.
%
% Inputs:
% 'bazhenovSpecification': DynaSim specification structure for the (Bazhenov
% et al., 2002) 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 (Bazhenov
% et al., 2002) model with the adjustment factors applied
%
% Dependencies:
% - This has only been tested on MATLAB version 2017a.
%
% References:
% - Bazhenov M, Timofeev I, Steriade M, Sejnowski TJ. Model of thalamocortical
% slow-wave sleep oscillations and transitions to activated states. The
% Journal of Neuroscience. 2002;22: 8691–8704.
%
% 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(bazhenovSpecification, modifications);