Commit 49637149 authored by d22's avatar d22
Browse files

change log function in CountWithSpectro

parent f06ccf20
......@@ -396,7 +396,7 @@ void CountWithSpectro::saveSpectroDataInShiftedMode() {
float64* intensity0 = spectro->y0Data();
for (int32 j = 0; j < totalSize; j++) {
absorptionData[j] = ::log(((intensity0[j]) / m_yDataArrayToSave[j]));
absorptionData[j] = ::log10(((intensity0[j]) / m_yDataArrayToSave[j]));
}
yDataArrayInAbsorbance.update(absorptionData);
yDataArrayInAbsorbance.setSize(totalSize);
......
Markdown is supported
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