Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
fslpy
Commits
48b76a66
Commit
48b76a66
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
Some more docs in featdesign
parent
7ba5756f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/data/featdesign.py
+10
-5
10 additions, 5 deletions
fsl/data/featdesign.py
with
10 additions
and
5 deletions
fsl/data/featdesign.py
+
10
−
5
View file @
48b76a66
...
@@ -141,7 +141,10 @@ class FEATFSFDesign(object):
...
@@ -141,7 +141,10 @@ class FEATFSFDesign(object):
:func:`.featanalysis.loadSettings`.
:func:`.featanalysis.loadSettings`.
:arg loadVoxelwiseEVs: If ``True`` (the default), image files
:arg loadVoxelwiseEVs: If ``True`` (the default), image files
for all voxelwise EVs are loaded.
for all voxelwise EVs are loaded. Otherwise
they are not loaded, and all calls to
meth:`getDesign` will contain the mean
data for any voxelwise EV columns.
"""
"""
if
settings
is
None
:
if
settings
is
None
:
...
@@ -201,10 +204,12 @@ class FEATFSFDesign(object):
...
@@ -201,10 +204,12 @@ class FEATFSFDesign(object):
def
getDesign
(
self
,
voxel
=
None
):
def
getDesign
(
self
,
voxel
=
None
):
"""
Returns the design matrix for the specified voxel.
"""
Returns the design matrix for the specified voxel.
:arg voxel: A tuple containing the ``(x, y, z)`` voxel coordinates
:arg voxel: A tuple containing the ``(x, y, z)`` voxel coordinates of
of interest. If ``None`` (the default), the design
interest. If ``None`` (the default), or if this
matrix is returned, with any voxelwise EV columns
``FEATFSFDesign`` was created with
containing the mean voxelwise EV data.
``loadVoxelwiseEVs=False``, the design matrix is returned,
with any voxelwise EV columns containing the mean
voxelwise EV data.
"""
"""
design
=
np
.
array
(
self
.
__design
)
design
=
np
.
array
(
self
.
__design
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment