Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] add transformation free model #26

Merged
merged 10 commits into from
Jun 16, 2022
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.ipynb_checkpoints/

.vscode
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,12 @@
url = https://gin.g-node.org/markiewicz/ds000003-fmriprep
datalad-id = b099d04a-a2d7-4082-9660-05a9019ed8fe
datalad-url = https://gin.g-node.org/markiewicz/ds000003-fmriprep
[submodule "ds002799"]
path = ds002799
url = https://github.com/OpenNeuroDatasets/ds002799.git
datalad-id = d5b52178-970c-11ea-a09a-1e09d750626b
datalad-url = https://github.com/OpenNeuroDatasets/ds002799.git
[submodule "ds2799/ds002799"]
path = ds2799/ds002799
url = https://github.com/OpenNeuroDatasets/ds002799.git
datalad-id = d5b52178-970c-11ea-a09a-1e09d750626b
1 change: 1 addition & 0 deletions ds002799
Submodule ds002799 added at 2e4b90
1 change: 1 addition & 0 deletions ds2799/ds002799
Submodule ds002799 added at 2e4b90
39 changes: 39 additions & 0 deletions ds2799/model-ds2799-desc-compcop_smdl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"Name": "ds2799_compcor",
"Description": "scrubbing compcor, see https://nilearn.github.io/stable/modules/generated/nilearn.interfaces.fmriprep.load_confounds_strategy.html",
"BIDSModelVersion": "1.0.0",
"Input": {
"task": [
"rest"
],
"space": [
"MNI152NLin2009cAsym"
Remi-Gau marked this conversation as resolved.
Show resolved Hide resolved
]
},
"Nodes": [
{
"Level": "Run",
"Name": "run",
"GroupBy": [
"run",
"session",
"subject"
],
"Model": {
"Description": "removes effect of 1) realigment parameters, their squares, their derivatives and the derivatives squared and 2) the a_comp_cor noise regressors computer by fmriprep to explain 50% of the noise variance in a noise region.",
"X": [
"rot*",
"trans*",
"a_comp_cor_??",
1
],
"Type": "glm",
"Options": {
"Description": "define a bandpass filter",
"HighPassFilterCutoffHz": 0.01,
"LowPassFilterCutoffHz": 0.15
}
}
}
]
}
42 changes: 42 additions & 0 deletions ds2799/model-ds2799-desc-scrubbing_smdl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Name": "ds2799_scrubbing",
"Description": "scrubbing denoising, see https://nilearn.github.io/stable/modules/generated/nilearn.interfaces.fmriprep.load_confounds_strategy.html",
"BIDSModelVersion": "1.0.0",
"Input": {
"task": [
"rest"
],
"space": [
"MNI152NLin2009cAsym"
]
},
"Nodes": [
{
"Level": "Run",
"Name": "run",
"GroupBy": [
"run",
"session",
"subject"
],
"Model": {
"Description": "1) removes effect of realigment parameters, their squares, their derivatives and the derivatives squared, 2) removes effect of the mean signal measured in CSF, white matter as well as their derivatives and squares and 3) do scrubbing by removing time points flagged as outliers by fmriprep",
"X": [
"rot*",
"trans*",
"white_matter*",
"csf*",
"motion_outlier*",
"non_steady*",
1
],
"Type": "glm",
"Options": {
"Description": "define a bandpass filter",
"HighPassFilterCutoffHz": 0.01,
"LowPassFilterCutoffHz": 0.15
}
}
}
]
}
40 changes: 40 additions & 0 deletions ds2799/model-ds2799-desc-simple_smdl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"Name": "ds2799_simple",
"Description": "simple denoising, see https://nilearn.github.io/stable/modules/generated/nilearn.interfaces.fmriprep.load_confounds_strategy.html",
"BIDSModelVersion": "1.0.0",
"Input": {
"task": [
"rest"
],
"space": [
"MNI152NLin2009cAsym"
]
},
"Nodes": [
{
"Level": "Run",
"Name": "run",
"GroupBy": [
"run",
"session",
"subject"
],
"Model": {
"Description": "removes effect of 1) realigment parameters, their squares, their derivatives and the derivatives squared and 2) the mean signal measured in CSF, white matter",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some "comments": I believe we should make extensive / intensive use of them in the model zoo.

"X": [
"rot*",
"trans*",
"white_matter",
"csf",
1
],
"Type": "glm",
"Options": {
"Description": "define a bandpass filter",
"HighPassFilterCutoffHz": 0.01,
"LowPassFilterCutoffHz": 0.15
}
}
}
]
}