Gradient#
- class pyopenms.Gradient#
Bases:
objectCython implementation of _Gradient
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1Gradient.html
- __init__()#
Cython signature: void Gradient() Representation of a HPLC gradient
Cython signature: void Gradient(Gradient &)
Methods
Cython signature: void Gradient()
Cython signature: void addEluent(String eluent) Adds an eluent at the end of the eluent array
Cython signature: void addTimepoint(int timepoint) Adds a timepoint at the end of the timepoint array
Cython signature: void clearEluents() Removes all eluents
Cython signature: void clearPercentages() Sets all percentage values to 0
Cython signature: void clearTimepoints() Removes all timepoints
Cython signature: libcpp_vector[String] getEluents() Returns a reference to the list of eluents
Cython signature: unsigned int getPercentage(String eluent, int timepoint) Returns a const reference to the percentages
Cython signature: libcpp_vector[int] getTimepoints() Returns a reference to the list of timepoints
Cython signature: bool isValid() Checks if the percentages of all timepoints add up to 100%
Cython signature: void setPercentage(String eluent, int timepoint, unsigned int percentage) Sets the percentage of 'eluent' at 'timepoint'
- addEluent()#
Cython signature: void addEluent(String eluent) Adds an eluent at the end of the eluent array
- addTimepoint()#
Cython signature: void addTimepoint(int timepoint) Adds a timepoint at the end of the timepoint array
- clearEluents()#
Cython signature: void clearEluents() Removes all eluents
- clearPercentages()#
Cython signature: void clearPercentages() Sets all percentage values to 0
- clearTimepoints()#
Cython signature: void clearTimepoints() Removes all timepoints
- getEluents()#
Cython signature: libcpp_vector[String] getEluents() Returns a reference to the list of eluents
- getPercentage()#
Cython signature: unsigned int getPercentage(String eluent, int timepoint) Returns a const reference to the percentages
- getTimepoints()#
Cython signature: libcpp_vector[int] getTimepoints() Returns a reference to the list of timepoints
- isValid()#
Cython signature: bool isValid() Checks if the percentages of all timepoints add up to 100%
- setPercentage()#
Cython signature: void setPercentage(String eluent, int timepoint, unsigned int percentage) Sets the percentage of ‘eluent’ at ‘timepoint’