sanjayss34 / auditory-spikes Goto Github PK
View Code? Open in Web Editor NEWA study of spiking in a network of neurons in the auditory cortex of a monkey.
A study of spiking in a network of neurons in the auditory cortex of a monkey.
tl;dr, Run spike_train_generator(trial_length, bin_length), with the 2 appropriate inputs. --- SPIKE TRAIN GENERATION --- Let us say you have recordings over T trials for N neurons and S stimuli. spike_train_generator.m calls the following 4 functions: spike_train_processing.m trims the firing data and creates spike trains by taking 2 inputs: trial_length and bin_length. It eliminates data after the trial has ended, i.e. time > trial_length. It then creates spike trains by binning with bin size = bin_length. concatenate_trains.m concatenates these spike trains for every (neuron, stimulus). Thus, it returns an NxS array of spike trains, which is saved in 'sorted_trains.mat' create_neuron_trains.m further concatenates the spike trains in 'sorted_trains.mat' according to neuron, irrespective of the stimulus. Thus, it returns an Nx1 array of spike trains of neurons over all trials, which can be used for stimulus-independent Ising models and is saved in 'neuron_trains.mat' intensity_trains.m further concatenates the spike trains in 'sorted_trains.mat' according to stimulus. It returns S distinct arrays, one for each stimulus. These can be used for stimulus-dependent Ising models. Each array is size Nx1 and is saved in a file named 'TNRx_trains.mat', where x is an integer representing the stimulus. ___________________________________________________________________ --- ISING MODEL ESTIMATION --- After creating the 'neuron_trains.mat' file as steps above, run [h, J, train_indices] = estimate_ising(ITERS) to generate the Ising model parameters h and J along with the indices of the data used to train the model. Here, ITERS is the desired number of learning iterations. (1000 is a reasonable number to start)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.