Giter Club home page Giter Club logo

Comments (4)

nsteinme avatar nsteinme commented on August 24, 2024

For RF maps suggest to bin spikes by depth to get multi-unit of all neurons in a certain depth bin (e.g. use 80 ยตm). Then plot map and response, like in this image. The way you do this is count spikes for the unit at each time offset (e.g. use 10 ms bin size in the window -0.05 to 0.2) around each stimulus flash, then average across all trials separately for each stimulus position. This gives you a matrix of average counts that is size nPositions x nTimeBins. Take the SVD of this matrix. Reshape the first spatial component to make a 2d matrix and plot it as an image (the map). Plot the first temporal component as the response over time.
image

from iblenv.

nsteinme avatar nsteinme commented on August 24, 2024

For auditory responses, just bin the spikes as before and plot the mean PSTH following auditory stimulus onset (I would consider goCue, noiseCue, and rewardValve - and use the passive time window for this). Plot this PSTH matrix as an image, like this
image

from iblenv.

nsteinme avatar nsteinme commented on August 24, 2024

Worth thinking about how to make the GUI extensible. E.g. providing RF map data should be its own thing and the user should just be required to provide a three-column matrix with columns X position, Y position, and time of flash. But for event PSTHs you could have a generic mode where they provide any number of vectors containing event times, e.g. with filenames like "event_gocue.npy" and it can plot them with a label of whatever's after "event_".

from iblenv.

GaelleChapuis avatar GaelleChapuis commented on August 24, 2024

Plots are now integrated in the GUI for sessions with PassiveCW data extracted.

from iblenv.

Related Issues (20)

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.