Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to get the amplitude of spike

Go down

How to get the amplitude of spike Empty How to get the amplitude of spike

Post  mcs Thu Jun 12, 2008 10:38 am

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

Back to top Go down

How to get the amplitude of spike Empty Re: How to get the amplitude of spike

Post  mcs Thu Jun 12, 2008 10:38 am

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

Back to top Go down

Back to top

- Similar topics

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