Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NeuRad_tests
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vratislav Chudoba
NeuRad_tests
Commits
e3cb29b2
Commit
e3cb29b2
authored
Jan 10, 2017
by
Muzalevsky I.A
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script for converting raw data into root file modified
parent
85a2dca8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
read1.cpp
convertTektronix/read1.cpp
+3
-2
No files found.
convertTektronix/read1.cpp
View file @
e3cb29b2
...
...
@@ -83,12 +83,13 @@ void read1() {
line4
.
ReadLine
(
myfile4
);
if
(
line1
.
IsNull
()
)
break
;
time
=
5e-04
+
(
j
-
1000
*
n
)
*
1e-01
;
sscanf
(
line1
.
Data
(),
"%lf"
,
&
amp1
);
sscanf
(
line2
.
Data
(),
"%lf"
,
&
amp2
);
sscanf
(
line3
.
Data
(),
"%lf"
,
&
amp3
);
sscanf
(
line4
.
Data
(),
"%lf"
,
&
amp4
);
n
=
j
/
1000
;
time
=
5e-04
+
(
j
-
1000
*
n
)
*
1e-01
;
A1
[
j
-
1000
*
n
]
=
amp1
;
A2
[
j
-
1000
*
n
]
=
amp2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment