|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--dwvisser.analysis.Multiplet
Field Summary |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
Multiplet()
Creates new Multiplet |
|
Multiplet(Peak p)
|
Method Summary | |
void |
addMultiplet(Multiplet madd)
|
void |
addPeak(Peak p)
|
double[] |
getAllCentroids()
|
Peak[] |
getAllPeaks()
|
double[] |
getCentroidErrors()
|
Peak |
getPeak(int index)
|
Peak |
getPeakNear(double centroid,
double tolerance)
Returns peak nearest given centroid if distance is less than the given tolerance. |
Multiplet |
lastPeaks(int n)
Returns a new multiplet containing only the last n peaks of this multiplet. |
int |
removeAreaGreaterThan(double max)
Removes all peaks with greater than the specified area. |
int |
removeAreaLessThan(double min)
Removes all peaks with less than the specified area. |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public Multiplet()
public Multiplet(Peak p)
Method Detail |
public Peak[] getAllPeaks()
public double[] getAllCentroids()
public double[] getCentroidErrors()
public void addMultiplet(Multiplet madd)
public int removeAreaLessThan(double min)
min
- minimum area to retain the peak
public int removeAreaGreaterThan(double max)
public Peak getPeakNear(double centroid, double tolerance)
public Multiplet lastPeaks(int n)
public void addPeak(Peak p)
public Peak getPeak(int index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |