Comments (11)
Sweet! This ran smoothly on the dataset I could not run onto before. Thank you very much. Very appreciated! I'm going to close the issue
from bombcell.
Hi Valerio, thanks a lot for your message! It sounds like most likely no peak or no trough is detected in this waveform for some reason. Would you be able to send me the waveform for this unit so I can take a look? You can send me the templates.npy
file and the unit number.
Cheers
Julie
from bombcell.
You can find it here:
https://drive.google.com/file/d/1n5cWXJink2VgVOgmDDrnzBdHboYs8Rye/view?usp=sharing
It's unit ('iUnit') 357 (Matlab indexing)
Thank you
from bombcell.
Great thank you!
Sorry I just realized - I also need the spike_templates.npy
file. Would you be able to send it over?
from bombcell.
Hi Julie, don't worry and thank you for your help.
https://drive.google.com/drive/folders/12VnfWSyFBPD6FFCn6quv-wI5B3AhaPtF?usp=sharing
from bombcell.
Wonderful, thank you! Could you also tell me which Kilosort version you re using?
I reproduced the error you got and it is due to the template waveform for unit # 357 being all NaNs. This error is probably related to a previously signalled error, where some versions of Kilosort (2.5) can output templateWaveforms that are all NaNs. I still don't understand why this is the case, but, considering the waveforms are NaNs, I believe these units should be skipped and automatically classified as noise by bombcell.
I had previously created a branch to deal with scenario. Since it is now reproduced and affects more than one person, I will integrate these changes in the main branch later today.
from bombcell.
Amazing! Thank you :):)
Yes, you're right, I'm using Kilosort 2.5.
Thank you for the link to the other issue. I'm going to further hunt it down from the kilosort side but in the meantime, I really appreciate you dealing with it.
Super efficient. Thanks again!
from bombcell.
I've now updated bombcell to handle this situation in the main branch (pull request #61 ). Let me know if there are any issues.
As a sanity check, could you tell me, when you look at this unit in phy (it should be unit #359) does any waveform show up?
from bombcell.
Thank you for updating the code! I'll try it right now
from bombcell.
I get the following error:
Unable to perform assignment because the left and right sides have a different number of elements.
Error in bc_computeAllEphysProperties (line 56)
[ephysProperties.waveformDuration_peakTrough_us(iUnit), ephysProperties.halfWidth_ms(iUnit), ...
Error in bc_ephysPropertiesPipeline (line 11)
ephysProperties = bc_computeAllEphysProperties(spikeTimes_samples, spikeTemplates, templateWaveforms,...
Error in Pipeline_code (line 111)
[ephysProperties, unitClassif] = bc_ephysPropertiesPipeline(ephysKilosortPath, savePath, rerunEP, region);
It happens on the incriminated iUnit :'(
from bombcell.
Sorry I missed this message.
Good point, I hadn't updated the ephysProperties to deal with these NaN waveforms. It should be good now! Let me know if there are any issues.
from bombcell.
Related Issues (20)
- how to make a .oebin file for multiple day recordings and after cutting bad channels HOT 1
- classification in somatic and non-somatic units HOT 3
- bug report HOT 2
- issue with computation of timeChunks HOT 1
- classification of MUA HOT 1
- error with bc_loadMetricsForGUI HOT 7
- mismatch between qcMetrics rows and number of units
- tauC value HOT 3
- Bug Report HOT 2
- fontname in prettify_plot.m requires one more input HOT 1
- bc_classifyCells needs `region` as third input argument HOT 1
- max drift.tsv has NaN values HOT 3
- Depth relative to probe tip? HOT 1
- Error in plotting quality metrics of data sorted with kilosort4 HOT 4
- Issue extracting quality metrics for data spike sorted using Kilosort4 HOT 3
- fontname function introduced after R2022b HOT 3
- Discrepancy between ContamPct and frac_RPVs HOT 7
- Question with bc_getDistanceMetrics HOT 4
- Maximum waveform channel different between templates and the average extracted waveform. HOT 1
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 bombcell.