Code Monkey home page Code Monkey logo

Comments (3)

kthcwd avatar kthcwd commented on August 30, 2024

I looked through all the traces and discovered that the indexing was a constant value off - this constant corresponded to the length of the variable dat.stat0. So in order to find the spikes for a given ca2+ trace (dat.F.Fcell{dat.cl.iscell}) I subtracted this constant from the iscell values. See below for same traces with corrected indexing (ignore the scaling in these figures):
image

from suite2p.

marius10p avatar marius10p commented on August 30, 2024

Hi,

Sorry for never getting back to this, it slipped under my radar somehow. We have made several big updates to make the whole pipeline more robust, including the spike deconvolution code. You will now find the result in stat(j).c and stat(j).st for each cell. I would be curious if you still get this strange issue.

Best,
Marius

from suite2p.

marius10p avatar marius10p commented on August 30, 2024

Oh, I understand the problem now. Indeed, the spikes were only computed for ROIs tentatively identified as possible cells. This excluded exactly the first Nk ROIs, which was the length of stat0.

The pipeline has been reworked to only ever output tentative cells. So the indexing issue should no longer occur.

from suite2p.

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.