SelectorParameters#

class pyopenms.SelectorParameters(*args, **kwargs)#

Bases: object

Structure to configure MRMFeatureSelector parameters Attributes: - nn_threshold: Number of nearest neighbors to include in optimization (default: 4) - locality_weight: Weight compounds by retention time proximity (default: False) - select_transition_group: Use component groups instead of components (default: True) - segment_window_length: Number of components in the sliding window (default: 8) - segment_step_length: Step size for sliding window (default: 4) - optimal_threshold: Cutoff for selection, 0 < x < 1 (default: 0.5) Example: .. code-block:: python from pyopenms import * params = SelectorParameters() params.nn_threshold = 6 params.optimal_threshold = 0.7 params.select_transition_group = False

__init__(self) → None#
__init__(self, arg: pyopenms._pyopenms_analysis.SelectorParameters, /) → None

Attributes

locality_weight

(self) -> bool

nn_threshold

(self) -> int

optimal_threshold

(self) -> float

segment_step_length

(self) -> int

segment_window_length

(self) -> int

select_transition_group

(self) -> bool

property locality_weight#

(self) -> bool

property nn_threshold#

(self) -> int

property optimal_threshold#

(self) -> float

property segment_step_length#

(self) -> int

property segment_window_length#

(self) -> int

property select_transition_group#

(self) -> bool