I am trying to figure out a way to plot EEG electrode coordinates onto a 3D image of a mouse brain, similar to this:
Sorry there are a lot of pictures showing what's been done. I'm a bit new to python, so I'm still trying to figure out what is the most important info to share is. Please feel free to ask for more information on what I've done.
Here is what has been done so far in a Jupyter notebook:
import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
from allensdk.core.mouse_connectivity_cache import MouseConnectivityCache
%matplotlib notebook
This is how we are interacting with coordinates for the electrodes on the EEG:
coords = pd.DataFrame({'AP': channel_AP, 'ML': channel_ML})
coords.head()
Pictures showing more of what's been done:
This is the code for how I am IDing approximately what brain region my electrodes are over: