Skip to content
Nabarb edited this page Sep 5, 2024 · 2 revisions

Welcome to the NeuralEmbedding wiki!

NeuralEmbedding is a MATLAB library designed to provide a set of tools for analyzing neural dynamics. This library includes various dimensionality reduction techniques tailored for spiking neural data, along with useful metrics to evaluate the quality of the generated embeddings as well as plotting methods to visualize data.

The toolbox is mainly divided in four modules (each with a dedicated wiki page):

Installation

To use NeuralEmbedding, clone the repository and add it to your MATLAB path:

repositoryURL("https://github.com/yourusername/NeuralEmbedding.git",folder)
addpath(fullfile(folder,"NeuralEmbedding"));

Usage

Here’s a simple example of how to use the library to perform dimensionality reduction on spiking neural data. For details on input data formats, the available dimensionality reduction methods, and evaluation metrics, please refer to the wiki.

% Load your neural data
load('neural_data.mat');

NE = NeuralEmbedding(data,...
  "fs",fs,...
  "time",T,...
  "area",A,...
  "condition",C,);

% Apply a dimensionality reduction technique
NE.findEmbedding("PCA");

% Evaluates trajectory length
NE.computeMetrics("arc");
Clone this wiki locally