OpenMS
2.7.0
|
A convenience class for the IsoSpec algorithm - easier to use than the IsoSpecGeneratorWrapper classes. More...
#include <OpenMS/CHEMISTRY/ISOTOPEDISTRIBUTION/IsoSpecWrapper.h>
Public Member Functions | |
virtual IsotopeDistribution | run ()=0 |
Run the algorithm. More... | |
virtual | ~IsoSpecWrapper () |
A convenience class for the IsoSpec algorithm - easier to use than the IsoSpecGeneratorWrapper classes.
|
inlinevirtual |
|
pure virtual |
Run the algorithm.
This method will run the algorithm with parameters as set up by the constructor. It will return an IsotopeDistribution containing the observed configurations. The configurations are explicitly stored in memory, which may become a problem when considering some especially large distributions. If this, or (a rather small) performance overhead is a concern, then the generator methods (see IsoSpecGeneratorWrapper) should be used instead.
This method is provided for convenience. As calling that method invalidates the object (the method should not be called again, nor anything other than destroying the object should be done with it), the most common usage pattern of IsoSpecGeneratorWrapper classes with the run method is:
Implemented in IsoSpecThresholdWrapper, and IsoSpecTotalProbWrapper.