-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invasive neurophysiology toolbox #516
Conversation
Automated copying of default config file during installation
Values will be in Volts instead of mV
Specifically for the Kilosort converter: the conversion from double to int16 has been achieved by F/max(max(abs(F))) * 15000. 15000 was selected as the middle of the maximum value that an int16 value can be. Tried 32678 but Kilosort was giving weird outputs. So far all the datasets I spike-sorted show reasonable results.
Added .xml converter straight from Brainstorm environment. Removed .xslx dependency - Kilosort can be used in non-Windows systems now. Enabled event-dot-visualization on spiking events Moved Kilosort installation to the plugin manager
Redesigned behavior when manual spike-sorting is performed in Klusters. All the spiking events that belong to electrodes that belong to the shank/Montage will be removed, and then the new manual spiking selections will be added to the link-to-raw file
Added ultramegasort2000 and waveclus spikesorters
Accommodate different starting timepoint than 0
Moved installation to the plugin manager
This allows dots-visualizations along the raw file exploration
Design change - the spikesorters when they finish their unsupervised part automatically attach the events to the link to raw file. The reason for this design change is that the previous commit allows deletion of the relevant events that are manually spike sorted
In case of .plx, the entire recording is converted to a .bst to avoid the inefficient loading that .plx files have
linspace created precision error on the computation of Fs. Fixed bug
CONVERT TO LFP: Added option to select the sampling rate of the LFPs. Substituted the resampling function from Matlab's 'downsample', to BST 'resample' Bug Fix on demultiplexers - In_spikesorting_rawelectrodes, in_spikesorting_convertforkilosort
fixes #489 |
Spiking phase locking: display of total number of neurons, don't display omnibus test Tuning curves: took into account case where a single spike occured.
Fixed display when one of the streams is disabled during acquisition
Intan has inefficient loader (read_Intan_RHD2000). The entire recording is loaded every time by default. The previous importer (2018) modified Intan's importer to provide efficient importing. The new importer uses Intan's 2022 importer, but converts the recording to a .bst for efficient loading
update from master and upgrade intan
Plexon fopen cases were deleted by mistake while merging
Added check for GPU training. Updated bst_progress calls.
@mpompolas The things I still need to do:
Things that do not work:
Things that you can already start working on:
I'll keep on working on this in the next few days, please do not push directly anything here. |
This was not a "process", but a collection of interactive and shared functions. It was all moved to panel_spikes.m
I'm done for now! You can now:
There are the following remaining issues:
It would be great to a have processing script to reproduce all this, but I guess you won't have time to work on this before the end of the week :) I won't be working on the code again before you're done on your side. |
Thanks for checking everything out. Working on this now |
Thank you indeed, François!
On Apr 26, 2022, at 12:30 PM, Konstantinos ***@***.******@***.***>> wrote:
Thanks for checking everything out. Working on this now
—
Reply to this email directly, view it on GitHub<#516 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEOWKPNH2XU3B7YVGDVNO2LVHAKYXANCNFSM5PJNAKKQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Pull request has been opened at: mpompolas#13 Tested spikesorters and Derive to LFP with/without Bayesian Denoising. Plexon works.
My bad. The initial version of the paper had them as Rasterplot per neuron and rasterplot per electrode. After the first revision we changed that to PSTH and in my head these were interchangeable. The new and correct raster plot function was introduced after the revision.
Addressed above.
Something is off in this function. I can't reproduce the figures I uploaded on the tutorial after your changes. I'll have to check the STD's when I revisit the function again. Figures reproduction
This is probably due to the fact you used the functions after you did spike-sorting within Brainstorm. I added a wiki-note on the webpage to alert users of this.
It's the same.
It's the same.
This is due to the fact that after the new spike-sorting, you now have 70 neurons instead of the initial 53 that were assigned to the raw file. TODOI have to read thoroughly the Tutorial again, but as far as coding goes, the only remaining issue that I see is the function |
Update - I run the old We just need to focus on the function |
This comment was marked as outdated.
This comment was marked as outdated.
I was not sure how you were planning on cascading the merging of the PR, so I integrated these changes directly in here: d55a3b8 I added a script for reproducing the tutorial pipeline and figures automatically: tutorial_ephys.m I fixed the bugs I introduced in process_spike_triggered_average.m. I think this is ready for merging! |
Process report obtained from the script |
Thank you so much for all your help Francois. |
Updated STA tutorial page. You can now merge. Thank you for all your help @ftadel and @sbaillet SCRIPTLast check to do once you merge, is to make sure that the script you created is loaded on the website (note: spiking phase locking and PSTH are not called in the script): https://neuroimage.usc.edu/brainstorm/e-phys/functions#Scripting FUTURE IMPROVEMENTOne thing that I would suggest to be done at some point in the future, would be to distribute a converted .pl2 file (https://plexon.com/plexutil-4-0-enables-conversion-from-plx-files-to-pl2-files/), instead of a .plx, so users don't get discouraged with the initial waiting time that it takes for converting from .plx to .bst |
Done! @mpompolas |
Just re-iterating Francois’ words of appreciation and encouragement (to come back and work with Brainstorm!).
Cheers,
Sylvain.
On May 3, 2022, at 8:44 AM, Francois ***@***.******@***.***>> wrote:
Done!
What a amazing piece of work!
@mpompolas<https://github.com/mpompolas>
Thank you so much for the continued efforts on this project over the past years. I'm sure your work will be extremely useful for lots of people around the world.
I wish you the best of luck and success with your new position.
Hopefully some day you'll miss academia and come back to work with us :-)
—
Reply to this email directly, view it on GitHub<#516 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEOWKPMOJCVNGHEYCHT2BGTVIENRPANCNFSM5PJNAKKQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Adding here the repo I've been working on for visibility.
WIP