LowRank.PairedRange#

LowRank.PairedRange.py

This module contains the class PairedRange, which is used to store information about the valid elution ranges for the analysis report.

class PairedRange(range_, minor=False, peak_index=None, elm_recs=None)#

Bases: object

A class to represent a paired range. It contains a pair of ranges which correspond to the ascending and descending parts of the peak.

ranges#

A list of tuples representing the ranges. Each tuple contains two integers (start, end).

Type:

list of tuples

peak_index#

The index of the peak. It can be None if not specified.

Type:

int or None

elm_recs#

The elution records associated with the ranges. It can be None if not specified.

Type:

list or None

get_fromto_list()#

for backward compatibility to molass_legacy.AnalysisRangeInfo.PaoiredRange, returns a list of tuples

as_list(k)#

Returns a list of PeakInfo and RangeInfo objects.

is_minor()#

Returns True if the PairedRange is a minor peak (i.e., has only one range).

convert_to_list_pairedranges(pairedranges)#