Skip to content

correcting motion/drift in 3D #3790

@chiyu1203

Description

@chiyu1203

Dear Spikeinterface community,
I use 128-channel 4-shank-3D probes to do acute (typically 1-2 hour) recording in head-fixed, walking insects. Each shank (60um width) is 150 um along anterior-posterior axis and/or 300 um medial-lateral axis away from other shanks, and embedded with 32 channels for 3 columns (the interval between columns is 18.5um) spanning around 315 um along the dorsal-ventral axis.

Image

Following the Handle motion/drift guide, I managed to detect peaks and estimate motion/drift in different methods. Since the span of the channels are much shorter than Neuropixels, I first tested different length of win_step_um and of win_scale_um (from 25um to 150 um). Then I focus on the analysis with DREDge because (a) It seems that DREDge and its ancestor detect more peaks than others

(figure removed to avoid confusion)

(b) After viewing @cwindolf wonderful talk and the paper, I feel confident that this method would work well with short probes (imaging these 3D probes as a multi-shank Neuropixels UHD but with NP1-Like geometry)

(figure removed to avoid confusion)

However, after DREDge detected those peaks, it does not look like those drift were corrected. I wonder that is because (a) the drift is too small to correct or the correction is too small to view (b) the drift occurred at the 3rd dimension, which is not detected in the function?! If (b) is the case, is there anything I can help develop this new feature? or should I split the stacked probes into 2 portion and analyse them independently?

Below is the code I use to call the function. Feel free to let me know if you have any thought.

recording_corrected, motion, motion_info = spre.correct_motion(recording=recording_saved, preset=preset, folder=folder,overwrite=False, output_motion=True, output_motion_info=True, estimate_motion_kwargs={'win_step_um':win_um,'win_scale_um':win_um},**job_kwargs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    motion correctionQuestions related to motion correction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions