Coder Social home page Coder Social logo

Comments (4)

Julie-Fabre avatar Julie-Fabre commented on July 18, 2024

Hi Simon,
Thank you for question and I am glad you're enjoying bombcell!

Bombcell stores the unit ID for each unit in qMetric.clusterID, this corresponds to the kilosort/phy label + 1 (the +1 makes it 1-indexed, and easier to use in MATLAB). I've just pushed a change so it's clearer by adding a field qMetric.phy_clusterID that directly gives you the kilosort/phy label.
The value in qMetric.clusterID value does not necessarily correspond to the row in the qMetric structure the unit is in (ie for unit say 5, it might be in row 3 for instance), because kilosort drops units in the last stages of the algorithm but does not rename them, leading to some empty units.

I pushed changes yesterday to make this clearer. There's now a little blurb and example at the end of bc_qualityMetrics_pipeline, and the GUI now displays all three values: the clusterID, the phy clusterID and the row the unit is in (see image below for what it should look like now)
image

from bombcell.

Julie-Fabre avatar Julie-Fabre commented on July 18, 2024

To answer you question about spikes, spike times per unit are extracted with the function bc_loadEphysData. If you use the bc_qualityMetrics_pipeline script, they will be stored in spikeTimes_samples. To get them into seconds, divide spikeTimes_samples by your ephys sampling rate (usually 30000 samples/second).

from bombcell.

simon37robledo avatar simon37robledo commented on July 18, 2024

Thanks for the answers! It is clear now.

from bombcell.

Julie-Fabre avatar Julie-Fabre commented on July 18, 2024

Great! Closing the issue now. Don't hesitate to open it back up or create a new one if you have any other questions or issues.

from bombcell.

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.