Brain regions recorded by electrophysiology cannot usually be determined by histology alone: the tip of the probe is difficult to pinpoint, so while the trajectory is clear, the exact depth of the probe is not.
I used to have the function AP_align_probe_histology to adjust where the probe lies along the trajectory based on firing rate, unit depth, and multiunit correlation. Changes to the GUI means this no longer works, and I hope to add a new alignment tool in the future.
In the meantime:
Brain regions recorded by electrophysiology cannot usually be determined by histology alone: the tip of the probe is difficult to pinpoint, so while the trajectory is clear, the exact depth of the probe is not.
I used to have the function
AP_align_probe_histologyto adjust where the probe lies along the trajectory based on firing rate, unit depth, and multiunit correlation. Changes to the GUI means this no longer works, and I hope to add a new alignment tool in the future.In the meantime:
alignatlasdatais an alignment tool from Enny van Beest and might work as-is: https://github.com/EnnyvanBeest/GeneralNeuropixelAnalysisFunctions/blob/main/Histology/alignatlasdata.matlaselectrophysiologyis an alignment tool from Mayo Faulkner at the IBL (in python, requires IBL data/naming conventions): https://github.com/int-brain-lab/iblapps/tree/master/atlaselectrophysiology. Using this requires converting file formats fromAP_histology, which is apparently possible (done here AP_align_probe_histology #17), though I don't have code to do that at the moment.