Skip to content
Snippets Groups Projects
Commit 7c0355b3 authored by Jakob Voigts's avatar Jakob Voigts
Browse files

fixed scale factor for recordnode

works ok with RHD data
parent 8da778ad
No related branches found
No related tags found
No related merge requests found
Microsoft Visual Studio Solution File, Format Version 11.00
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{5A05F353-1D63-394C-DFB0-981BB2309002}") = "open-ephys", "open-ephys.vcxproj", "{9C924D66-7DEC-1AEF-B375-DB8666BFB909}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "open-ephys", "open-ephys.vcxproj", "{9C924D66-7DEC-1AEF-B375-DB8666BFB909}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......
......@@ -516,7 +516,7 @@ void RecordNode::writeContinuousBuffer(float* data, int nSamples, int channel)
// range; actually need to take into account the gain of each channel
for (int n = 0; n < nSamples; n++)
{
*(continuousDataFloatBuffer+n) = *(data+n) / scaleFactor; // 10000.0f;
*(continuousDataFloatBuffer+n) = *(data+n) / 10000.0f; // / scaleFactor;
}
// find file and write samples to disk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment