How to get the amplitude of spike

View previous topic View next topic Go down

How to get the amplitude of spike

Post  mcs on Wed Jun 11, 2008 9:38 pm

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 .

mcs

Posts : 518
Join date : 2008-06-10

View user profile

Back to top Go down

Re: How to get the amplitude of spike

Post  mcs on Wed Jun 11, 2008 9:38 pm

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

mcs

Posts : 518
Join date : 2008-06-10

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum