Commit 31cfd7d1 authored by legoc's avatar legoc
Browse files

Comment in D2B Calibration

parent a9e84f90
......@@ -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));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment