public class GridMassMethod extends Object implements MSDKMethod<FeatureTable>
GridMassMethod class.
| Constructor and Description |
|---|
GridMassMethod(RawDataFile rawDataFile,
List<MsScan> scans,
MzTolerance mzTol,
Double intensitySimilarity,
Double minimumTimeSpan,
Double maximumTimeSpan,
Double smoothTimeSpan,
Double smoothTimeMZ,
Double smoothMZ,
Double additionTimeMaxPeaksPerScan,
Double minimumHeight,
Double rtPerScan)
Constructor for GridMassMethod.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel a running algorithm.
|
FeatureTable |
execute()
Performs the algorithm.
|
Float |
getFinishedPercentage()
Returns a number in the interval 0 to 1.0, representing the portion of the task that has
completed, or null if the algorithm has not yet started.
|
FeatureTable |
getResult()
Returns the result of this algorithm, or null.
|
public GridMassMethod(@Nonnull RawDataFile rawDataFile, @Nonnull List<MsScan> scans, @Nonnull MzTolerance mzTol, @Nonnull Double intensitySimilarity, @Nonnull Double minimumTimeSpan, @Nonnull Double maximumTimeSpan, @Nonnull Double smoothTimeSpan, @Nonnull Double smoothTimeMZ, @Nonnull Double smoothMZ, @Nonnull Double additionTimeMaxPeaksPerScan, @Nonnull Double minimumHeight, @Nonnull Double rtPerScan)
Constructor for GridMassMethod.
rawDataFile - a RawDataFile object.scans - a List object.mzTol - a MzTolerance object.intensitySimilarity - a Double object.minimumTimeSpan - a Double object.maximumTimeSpan - a Double object.smoothTimeSpan - a Double object.smoothTimeMZ - a Double object.smoothMZ - a Double object.additionTimeMaxPeaksPerScan - a Double object.minimumHeight - a Double object.rtPerScan - a Double object.public FeatureTable execute() throws MSDKException
execute in interface MSDKMethod<FeatureTable>MSDKException - On any error@Nullable public Float getFinishedPercentage()
getFinishedPercentage in interface MSDKMethod<FeatureTable>@Nullable public FeatureTable getResult()
getResult in interface MSDKMethod<FeatureTable>public void cancel()
cancel in interface MSDKMethod<FeatureTable>Copyright © 2019. All rights reserved.