Commit d5b5c45d authored by Langella Olivier's avatar Langella Olivier
Browse files

simple retention time range

parent bc805d91
......@@ -620,10 +620,8 @@ pappso::XicSp Msrun::extractXicSp(const pappso::MassRange & mass_range) {
pappso::XicSp Msrun::extractXicSp(const pappso::MassRange & mass_range, pappso::pappso_double retention_time_target) {
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " " << McqSession::getInstance().getSessionTmpDirName();
pappso::pappso_double range = McqSession::getInstance().getRetentionTimeRange();
pappso::pappso_double rt_begin = retention_time_target - range;
if (rt_begin < 0) rt_begin = 0;
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " begin=" << rt_begin;
return _msrun_xic_extractor_sp.get()->getXicSp(mass_range, rt_begin, retention_time_target+range);
return _msrun_xic_extractor_sp.get()->getXicSp(mass_range, retention_time_target-range, retention_time_target+range);
}
......
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