Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/00_Download_Data.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ cd ../data/ds006185
datalad get -J5 sub-24053/ses-1/func/sub-24053_ses-1_task-rat_dir-PA_run-01_echo-*
datalad get sub-24053/ses-1/func/sub-24053_ses-1_task-rat_dir-PA_run-01_part-mag_desc-brain_mask.nii.gz
datalad get sub-24053/ses-1/func/sub-24053_ses-1_task-rat_dir-PA_run-01_part-mag_desc-confounds_timeseries.tsv
datalad get sub-24053/ses-1/func/sub-24053_ses-1_task-rat_dir-PA_run-01_from-boldref_to-T1w_mode-image_desc-coreg_xfm.txt
datalad get sub-24053/ses-1/anat/sub-24053_ses-1_rec-norm_desc-preproc_T1w.nii.gz
```
4 changes: 4 additions & 0 deletions content/plot_approach_figures.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,17 @@ from tedana.utils import make_adaptive_mask

data_path = os.path.abspath('../data')

func_dir = os.path.join(data_path, "ds006185/sub-24053/ses-1/func/")
ted_dir = os.path.join(data_path, "tedana")
```

## Load data
```{code-cell} ipython3
:tags: [hide-cell]
data = load_pafin(data_path)
# load_pafin returns echo_times as a list; this chapter does array arithmetic on
# it (e.g. -1 * echo_times), so coerce to an array once here.
data['echo_times'] = np.asarray(data['echo_times'])

# Background anatomical image
anat_dir = os.path.join(data_path, "ds006185/sub-24053/ses-1/anat/")
Expand Down