39 this =
this@models.pcd.BasePCDSystem(model);
42 this.
f= models.pcd.CoreFun1D(
this);
49 this.
Params= data.ModelParam.empty;
53 this.
addParam(
" U ", 1e-3,
" Range ", [1e-5, 1e-2],
" Desired ", 50);
60 idx = round(linspace(1,length(t),700));
64 states = [
" alive ",
" unstable ",
" dead "];
70 doplot(y(1:m,:),
" Caspase-8 (x_a) ",1);
71 doplot(y(m+1:2*m,:),
" Caspase-3 (y_a) ",2);
72 doplot(y(2*m+1:3*m,:),
" Pro-Caspase-8 (x_i) ",3);
73 doplot(y(3*m+1:end,:),
" Pro-Caspase-3 (y_i) ",4);
75 function doplot(y,thetitle,pnr)
80 ylabel(sprintf(
" %.2e to %.2e: Cell core to hull [m] ",this.
Omega(1),this.
Omega(2)));
84 if abs((mi-Ma) / mi) < 1e-14
85 mi = .999*mi; Ma=1.001*Ma;
87 axis([0 max(t) this.
Omega mi Ma]);
88 di = abs(this.
Model.SteadyStates(:,pnr)-y(end));
89 reldi = di ./ (this.
Model.SteadyStates(:,pnr)+eps);
91 if any(reldi > .1) || any(reldi < 10)
93 title(sprintf(
" Model '%s', %s concentrations\nCell state at T=%d: %s\n%s ", model.
Name, thetitle,...
94 max(t),states[
id],reldistr));
96 title(sprintf(
" Model '%s', %s concentrations\n%s ", model.
Name, thetitle,reldistr));
119 x0(2*m+1:end) = 1e-9;
120 this.
x0= dscomponents.ConstInitialValue(
x0);
123 A = spdiags([e -2*e e],-1:1,m,m)/this.
hs^2;
125 A(end) = -1/this.
hs^2;
char Name
The name of the Model.
Collection of generally useful functions.
PCDSYSTEM1D Summary of this class goes here Detailed explanation goes here.
function newSysDimension()
Assign fitting initial value.
Params
The parameters usable for the dynamical system.
h
Spatial stepwidth (in unscaled size units!) is set in subclasses.
PCDSystem1D(models.BaseFullModel model)
The base class for any KerMor detailed model.
models.BaseFirstOrderSystem System
The actual dynamical system used in the model.
Model
The Model this System is attached to.
hs
scaled spatial stepwidth
Dims
The system's dimensions.
LinearCoreFun(A)
No system reference needed for constant linear core fun.
dscomponents.AInitialValue x0
Function handle to initial state evaluation.
dscomponents.ACoreFun f
The core f function from the dynamical system.
static function char str = implode(char|rowvec data,char glue,char format)
Implodes the elements of data using glue.
Omega
The spatial width/area/region (in unscaled size units!)
function ModelParam p = addParam(char name, default, varargin)
Adds a parameter with the given values to the parameter collection of the current dynamical system...
PCDSYSTEM The 2D dynamical system of the Programmed Cell Death Model by Markus Daub.
function plot(models.BaseFullModel model,double t,matrix< double > y)
Performs a plot for this model's results.
dscomponents.LinearCoreFun A
Represents a linear or affine-linear component of the dynamical system.
Diff
Relative diffusion coefficients ([d2/d1, d3/d1, d4/d1])