-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from josephmje/gh-pages
MISC: File organization and binder updates
- Loading branch information
Showing
15 changed files
with
116 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: "Data Organization with BIDS" | ||
teaching: 30 | ||
exercises: 15 | ||
questions: | ||
- "" | ||
objectives: | ||
- "" | ||
keypoints: | ||
- "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: "Neuroimaging Fundamentals" | ||
teaching: 20 | ||
exercises: 10 | ||
questions: | ||
- "" | ||
objectives: | ||
- "" | ||
keypoints: | ||
- "" | ||
--- | ||
|
||
## Why Python? | ||
|
||
- free, open source | ||
- one platform for data pre-processing, visualization and analysis | ||
- reproducible code | ||
- large number of user-developed packages (eg. nibabel, nilearn) | ||
- easy interaction with state-of-the art neuroimaging software (eg. FSL, ANTS) | ||
|
||
## Types of MR Scans | ||
|
||
![mr-scan-types](../fig/mr_scan_types.png){:class="img-responsive"} | ||
|
||
anat | ||
|
||
func | ||
|
||
dwi | ||
|
||
## Neuroimaging File Formats | ||
|
||
|Format Name | File Extension | Origin | | ||
|---|---|---| | ||
| Analyze | .img/.hdr | Analyze Software, Mayo Clinic | | ||
| DICOM | none | ACR/NEMA Consortium | | ||
| NIfTI | .nii or .img/.hdr | Neuroimaging Informatics Technology Initiative | | ||
| MINC | .mnc | Montreal Neurological Institute | | ||
| NRRD | .nrrd | | | ||
|
||
![dicom-to-nifti](../fig/dicom_to_nifti.png){:class="img-responsive"} | ||
|
||
From the MRI scanner, images are initially collected in the DICOM format and can be converted to NIfTI using [dcm2niix](https://github.com/rordenlab/dcm2niix). | ||
|
||
## Intro to NIfTI | ||
|
||
NIfTI is one of the most ubiquitous file formats for storing neuroimaging data. We'll cover a few details to get started working with them. If you're interested in learning more about NIfTI images, we highly recommend [this blog post about the NIfTI format](http://brainder.org/2012/09/23/the-nifti-file-format/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: "Reproducible Workflows" | ||
teaching: 30 | ||
exercises: 15 | ||
questions: | ||
- "" | ||
objectives: | ||
- "" | ||
keypoints: | ||
- "" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: dataviz_python | ||
|
||
channels: | ||
- default | ||
- conda-forge | ||
|
||
dependencies: | ||
- python=3.8.* | ||
- pip | ||
- git | ||
- git-annex | ||
- datalad=0.14.4 | ||
- matplotlib | ||
- nibabel | ||
- numpy | ||
- pandas | ||
- texinfo | ||
|
||
- pip: | ||
- pybids | ||
- datalad-installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Git set up | ||
git config --global --add user.name "Ford Escort" | ||
git config --global --add user.email [email protected] | ||
|
||
# Get data | ||
|
||
openneuro_dataset=ds000030 | ||
|
||
datalad clone "https://github.com/OpenNeuroDatasets/${openneuro_dataset}.git" "data/${openneuro_dataset}/" | ||
datalad get data/${openneuro_dataset}/sub-01/anat/* | ||
datalad get data/${openneuro_dataset}/sub-01/func/sub-01_task-compL1_run-1_bold.* |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
awscli | ||
datalad | ||
matplotlib | ||
nibabel | ||
numpy | ||
pandas | ||
pybids | ||
pybids |