Introduction
This lab will guide you through creating a visualization of an MRI image with EEG traces using Python Matplotlib. You will learn how to load and display MRI and EEG data, plot an intensity histogram of the MRI image, and plot EEG traces with time on the x-axis and electrode channels on the y-axis.
VM Tips
After the VM startup is done, click the top left corner to switch to the Notebook tab to access Jupyter Notebook for practice.
Sometimes, you may need to wait a few seconds for Jupyter Notebook to finish loading. The validation of operations cannot be automated because of limitations in Jupyter Notebook.
If you face issues during learning, feel free to ask Labby. Provide feedback after the session, and we will promptly resolve the problem for you.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
python(("`Python`")) -.-> python/BasicConceptsGroup(["`Basic Concepts`"])
matplotlib(("`Matplotlib`")) -.-> matplotlib/BasicConceptsGroup(["`Basic Concepts`"])
matplotlib(("`Matplotlib`")) -.-> matplotlib/PlottingDataGroup(["`Plotting Data`"])
python(("`Python`")) -.-> python/ControlFlowGroup(["`Control Flow`"])
python(("`Python`")) -.-> python/DataStructuresGroup(["`Data Structures`"])
python(("`Python`")) -.-> python/ModulesandPackagesGroup(["`Modules and Packages`"])
python(("`Python`")) -.-> python/DataScienceandMachineLearningGroup(["`Data Science and Machine Learning`"])
python(("`Python`")) -.-> python/FunctionsGroup(["`Functions`"])
python/BasicConceptsGroup -.-> python/comments("`Comments`")
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("`Importing Matplotlib`")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("`Understanding Figures and Axes`")
matplotlib/PlottingDataGroup -.-> matplotlib/histograms("`Histograms`")
matplotlib/PlottingDataGroup -.-> matplotlib/heatmaps("`Heatmaps`")
python/BasicConceptsGroup -.-> python/variables_data_types("`Variables and Data Types`")
python/BasicConceptsGroup -.-> python/numeric_types("`Numeric Types`")
python/ControlFlowGroup -.-> python/for_loops("`For Loops`")
python/DataStructuresGroup -.-> python/lists("`Lists`")
python/DataStructuresGroup -.-> python/tuples("`Tuples`")
python/ModulesandPackagesGroup -.-> python/importing_modules("`Importing Modules`")
python/DataScienceandMachineLearningGroup -.-> python/numerical_computing("`Numerical Computing`")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("`Data Visualization`")
python/FunctionsGroup -.-> python/build_in_functions("`Build-in Functions`")
subgraph Lab Skills
python/comments -.-> lab-48834{{"`MRI with EEG Visualization`"}}
matplotlib/importing_matplotlib -.-> lab-48834{{"`MRI with EEG Visualization`"}}
matplotlib/figures_axes -.-> lab-48834{{"`MRI with EEG Visualization`"}}
matplotlib/histograms -.-> lab-48834{{"`MRI with EEG Visualization`"}}
matplotlib/heatmaps -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/variables_data_types -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/numeric_types -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/for_loops -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/lists -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/tuples -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/importing_modules -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/numerical_computing -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/data_visualization -.-> lab-48834{{"`MRI with EEG Visualization`"}}
python/build_in_functions -.-> lab-48834{{"`MRI with EEG Visualization`"}}
end