petersaj / AP_histology

Histology processing
61 stars 21 forks source link

Electrophysiology/histology alignment tool fix #29

Open petersaj opened 1 year ago

petersaj commented 1 year ago

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.

The function AP_align_probe_histology is an old function to do this alignment. In essence, it allows the user to slide the full possible trajectory of the probe until it matches certain electrophysiological features (e.g. a gap in units where a ventricle is expected), and then labels the trajectory with depths relative to the probe.

This is an outdated function which relies on specific loaded variables, and it will eventually be improved. In the meantime: