Gradient#
- class pyopenms.Gradient#
Bases:
object
Cython implementation of _Gradient
Original C++ documentation is available here
- __init__()#
Overload:
- __init__(self) None
Representation of a HPLC gradient
Overload:
- __init__(self, in_0: Gradient) None
Methods
Overload:
addEluent
(self, eluent)Adds an eluent at the end of the eluent array
addTimepoint
(self, timepoint)Adds a timepoint at the end of the timepoint array
clearEluents
(self)Removes all eluents
clearPercentages
(self)Sets all percentage values to 0
clearTimepoints
(self)Removes all timepoints
getEluents
(self)Returns a reference to the list of eluents
getPercentage
(self, eluent, timepoint)Returns a const reference to the percentages
getTimepoints
(self)Returns a reference to the list of timepoints
isValid
(self)Checks if the percentages of all timepoints add up to 100%
setPercentage
(self, eluent, timepoint, ...)Sets the percentage of 'eluent' at 'timepoint'
- addTimepoint(self, timepoint: int) None #
Adds a timepoint at the end of the timepoint array
- clearEluents(self) None #
Removes all eluents
- clearPercentages(self) None #
Sets all percentage values to 0
- clearTimepoints(self) None #
Removes all timepoints
- getEluents(self) List[bytes] #
Returns a reference to the list of eluents
- getPercentage(self, eluent: bytes | str | String, timepoint: int) int #
Returns a const reference to the percentages
- getTimepoints(self) List[int] #
Returns a reference to the list of timepoints
- isValid(self) bool #
Checks if the percentages of all timepoints add up to 100%