Comments (1)
Hi Sungmin,
I have recorded some ephys data using a neuropixel 1.0 probe for multiple days.
To keep same cell for days, we merged all data into one big file and run kilosort.
When I had a look for bc_qualityMetrics_pipeline.m, in line 20, I need to set the path for .oebin meta file.
However, unfortunately, as the data is merged, I feel like I need to make another .oebin file for merged data set
Do you have any idea or way to make a .oebin file for multiple recordings? or this program can only run in single data recording.
The meta file (in your case oebin) is only used to extract the gain_to_uV scaling factor, which is used to turn the raw mean waveforms bombcell extracts into units of microVolts. You can specify any of the oebin files for this (or create a separate one if you prefer - it needs to contain the value "bit_volts": xxx
. Usually it is "bit_volts": 0.19499999284744263
.
Another question is that sometimes we cut some bad channels from recorded data.
In this case, do I need to change some setting?
If you remove bad channels from your raw data, you will need to update the value param.nChannels
. If it is just in the output of your spike sorter, you can simply use the inputs in bombcell with the bad channels removed. Make sure in the function [qMetric, unitType] = bc_runAllQualityMetrics(param, spikeTimes_samples, spikeTemplates, ... templateWaveforms, templateAmplitudes, pcFeatures, pcFeatureIdx, channelPositions, savePath)
that size(templateWaveforms,3) == size(channelPositions,1).
P.S. If you are trying to track cells over days, you might also be interested in unitMatch preprint here, code here. It uses waveform features of units to match them across days, with no need to stitch any recordings together.
Best wishes,
Julie
from bombcell.
Related Issues (20)
- 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
- Error in bc_waveformShape HOT 11
- 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.