Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
core
Commits
0fe654b3
Verified
Commit
0fe654b3
authored
Nov 25, 2021
by
Tobias WEBER
Browse files
bugfix
parent
5dfaa7d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/misc/tof.cpp
View file @
0fe654b3
...
...
@@ -86,7 +86,11 @@ bool convert_tof(const fs::path& tof_file, const fs::path& out_file)
t_data
cnt
=
data
[
y
*
PSD_WIDTH
+
x
];
*
(
row
+
x
)
=
cnt
;
*
(
total_row
+
x
)
=
*
(
total_row
+
x
)
+
cnt
;
if
(
t
==
0
)
*
(
total_row
+
x
)
=
cnt
;
else
*
(
total_row
+
x
)
=
*
(
total_row
+
x
)
+
cnt
;
counts
+=
cnt
;
//std::cout << std::hex << cnt << " ";
...
...
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