Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin-GUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yehaojie
plugin-GUI
Commits
7c0355b3
Commit
7c0355b3
authored
11 years ago
by
Jakob Voigts
Browse files
Options
Downloads
Patches
Plain Diff
fixed scale factor for recordnode
works ok with RHD data
parent
8da778ad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Builds/VisualStudio2012/open-ephys.sln
+2
-2
2 additions, 2 deletions
Builds/VisualStudio2012/open-ephys.sln
Source/Processors/RecordNode.cpp
+1
-1
1 addition, 1 deletion
Source/Processors/RecordNode.cpp
with
3 additions
and
3 deletions
Builds/VisualStudio2012/open-ephys.sln
+
2
−
2
View file @
7c0355b3
Microsoft Visual Studio Solution File, Format Version 1
1
.00
Microsoft Visual Studio Solution File, Format Version 1
2
.00
# Visual Studio 2012
Project("{
5A05F353-1D63-394C-DFB0-981BB230900
2}") = "open-ephys", "open-ephys.vcxproj", "{9C924D66-7DEC-1AEF-B375-DB8666BFB909}"
Project("{
8BC9CEB8-8B4A-11D0-8D11-00A0C91BC94
2}") = "open-ephys", "open-ephys.vcxproj", "{9C924D66-7DEC-1AEF-B375-DB8666BFB909}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
...
...
This diff is collapsed.
Click to expand it.
Source/Processors/RecordNode.cpp
+
1
−
1
View file @
7c0355b3
...
...
@@ -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.0
f
;
// / scaleFactor
;
}
// find file and write samples to disk
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment