-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalyze_localizer.sh
More file actions
27 lines (22 loc) · 846 Bytes
/
analyze_localizer.sh
File metadata and controls
27 lines (22 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /usr/bin/env bash
# Time-stamp: <2025-08-07 m.utrosa@bcbl.eu>
set -eo pipefail
# Run the code in an environment specific to the project.
source activate localizer_fMRI
# Subject-specific parameters
subID=4
sesID=1
task="localizer"
homePath='/home/mutrosa/Documents/projects/localizer_fMRI'
# STEP 1: Filter Artifacts
## a.) Extracts motion confounds from fMRIprep derivatives.
## b.) Adds physiological regressors (TAPAS) to the confound dataframe.
## b.) Extracts motion outliers from fMRIprep derivatives.
echo "STEP 1: Filtering artifacts ..."
python -m scripts.analysis.artifacts "$subID" "$sesID" "$homePath"
echo "Completed STEP 1 ;)"
# # STEP 2: Design
# echo "STEP 2: Parsing logfiles to get NiPype Design Bunch ..."
# python scripts/analysis/designer.py "$subID" "$sesID" "$homePath"
# echo "Completed STEP 3 ;)"
conda deactivate