BlockDesignModel Class Reference

Inherits FunctionModel.

Inheritance diagram for BlockDesignModel:

Inheritance graph
[legend]
List of all members.

Detailed Description

Block design experimental stimulus.

Author:
Lawrence Murray <lawrence@indii.org>
Version:
Rev
285
Date:
Date
2007-07-20 17:25:40 +0100 (Fri, 20 Jul 2007)
Represents a box-car function, consisting of alternating fixed length, fixed intensity blocks of rest and activity.

Definition at line 20 of file BlockDesignModel.hpp.

Public Member Functions

 BlockDesignModel (const double blockLength, const bool isFirstRest=true, const double restLevel=0.0, const double activityLevel=1.0)
 Construct new block design.
 ~BlockDesignModel ()
 Destructor.
double evaluate (const double t, const double y[])
 
See also:
indii::ml::ode::FunctionModel


Constructor & Destructor Documentation

BlockDesignModel ( const double  blockLength,
const bool  isFirstRest = true,
const double  restLevel = 0.0,
const double  activityLevel = 1.0 
)

Construct new block design.

Parameters:
blockLength Time length of a single block.
isFirstRest Is the first block a rest block?
restLevel Stimulus level during rest block.
activityLevel Stimulus level during activity block.

Definition at line 7 of file BlockDesignModel.cpp.

~BlockDesignModel (  ) 

Destructor.

Definition at line 15 of file BlockDesignModel.cpp.


Member Function Documentation

double evaluate ( const double  t,
const double  y[] 
)

See also:
indii::ml::ode::FunctionModel

Definition at line 19 of file BlockDesignModel.cpp.


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