MultiSeedNeuralModelMk2 Class Reference

Inherits DifferentialModel.

Inheritance diagram for MultiSeedNeuralModelMk2:

Inheritance graph
[legend]
List of all members.

Detailed Description

Multi-seed differential model with experimental input.

Author:
Lawrence Murray <lawrence@indii.org>
Version:
Rev
285
Date:
Date
2007-07-20 17:25:40 +0100 (Fri, 20 Jul 2007)
Neural activities of $N$ seeds $\mathbf{x}$ and the effects of an experimental input $u(t)$ are related according to the differential system:

\[ \frac{d\mathbf{x}}{dt} = A\mathbf{x} + \mathbf{c}u \]

where $A$ is an $N \times N$ matrix of efficacies between seeds and $\mathbf{c}$ a vector of $N$ efficacies of the input on the seeds.

Definition at line 32 of file MultiSeedNeuralModelMk2.hpp.

Public Member Functions

 MultiSeedNeuralModelMk2 (const unsigned int N, indii::ml::ode::FunctionModel *u)
 Construct new model with given number of seeds.
 MultiSeedNeuralModelMk2 (const indii::ml::aux::matrix &A, const indii::ml::aux::vector &c, indii::ml::ode::FunctionModel *u)
 Construct new model with given efficacies.
virtual ~MultiSeedNeuralModelMk2 ()
 Destructor.
void setEfficacies (const indii::ml::aux::matrix &A)
 Set all efficacies between all seeds.
void setInputEfficacies (const indii::ml::aux::vector &c)
 Set all efficacies of input on seeds.
void setEfficacy (const unsigned int i, const unsigned int j, const double A_ij)
 Set the efficacy between two seeds.
void setInputEfficacy (const unsigned int i, const double c_i)
 Set the efficacy of the input on a seed.
virtual void calculateDerivatives (double t, const double y[], double dydt[])
 
See also:
indii::ml::ode::DifferentialModel


Constructor & Destructor Documentation

MultiSeedNeuralModelMk2 ( const unsigned int  N,
indii::ml::ode::FunctionModel *  u 
)

Construct new model with given number of seeds.

The efficacies remain uninitialised.

Parameters:
N $N$; the number of seeds.
u $u(t)$; the experimental input, e.g. an instantiation of indii::fmri::experimental::BlockDesignModel.

MultiSeedNeuralModelMk2 ( const indii::ml::aux::matrix &  A,
const indii::ml::aux::vector &  c,
indii::ml::ode::FunctionModel *  u 
)

Construct new model with given efficacies.

Parameters:
A $A$; efficacies between seeds, assumed to be $N \times N$ in size.
c $\mathbf{c}$; efficacies of input on seeds, must be of size $N$.
u $u(t)$; the experimental input, e.g. an instantiation of indii::fmri::experimental::BlockDesignModel.

~MultiSeedNeuralModelMk2 (  )  [virtual]

Destructor.

Definition at line 24 of file MultiSeedNeuralModelMk2.cpp.


Member Function Documentation

void setEfficacies ( const indii::ml::aux::matrix &  A  ) 

Set all efficacies between all seeds.

Parameters:
A $A$; efficacies between seeds, must be $N \times N$ in size.

void setInputEfficacies ( const indii::ml::aux::vector &  c  ) 

Set all efficacies of input on seeds.

Parameters:
c $c$; efficacies of input on seeds, must be of size $N$.

void setEfficacy ( const unsigned int  i,
const unsigned int  j,
const double  A_ij 
)

Set the efficacy between two seeds.

Parameters:
i $i$; index of the affected seed.
j $j$; index of the affecting seed.
A_ij $A_{ij}$; efficacy of seed $j$ on seed $i$.

Definition at line 42 of file MultiSeedNeuralModelMk2.cpp.

void setInputEfficacy ( const unsigned int  i,
const double  c_i 
)

Set the efficacy of the input on a seed.

Parameters:
i $i$; index of the affected seed.
c_i $c_i$; efficacy of the input on seed $i$.

Definition at line 50 of file MultiSeedNeuralModelMk2.cpp.

void calculateDerivatives ( double  t,
const double  y[],
double  dydt[] 
) [virtual]

See also:
indii::ml::ode::DifferentialModel

Definition at line 58 of file MultiSeedNeuralModelMk2.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 9 22:02:13 2007 for fmrii fMRI Modelling Library by  doxygen 1.5.2