Coder Social home page Coder Social logo

spikemonger's Introduction

== Spikemonger

= Getting spikemonger

Spikemonger is available from https://github.com/beniamino38/spikemonger .
You can get it using 'git' (a version control system) or by just downloading a
.zip/.tar.gz file ('Downloads' link).


= Machine

Spikemonger needs a beefy machine with lots of RAM (8GB) and lots of disk 
space (budget 3x the amount of space consumed by your raw data). You also 
need a vaguely recent version of Matlab.


= Data files

Spikemonger works on .bwvt files (produced by BrainWare) or .f32 files 
(produced by BenWare). You will need to organise your data files into the 
structure expected by spikemonger:

<experiment_name>/<subdirectory>/raw.f32/<prefix>.N.f32

or

<experiment_name>/<subdirectory>/raw.bwvt/<prefix>.N.bwvt

where <experiment_name>, <subdirectory> can be whatever you like; <prefix> 
should start with 'P'.

All files that should be clustered together should be in the same directory. 
Spikemonger will assume that consecutively numbered files are from 
neighbouring sites.

For example, for a bilateral recording, you want:

F1002/P02.whitenoise.L/raw.f32/P02.whitenoise.1.f32
F1002/P02.whitenoise.L/raw.f32/P02.whitenoise.2.f32
...
F1002/P02.whitenoise.R/raw.f32/P02.whitenoise.17.f32
F1002/P02.whitenoise.R/raw.f32/P02.whitenoise.18.f32
...


= Running spikemonger

There are two stages: automated clustering, and manual cluster cutting. 
Normally, you will want to set the automated clustering running overnight on
all your data, and then return when it is done to cluster cut all the data.

* Automated clustering:

-- spikemonger_batch
-- edit the root_dir line at the start, then run spikemonger_batch

If you want to merge several different recordings together, follow these steps:

## for each recording directory $SOURCE_i, run spikemonger($SOURCE_i, 'pre-merge')
## make a new root directory for merging, $MERGEDIR
## create the directory $MERGEDIR/sweeps
## either copy/move/symlink the sweep subdirectories from each $SOURCE_i/sweeps 
into $MERGEDIR/sweeps
## run spikemonger($MERGEDIR, 'post-merge')

* Cluster cutting:

-- cluster_ui
platform

spikemonger's People

Contributors

rabbitmcrabbit avatar ben-willmore avatar

Stargazers

Matt Buchan avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.