-
Notifications
You must be signed in to change notification settings - Fork 0
Coding in Python
Start with a simple self-paced course (intro to variables and if statements) ~1 hour. This will give you a very brief introduction to Python and programming.
Alternatively, try this intro to Python for data science course ~4 hours This covers a bit more, including functions, and an intro to stats in python.
Introduction to plotting and data visualisation in Python via Matplotlib Most other plotting tools (including ones listed below) are built upon Matplotlib, so these are important fundamentals
Or this more comprehensive course on Python for neuroscience This course does not include videos It covers basics from variables and loops, to data manipulation and statistics. It might be good to check it out to fill in the gaps in your knowledge
Start here: Introduction to MRI in Python ~1 hour Specifically, you should complete: Section 3: Anatomy of a NIfTI Section 5: Exploring open MRI datasets The other sections can provide a general overview of basic programming and neuroimaging principles, but these two sections provide the best and most direct introduction to basic neuroimaging in Python.
Next, complete these more detailed lessons as needed depending on what modality you’re working with: sMRI analysis in Python fMRI analysis in Python dMRI analysis in Python
You do not need to complete all of these lessons, only the ones that you'll need to based on your project's requirements. If you don't know what you'll be using in your project, ask your supervisor and they'll be happy to help.
Familiarise yourself with some general purpose plotting tools in python via nilearn.plotting, including plotting of: Volumetric data Surface data FC matrices fMRI carpet plots
Like the previous lesson, you likely won't need to complete all of these tutorials; only the ones you'll actually use in your specific project.
These are some additional lessons that showcase what can be achieved in Python for neuroimaging. If your work needs these speciality tools, this might be helpful. Otherwise, these might be fairly niche.
MRI preprocessing pipelines in Python
- Warning: more complex than previous resources
- Semi-introductory course to Python with an emphasis on ML.
- 0.0 Home
- 0.1 Neuroscience fundamentals
- 0.2 Reproducible Science
- 0.3 MRI Physics, BIDS, DICOM, and data formats
- 0.4 Introduction to Diffusion MRI
- 0.5 Introduction to Functional MRI
- 0.6 Measuring functional and effective connectivity
- 0.7 Connectomics, graph theory, and complexity
- 0.8 Statistical and Mathematical Tidbits
- 0.9 Introduction to Psychopathology
- 0.10 Introduction to Genetics and Bioinformatics
- 0.11 Introduction to Programming
- 1.0 Working on the Cluster
- 2.0 Programming Languages
- 2.1 Python
- 2.2 MATLAB
- 2.3 R and RStudio
- 2.4 Programming Intro Exercises
- 2.5 git and GitHub
- 2.6 SLURM and Job Submission
- 3.0 Neuroimaging Tools and Packages
- 3.1 BIDS
- 3.2 FreeSurfer
- 3.2.1 Qdec
- 3.3 FSL
- 3.3.1 ICA-FIX
- 3.4 Connectome Workbench/wb_command
- 3.5 fMRIPrep
- 3.6 QSIPrep
- 3.7 HCP Pipeline
- 3.8 tedana
- 4.0 Quality control
- 4.1 MRIQC
- 4.2 Common Artefacts
- 4.3 T1w
- 4.4 rs-fMRI
- 5.0 Specialist Tools
- 6.0 Putting it all together
- 7.0 Data management