You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remarkAndThrow("Matrix '" + mlarray.getname() + "' cannot be translated into a SCIRun Field (dimensions of field do not match dimensions of mesh", postremark);
Copy file name to clipboardExpand all lines: src/Modules/BrainStimulator/ElectrodeCoilSetup.h
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
Copyright (c) 2015 Scientific Computing and Imaging Institute,
7
7
University of Utah.
8
8
9
-
9
+
10
10
Permission is hereby granted, free of charge, to any person obtaining a
11
11
copy of this software and associated documentation files (the "Software"),
12
12
to deal in the Software without restriction, including without limitation
@@ -26,22 +26,22 @@
26
26
DEALINGS IN THE SOFTWARE.
27
27
*/
28
28
///@file ElectrodeCoilSetup
29
-
///@brief With this module the user is able to position tDCS electrodes and TMS coils to setup a simulation scenario.
30
-
///
29
+
///@brief With this module the user is able to position tDCS electrodes and TMS coils to setup a simulation scenario.
30
+
///
31
31
///
32
32
///@author
33
33
/// Moritz Dannhauer
34
34
///
35
35
///@details
36
36
/// The module gets the triangulated scalp surface as the first input and a matrix of possible locations as the second. The third and any following input fields (dynamic input ports)
37
37
/// are considered to be prototypes of electrodes or TMS coils that need to be positioned. After the first execution using a minimum of 3 (valid) inputs the positions appear as table rows
38
-
/// in the GUI. The GUI allows to assign a prototype (first table column), normal direction etc. as well as the type of stimulation (second table column). Based on the choices made in the
38
+
/// in the GUI. The GUI allows to assign a prototype (first table column), normal direction etc. as well as the type of stimulation (second table column). Based on the choices made in the
39
39
/// first (prototype, "Input #") and second column (stimulation type, "Type") information are gathered from the rest of the row. An defined tDCS electrode or TMS coil will be moved using
40
40
/// its location ("X","Y","Z"), its normal ("NX","NY","NZ") and can be rotated along its normal by the angle table cell defined in degrees. Throughout this table, multiple electrodes and TMS coils
41
41
/// can be located at their final destinations. For a tDCS electrode specification, the placed and oriented prototype (contains electrode dimension) is used to cut the scalp that is covered by the
42
-
/// electrode. This piece of scalp and its normals are used to generate the electrode sponge shape by using the thickness table parameter. The module contains three outputs: 1) the averaged scalp
42
+
/// electrode. This piece of scalp and its normals are used to generate the electrode sponge shape by using the thickness table parameter. The module contains three outputs: 1) the averaged scalp
43
43
/// sponge locations (+thickness, as a DenseMatrix) which are designed to be the last input of the SetupTDCS module, 2) a collection of all valid tDCS electrodes and 3) a collection of all
44
-
/// valid TMS coil inputs that are represented by rotated points and dipole normals approximating the magnetic field.
44
+
/// valid TMS coil inputs that are represented by rotated points and dipole normals approximating the magnetic field.
Copy file name to clipboardExpand all lines: src/Modules/BrainStimulator/GenerateROIStatistics.h
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
Copyright (c) 2015 Scientific Computing and Imaging Institute,
7
7
University of Utah.
8
8
9
-
9
+
10
10
Permission is hereby granted, free of charge, to any person obtaining a
11
11
copy of this software and associated documentation files (the "Software"),
12
12
to deal in the Software without restriction, including without limitation
@@ -26,27 +26,27 @@
26
26
DEALINGS IN THE SOFTWARE.
27
27
*/
28
28
29
-
///@file
29
+
///@file
30
30
/// GenerateROIStatisticsModule.cc
31
-
///@brief
31
+
///@brief
32
32
/// This module allows to perform statistical analysis of simulation results and is part of the BrainStimulator package.
33
-
///
33
+
///
34
34
///@author
35
35
/// Moritz Dannhauer
36
36
///
37
37
///@details
38
38
/// The GUI presents two tables that are functionally different.
39
-
/// First, the upper table is for output only and presents any statistical results where each ROI is one row in the table. In its default state the module will analyze
40
-
/// and present results for all ROIs that are correctly provided as inputs. Second, the lower table is meant to be able to define an individual ROI based on several critia (location,
39
+
/// First, the upper table is for output only and presents any statistical results where each ROI is one row in the table. In its default state the module will analyze
40
+
/// and present results for all ROIs that are correctly provided as inputs. Second, the lower table is meant to be able to define an individual ROI based on several critia (location,
41
41
/// material label number and a radius that defines a spherical ROI around it). Once valid parameter are provided (in lower table, e.g. radius > 0) the results will be presented in the upper table after
42
42
/// module execution.
43
43
/// Two inputs have to be provided to be able to run the module it. The first input is a field that contains the simulation data defined on a mesh (tested with tetrahedra) elements.
44
44
/// The third input represents the atlas that is identical in terms of geometry but contains label numbers (>0) to define anatomical regions. The anatomical regions can be used to
45
45
/// compute descriptive statistics (avr., stddev., min, max). All other inputs are optional. You can provide anatomical names as a string (separated by ";", e.g. region1;region2) that must be ordered
46
46
/// in a way that they match up with the ordered label numbers. An addtional (latvol) input can be provided to define a coordinate space to query anatomical statistics of common
47
47
/// and self-defined neurological spaces such as Talairach or MNI space. The module is therefore generic since any anatomical data are provided by inputs only.
48
-
/// Using the second and seventh input, GUI labels describing the analysis (the physical unit the first input is in; the name of the cordinate space system that is used) can be provided.
49
-
/// The user is responsible for providing appropriate inputs that are registered etc.
48
+
/// Using the second and seventh input, GUI labels describing the analysis (the physical unit the first input is in; the name of the cordinate space system that is used) can be provided.
49
+
/// The user is responsible for providing appropriate inputs that are registered etc.
50
50
/// You can use the tutorial walkthrough and example networks to explore its functionality.
Copy file name to clipboardExpand all lines: src/Modules/BrainStimulator/SetConductivitiesToTetMesh.h
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
Copyright (c) 2015 Scientific Computing and Imaging Institute,
7
7
University of Utah.
8
8
9
-
9
+
10
10
Permission is hereby granted, free of charge, to any person obtaining a
11
11
copy of this software and associated documentation files (the "Software"),
12
12
to deal in the Software without restriction, including without limitation
@@ -35,7 +35,7 @@
35
35
/// Moritz Dannhauer
36
36
///@details
37
37
/// The SetConductivitiesToTetMesh module uses a single field input and assigns conductivities to output field that are provided by the GUI elements to work in the BrainStimulator environment (uses SI units).
38
-
/// The module looks for the numbers in round brackets (range visible in GUI) of the input field and sends them to the algorithm to be converted to the conductivities (specified in GUI).
38
+
/// The module looks for the numbers in round brackets (range visible in GUI) of the input field and sends them to the algorithm to be converted to the conductivities (specified in GUI).
Copy file name to clipboardExpand all lines: src/Modules/BrainStimulator/SetupRHSforTDCSandTMS.h
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
Copyright (c) 2015 Scientific Computing and Imaging Institute,
7
7
University of Utah.
8
8
9
-
9
+
10
10
Permission is hereby granted, free of charge, to any person obtaining a
11
11
copy of this software and associated documentation files (the "Software"),
12
12
to deal in the Software without restriction, including without limitation
@@ -27,23 +27,23 @@
27
27
*/
28
28
29
29
///@file SetupRHSforTDCSandTMS
30
-
///@brief
31
-
/// This module sets up TDCS problem by providing the right hand side vector (controlled by GUI) and inputs for the modules: AddKnownsToLinearSystem, BuildTDCSMatrix.
30
+
///@brief
31
+
/// This module sets up TDCS problem by providing the right hand side vector (controlled by GUI) and inputs for the modules: AddKnownsToLinearSystem, BuildTDCSMatrix.
32
32
///
33
33
///@author
34
34
/// Moritz Dannhauer, Spencer Frisby
35
35
///
36
36
///@details
37
37
/// .The module gets 4 inputs the tetrahedral mesh (first), triangle surfaces (as part of the first input) for the scalp (second) and electrodes sponges (third) as well as the a matrix (output of ElectrodeCoilSetup)
38
-
/// that contains the center location and thickness of the electrode sponge. The first output contains the knowns (reference zeros node) of the linear system (third input of AddKnownsToLinearSystem).
38
+
/// that contains the center location and thickness of the electrode sponge. The first output contains the knowns (reference zeros node) of the linear system (third input of AddKnownsToLinearSystem).
39
39
/// The zero potential node is set to be the first mesh node by default, which can be chosen arbitrarily in the GUI by the user. The second until fifth output prepares the inputs for the BuildTDCSMatrix module that
40
40
/// combines the FEM stiffness matrix with the boundary conditions of the complete electrode model. The electrical impedances can be provided in the GUI for each electrode individually.
41
-
/// The module needs to identify the surface of the sponge which makes up the major part of the algorithmic module implementation.
42
-
/// The sixth output creates the right hand side (RHS) vector that can be provided by the GUI. The electrical charges (ingoing and outgoing current intensities) need to sum up zero.
41
+
/// The module needs to identify the surface of the sponge which makes up the major part of the algorithmic module implementation.
42
+
/// The sixth output creates the right hand side (RHS) vector that can be provided by the GUI. The electrical charges (ingoing and outgoing current intensities) need to sum up zero.
43
43
/// If you execute the module once the module will graphically only present the number of electrodes defined in the input data.
44
44
/// The complete electrode model solves the nodal and electrode potentials in an agumented linear system the potential solution (output of SolveLinearSystem) needs to adjuested.
45
-
/// Therefore, a seventh output is provided that contains the relevant indeces to be used for the module 'SelectSubMatrix'.
46
-
/// Since the identification of the contact surface between electrode sponge and the electrode itself (the sponge surface top is assumed to be that) is a difficult geometrical process the eighth
45
+
/// Therefore, a seventh output is provided that contains the relevant indeces to be used for the module 'SelectSubMatrix'.
46
+
/// Since the identification of the contact surface between electrode sponge and the electrode itself (the sponge surface top is assumed to be that) is a difficult geometrical process the eighth
47
47
/// output provides a triangle mesh that can be used for visual inspection (->ShowField->ViewScene).
0 commit comments