Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadModules
Commits
31cfd7d1
Commit
31cfd7d1
authored
Dec 06, 2022
by
legoc
Browse files
Comment in D2B Calibration
parent
a9e84f90
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/controllers/dif/d2b/Calibration.cpp
View file @
31cfd7d1
...
...
@@ -240,6 +240,7 @@ void Calibration::calibrateTube(int32_t* tubeinPtr, int32_t* tubeoutPtr, int nbi
}
// Recopy and convert double to integer.
//tubeout = np.floor(tubeout + 0.5)
for
(
int
i
=
0
;
i
<
nbins
;
++
i
)
{
tubeoutPtr
[
i
]
=
static_cast
<
int32_t
>
(
floor
(
tubeout
[
i
]
+
0.5
));
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment