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
e88cec62
Commit
e88cec62
authored
6 years ago
by
Matthew Webster
Browse files
Options
Downloads
Patches
Plain Diff
MNT: renamed extract_noise to fsl_ents
parent
6e6561b3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
fsl/scripts/extract_noise.py
+3
-3
3 additions, 3 deletions
fsl/scripts/extract_noise.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
tests/test_extract_noise.py
+1
-1
1 addition, 1 deletion
tests/test_extract_noise.py
with
5 additions
and
5 deletions
fsl/scripts/extract_noise.py
+
3
−
3
View file @
e88cec62
...
...
@@ -5,7 +5,7 @@
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
"""
This module defines the ``
extract_noise
`` script, for extracting component
"""
This module defines the ``
fsl_ents
`` script, for extracting component
time series from a MELODIC ``.ica`` directory.
"""
...
...
@@ -28,7 +28,7 @@ with warnings.catch_warnings():
DTYPE
=
np
.
float64
name
=
"
extract_noise
"
name
=
"
fsl_ents
"
desc
=
'
Extract component time series from a MELODIC .ica directory
'
usage
=
"""
{name}: {desc}
...
...
@@ -204,7 +204,7 @@ def loadConfoundFiles(conffiles, npts):
def
main
(
argv
=
None
):
"""
Entry point for the ``
extract_noise
`` script.
"""
Entry point for the ``
fsl_ents
`` script.
Identifies component time series to extract, extracts them, loads extra
confound files, and saves them out to a file.
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
e88cec62
...
...
@@ -124,7 +124,7 @@ setup(
'
imglob = fsl.scripts.imglob:main
'
,
'
atlasq = fsl.scripts.atlasq:main
'
,
'
atlasquery = fsl.scripts.atlasq:atlasquery_emulation
'
,
'
extract_noise
= fsl.scripts.extract_noise:main
'
,
'
fsl_ents
= fsl.scripts.extract_noise:main
'
,
]
}
)
This diff is collapsed.
Click to expand it.
tests/test_extract_noise.py
+
1
−
1
View file @
e88cec62
...
...
@@ -95,7 +95,7 @@ def test_extract_noise():
melmix
=
np
.
random
.
randint
(
1
,
100
,
(
100
,
20
))
np
.
savetxt
(
'
melodic_mix
'
,
melmix
)
sys
.
argv
=
[
'
extract_noise
'
,
td
]
+
'
-o out.txt 1 2 3
'
.
split
()
sys
.
argv
=
[
'
fsl_ents
'
,
td
]
+
'
-o out.txt 1 2 3
'
.
split
()
extn
.
main
()
assert
np
.
all
(
np
.
loadtxt
(
'
out.txt
'
)
==
melmix
[:,
:
3
])
...
...
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