The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings MassChroQ
Summary Activity Forums Tracker Tasks Docs Surveys News SCM Files

[#8168] rtime_max in xicpeak is never assigned a proper value when peaks intensity is 0

Date:
2012-02-14 13:46
Priority:
5
State:
Open
Submitted by:
Edlira Nano (enano)
Assigned to:
Nobody (None)
Hardware:
All
Product:
none
Operating System:
All
Component:
none
Version:
none
Severity:
major
Resolution:
Fixed
URL:
Summary:
rtime_max in xicpeak is never assigned a proper value when peaks intensity is 0

Detailed description
In xicPeak class, in the add_measure(rtime, intensity) method :
if (intensity > _max_intensity)
{
_max_intensity = intensity;
_rtime_max = rtime;
}
When the intensity is at 0 (which happens because we can have a smoothed intensity > 0 corresponding to a real intensity of 0 in a detected peak), _rtime_max is never assigned the right value, but stays at initialized (at 0).


No comments have been posted

No related tasks

No attached documents

No changes have been made to this item