-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathperform_fix.sh
More file actions
executable file
·32 lines (26 loc) · 1.09 KB
/
Copy pathperform_fix.sh
File metadata and controls
executable file
·32 lines (26 loc) · 1.09 KB
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
28
29
30
31
#!/bin/bash
# This script performs the first part of the pre-processing pipeline - independent component classification
#
# Analysis inputs, specified in the begining of the script:
# pe_dir: phase enconding direction
# subj: subject id
# thr: threshold for fix noise/signal
#
#
# Inputs in PREPROCESS/$subj/$pedir_dir/mel.ica directory:
# mc directory
# reg directory: example_func2highres, highres2example_func
# filtered_func_data.ica: result of ica analysis
# example_func
# mean_func
# highres, highres head
#
# Outputs in PREPROCESS/$subj/$pedir_dir/mel.ica directory:
# fix: directory with results of fix analysis
# fix4me: text file with the classification of ics
#-------------------------------------------- Perform FIX classification ---------------------------------------------#
#---------------------------------------------------------------------------------------------------------------------#
# Extract features
/usr/local/fix/fix -f mel.ica
# Classify components
/usr/local/fix/fix -c mel.ica /usr/local/fix/training_files/$fix_train_data $fix_thr