-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract waveform #1285
Comments
n_samples are time. Recording equipment doesn't use seconds (typically) instead it uses a counter of rising ints. The conversion between time and sample is so the idea of the matrix is: you have a series of spikes and each spike is defined as electrical activity over time (n_samples) and over space (you need a waveform for each channel that you're interested in). Does that make sense? |
Yes, it make sense! I need to create a .txt file with the milivolts points of each spike in time_spike files. I need to create a .txt file with the data in millivolts that make up each spike detected in the spike_times file. That is, if the first spike detected is at time 1, I need to know the mv that make up that spike. I'm not quite sure what files I need to get this information. |
Your code above looks to do it. This really depends on what you want to do. Again I have a preference for doing this specific type of work in spikeinterface because it gives you more filtering options and scaling options. In this case you read the data, but you're not necessarily in volts (mV or uV) so you can get the shape but maybe not the correct units. |
Thank you very much for your help! now I have it all clear! :) |
Hello!!! I'm triyng to extract waveform information in my analysis and I'm using this code from the doc:
But I'm not sure about the shape, I understand what n_pikes is but the n_samples and n_channels_loc I don't quite understand what they are.
The text was updated successfully, but these errors were encountered: