Code Monkey home page Code Monkey logo

distributed-coding-matnwb's Introduction

distributed-coding-matnwb

Converting the “Distributed coding” dataset (Distributed coding of choice, action and engagement across the mouse brain) to NWB format using MatNWB conversion capabilities.

  • Convert Neuropixel electrophysiology data. Aim to build a function that can be applied generally to Neuropixel datasets that have a similar form.
  • Develop custom experiment-specific conversion code for behavioral data such as wheel position and lick times, and visual stimulation times.

INCF/Mathworks for Neuroscience summer project.

Resources:

distributed-coding-matnwb's People

Contributors

bendichter avatar cechava avatar codycbakerphd avatar malinincf avatar vigneswaran-chandrasekaran avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

distributed-coding-matnwb's Issues

psth function doesn't work with published DANDIset

using Steinmetz et al., 2019 DANDIset

The snippet below reproduces the error

DANDIset_folder = '~/DANDIsets/000017/';
filepath = [DANDIset_folder 'sub-Moniz/sub-Moniz_ses-20170515T120000.nwb'];
% read in file
nwb_file = nwbRead(filepath);

psth(...
   nwb_file, ...
   unit_id = 5, ...
   group_by = 'visual_stimulus_left_contrast', ...
   before_time = -1, ...
   after_time = 1, ...
   n_bins = 50, ...
   psth_plot_option = 'gaussian', ...
   std = 0.03);

Error using cat
Dimensions of arrays being concatenated are not consistent.

Error in cell2mat (line 75)
            m{n} = cat(2,c{n,:});

Error in psth (line 162)
        group_spike_times = cell2mat(groupby_spike_times{u});

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.