Giter Site home page Giter Site logo

sg-s / crabsort Goto Github PK

View Code? Open in Web Editor NEW
18.0 8.0 4.0 593 KB

๐Ÿฆ€๐Ÿฆ€๐Ÿฆ€ Sort spikes from extra-cellular recordings using neural networks. Fully automated.

License: GNU General Public License v3.0

MATLAB 96.07% CSS 2.85% HTML 0.45% Python 0.15% Objective-C 0.48%
spike-sorting matlab tensorflow neural-network extracellular-recordings dimensionality-reduction stg spike neuroscience

crabsort's Introduction

๐Ÿฆ€ crabsort

GitHub last commit

Installation

Using git

Clone these repos:

# bash
git clone https://github.com/sg-s/crabsort
git clone https://github.com/sg-s/puppeteer
git clone https://github.com/sg-s/srinivas.gs_mtools

and add the all to your MATLAB path.

Updating and uninstalling

crabsort supports built-in methods to upgrade and update:

% matlab
crabsort.update
crabsort.uninstall

Usage

Video tutorial by Mara Rue walking through how to use crabsort

Keyboard actions

Key Action
a Scroll to beginning of file
z Scroll to end of file
Spacebar Jump to next uncertain spike (as predicted by Neural Network)
g generate data for Neural network
โ‡ง + โ†‘ jump to the weirdest spike
โ‡ง + โ†“ jump to a next less weird spike
p Predict spikes using Neural network
r reset zoom
0 Set channel as having no spikes
โ†‘ Select channel above currently chosen channel
โ†“ Select channel below currently chosen channel
โ†’ Load next file in dataset
โ† Load next file in dataset
p Predict spikes using Neural network
โ‡ง + โ†’ jump to the next file with unsorted data on this channel

License

GPL v3

If you plan to use crabsort for a publication, please write to me for appropriate citation.

crabsort's People

Contributors

sg-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crabsort's Issues

training the neural network should be much more general

Given some time series with labelled spikes,

  1. remember the spike times and labels
  2. keep dropping the spike prominence detection till we double the # of spikes
  3. we have now generated our negative training dataset

open problems:

  1. how do we know whether to use + or - prom?

since tf_model_dir is hardcoded

as a full path, moving the directory, or transferring to a different computer breaks everything.

maybe use relative paths?

training should show PCA with labels

use a different marker for different units, and paint them in green when correctly classified, and in red when incorrectly classified. maybe also show the training data in black?

findSpikes can be much faster

and not slow to a crawl on large files

-- only find spikes in the visible trace. we can find all the spikes later

new neural network interface

should have:

  1. control for n_steps
  2. control for model_name
  3. train button
  4. done button
  5. visual display of accuracy over time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.