Comments (3)
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):
from suite2p.
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.
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)
- Python executable pointing to python2 HOT 1
- NameError: name 'ndimage' is not defined
- Undefined function or variable 'Fbase'.
- "NameError: name 'shutil' is not defined, line 231 "shutil.copy(classorig, classfile)" in "roi_detect _and_extract(ops)
- Error in reg2p: array exceeds maximum array size preference
- running suite2p with GUI on GPUs HOT 1
- using "look_one_level_down" doesn't use "bad_frames.npy"
- Input to Suite2P
- Merging ROIs in suite2P matlab version HOT 1
- Interpreting Deconvolution Results HOT 4
- Enquiry regarding diameter of ROI HOT 1
- Cannot set up batch processing
- saving registered uint16 data
- GUI error
- deconvolution_standalone2 not standalone
- tau value for GCaMP8 HOT 2
- combine sbx files HOT 1
- contiguous scanning ROIs HOT 1
- multiplane_parallel in an HPC (Slum) HOT 1
- Transposing F matrix in spike deconvolution
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suite2p.