fable.python
Class Peak
java.lang.Object
fable.python.Peak
- All Implemented Interfaces:
- java.lang.Comparable<java.lang.Object>, java.util.EventListener, org.eclipse.jface.util.IPropertyChangeListener
public class Peak
- extends java.lang.Object
- implements java.lang.Comparable<java.lang.Object>, org.eclipse.jface.util.IPropertyChangeListener
- Author:
- G. Suchet fable.peaksearch 9 janv. 08
This class describes a peak as found in an outputFile from peaksearch
f(fast-->x) and s (slow -->y) are the position of the centre of mass
of the peak in the uncorrected image (first moments of the intensity
distributions in the blobs is the mean) fc and sc are the x and y
positions corrected for spatial distortion. sig_f and sig_s are the
second moments of the intensity distribution in the blob. Something
like the width, but off by some factor of twopi perhaps cov_fs is the
covariance (the third one of the second moments). It ranges between
-1 and 1 with a value of 0 for a circular peak and +1 and -1 refering
to elliptical shapes rotated by 90 degrees from each other.
Constructor Summary |
Peak(java.lang.String[] keys,
java.lang.String values)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Peak
public Peak(java.lang.String[] keys,
java.lang.String values)
- Parameters:
id
- number_of_pixels
- average_counts
- f
- s
- fc
- sc
- sig_f
- sig_s
- cov_fs
-
setParent
public void setParent(PeakSearchSpt father)
show
public void show(boolean b)
isVisible
public boolean isVisible()
getF
public java.lang.String getF()
getS
public java.lang.String getS()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getValues
public java.lang.String[] getValues()
getValue
public java.lang.String getValue(java.lang.String k)
compareTo
public int compareTo(java.lang.String key,
java.lang.Object other)
compareTo
public int compareTo(java.lang.Object other)
- Specified by:
compareTo
in interface java.lang.Comparable<java.lang.Object>
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Specified by:
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
getParent
public PeakSearchSpt getParent()
- This method returns the PeakSearchSpt which belongs thi peak
- Returns: