File: process_raw.sh

package info (click to toggle)
python-mne 0.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 95,104 kB
  • sloc: python: 110,639; makefile: 222; sh: 15
file content (26 lines) | stat: -rwxr-xr-x 936 bytes parent folder | download | duplicates (6)
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
#!/usr/bin/env bash

# Generate events
mne_process_raw --raw test_raw.fif --eventsout test-eve.fif

# Averaging no filter
mne_process_raw --raw test_raw.fif --projon --filteroff \
        --saveavetag -nf-ave --ave test-no-reject.ave

# Averaging 40Hz
mne_process_raw --raw test_raw.fif --lowpass 40 --projoff \
        --saveavetag -ave --ave test.ave

# Compute the noise covariance matrix
mne_process_raw --raw test_raw.fif --filteroff --projon \
        --savecovtag -cov --cov test.cov

# Compute the noise covariance matrix with keepsamplemean
mne_process_raw --raw test_raw.fif --filteroff --projon \
        --savecovtag -km-cov --cov test_keepmean.cov

# Compute projection
mne_process_raw --raw test_raw.fif --events test-eve.fif --makeproj \
           --projtmin -0.2 --projtmax 0.3 --saveprojtag _proj \
           --projnmag 1 --projngrad 1 --projevent 1 \
           --projmagrej 600000 --projgradrej 500000  --filteroff