How to get the amplitude of spike
Page 1 of 1
How to get the amplitude of spike
I want to extract the amplitude of each spike from a *mcd data,of course , it should specify the channel.
using the MC_DataTool to open the the *.mcd data acquire the info like this :
File contains 1 data stream
*spike 1 with 51 channels
with the help of the MCStream.rtf document and the visualcpp program which are provided by the MCRack software, I write a c++ program on the basis of the visualcpp program.
In the MCStreamTestView.cpp(in visualcpp program), there is several lines of code like this :
//................................
int iADZero = mcsstream.GetADZero();
int iADData = mcsevent.GetADData(0);
float fVoltage = (iADData - iADZero) * fUnitsPerAD;
//................................
my question is : is fVoltage the amplitude of the spike?
if not,should I use the IMCSEvtParam class. there is some methods like GetAmplitude() ;and I want to know how to use it .
any help would be nice .
using the MC_DataTool to open the the *.mcd data acquire the info like this :
File contains 1 data stream
*spike 1 with 51 channels
with the help of the MCStream.rtf document and the visualcpp program which are provided by the MCRack software, I write a c++ program on the basis of the visualcpp program.
In the MCStreamTestView.cpp(in visualcpp program), there is several lines of code like this :
//................................
int iADZero = mcsstream.GetADZero();
int iADData = mcsevent.GetADData(0);
float fVoltage = (iADData - iADZero) * fUnitsPerAD;
//................................
my question is : is fVoltage the amplitude of the spike?
if not,should I use the IMCSEvtParam class. there is some methods like GetAmplitude() ;and I want to know how to use it .
any help would be nice .
mcs- Posts : 518
Join date : 2008-06-10
Re: How to get the amplitude of spike
Dear Weibull,
as we see from your posts, you are trying various approaches to extract the spike amplitude. As there are several ways to reach this and your request is not yet 100% clear to us, we would like to talk to you on the phone to find out what exactly your problem is and suggest ways how to solve it.
Please submit your contact details to our e-mail support@multichannelsystems.com
Greetings
Thomas
as we see from your posts, you are trying various approaches to extract the spike amplitude. As there are several ways to reach this and your request is not yet 100% clear to us, we would like to talk to you on the phone to find out what exactly your problem is and suggest ways how to solve it.
Please submit your contact details to our e-mail support@multichannelsystems.com
Greetings
Thomas
mcs- Posts : 518
Join date : 2008-06-10
Similar topics
» Minimum Current Amplitude
» Current Mode: Bipolar Stimulation configuration and Maximum Amplitude?
» Spike sorter
» Spike sorter
» retina spike in rabbit
» Current Mode: Bipolar Stimulation configuration and Maximum Amplitude?
» Spike sorter
» Spike sorter
» retina spike in rabbit
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum