Comments (7)
It's great that you did this! Let's continue the conversation in your repo.
from suite2p.
@syncrostone regarding what parameters to use for a relatively short recording, the following should all be scaled down by the same factor
ops0.Nk0 = 1300; % initial number of clusters
ops0.Nk = 650; % final number of clusters
ops0.nSVDforROI = 1000; % number of SVDs kept for ROI detection
We use these settings for recordings with 100 to 500 cells. I would decide the exact factor (1/2, maybe 1/4?) based on the training data. You can load the Suite2P result file in the GUI to check if cells have been over/under segmented. I could take a look at some of the training datasets.
It's also important to approximately set the expected cell diameter for each FOV. It tolerates a factor of 2 mismatch, but not much more than that
clustrules.diameter = 10; % expected diameter of cells (used for 0.25 * pi/4_diam^2 < npixels < 10_pi/4*diam^2)
from suite2p.
@marius10p I was plotting the data, and the cells looked right sized and not over/under segmented. There are approximately 300 cells in each ground truth set, so I don't think we need to change those factors? Does that sound right?
Or should we change them because the dataset is shorter? I'll post a screenshot from one of the datasets once we have the new data on the website.
from suite2p.
I have run neurofinder data in the past with Suite2P and I remember over-segmentation problems at the default settings. I think it would have at least been a problem with the old 1-2 minute datasets. Not sure how you are plotting the data, but it was immediately obvious in the suite2P GUI that relatively few cells were active and detected by the algorithm (of the ~300 in the ground truth), and I saw over-segmentation.
from suite2p.
Oh! I dealt with that by thresholding by standard deviation of each neuron after the fact and eliminating empty neurons. Changing those numbers will fix and eliminate the need to threshold?
from suite2p.
Thresholding on the variance has never worked well for me. I think it has to do with non-homogeneous variance over the field of view, and more importantly neuropil contamination. I would try a smaller number of clusters on this kind of data, and then still applying a (low) threshold, because many ROIs are neuropil.
from suite2p.
I think it's best if I make my own submission to the challenge, once I add to Suite2P the features which the challenge requires, like pixel trimming. Thanks @syncrostone for making the initial submission, I appreciate it!
from suite2p.
Related Issues (20)
- 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
- Optimal tau value for GCaMP8m HOT 1
- Save motion corrected tiffs
- Suite2p on mac
- Neuropil fluorescence calculation
- xy shift of reference image
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.