Skip to content

Commit

Permalink
Revert bad merge git-svn
Browse files Browse the repository at this point in the history
git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/scientific_library@8027 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
  • Loading branch information
liadomide committed Jun 21, 2016
1 parent a937a39 commit 70297ad
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions tvb/simulator/monitors.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,15 +438,10 @@ def config_for_sim(self, simulator):

super(Projection, self).config_for_sim(simulator)
self._sim = simulator

if hasattr(self, 'sensors'):
self.sensors.configure()

# handle region vs simulation, analytic vs numerical proj, cortical vs subcortical.

if hasattr(self, 'sensors'):
self.sensors.configure()

# setup convenient locals
surf = simulator.surface
conn = simulator.connectivity
Expand Down Expand Up @@ -747,26 +742,26 @@ class Bold(Monitor):
Base class for the Bold monitor.
**Attributes**
hrf_kernel: the haemodynamic response function (HRF) used to compute
hrf_kernel: the haemodynamic response function (HRF) used to compute
the BOLD (Blood Oxygenation Level Dependent) signal.
length : duration of the hrf in seconds.
period : the monitor's period
**References**:
.. [B_1997] Buxton, R. and Frank, L., *A Model for the Coupling between
.. [B_1997] Buxton, R. and Frank, L., *A Model for the Coupling between
Cerebral Blood Flow and Oxygen Metabolism During Neural Stimulation*,
17:64-72, 1997.
.. [Fr_2000] Friston, K., Mechelli, A., Turner, R., and Price, C., *Nonlinear
Responses in fMRI: The Balloon Model, Volterra Kernels, and Other
Responses in fMRI: The Balloon Model, Volterra Kernels, and Other
Hemodynamics*, NeuroImage, 12, 466 - 477, 2000.
.. [Bo_1996] Geoffrey M. Boynton, Stephen A. Engel, Gary H. Glover and David
J. Heeger (1996). Linear Systems Analysis of Functional Magnetic Resonance
J. Heeger (1996). Linear Systems Analysis of Functional Magnetic Resonance
Imaging in Human V1. J Neurosci 16: 4207-4221
.. [Po_2000] Alex Polonsky, Randolph Blake, Jochen Braun and David J. Heeger
Expand All @@ -788,15 +783,15 @@ class Bold(Monitor):
label = "Sampling period (ms)",
default = 2000.0,
doc = """For the BOLD monitor, sampling period in milliseconds must be
an integral multiple of 500. Typical measurment interval (repetition
an integral multiple of 500. Typical measurment interval (repetition
time TR) is between 1-3 s. If TR is 2s, then Bold period is 2000ms.""")

hrf_kernel = equations.HRFKernelEquation(
label = "Haemodynamic Response Function",
default = equations.FirstOrderVolterra,
required = True,
doc = """A tvb.datatypes.equation object which describe the haemodynamic
response function used to compute the BOLD signal.""")
response function used to compute the BOLD signal.""")

hrf_length = basic.Float(
label = "Duration (ms)",
Expand Down Expand Up @@ -875,11 +870,11 @@ def sample(self, step, state):

class BoldRegionROI(Bold):
"""
The BoldRegionROI monitor assumes that it is being used on a surface and
The BoldRegionROI monitor assumes that it is being used on a surface and
uses the region mapping of the surface to generate regional signals which
are the spatial average of all vertices in the region.
are the spatial average of all vertices in the region.
This was originated to compare the results of a Bold monitor with a
This was originated to compare the results of a Bold monitor with a
region level simulation with that of an otherwise identical surface
simulation.
Expand Down

0 comments on commit 70297ad

Please sign in to comment.