|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.sdss.Line
public class Line
A data container to hold the emission line instances and hold a reference to the source star.
Field Summary | |
---|---|
double |
continuum
|
double |
equivalentWitdth
|
double |
equivalentWitdthErr
|
double |
height
|
static Comparator<Line> |
HEIGHT_COMPARATOR
Comparator based on line height. |
double |
heightErr
|
double |
index
|
double |
sigma
|
double |
sigmaErr
|
double |
significance
|
static Comparator<Line> |
STRENGTH_COMPARATOR
Comparator based on line strength. |
double |
wavelength
|
static Comparator<Line> |
WAVELENGTH_COMPARATOR
Comparator based on line wavelength. |
double |
wavelengthErr
|
static Comparator<Line> |
WIDTH_COMPARATOR
Comparator based on line width. |
Constructor Summary | |
---|---|
Line(Star aSource,
double aWavelength)
|
|
Line(Star aSource,
double aWavelength,
double aWavelengthErr,
double aSigma,
double aSigmaErr,
double aHeight,
double aHeightErr,
double anEquivalentWitdth,
double anEquivalentWitdthErr,
double aContinuum,
double anIndex,
double aSignificance)
|
Method Summary | |
---|---|
int |
compareTo(Line aLine)
default comparator is based on line wavelength |
static List<Line> |
getLines(Star aSource,
FitsTable table)
|
Star |
getSource()
|
double |
getStrength()
Get the emission strength as area under the fitted gaussian line profile |
double |
getWavelength()
Get the emission line wavelength as centroid of the fitted gaussian line profile |
static void |
showLines(FitsTable dm)
Show emission lines, for testing purposes only |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double wavelength
public double wavelengthErr
public double sigma
public double sigmaErr
public double height
public double heightErr
public double equivalentWitdth
public double equivalentWitdthErr
public double continuum
public double index
public double significance
public static final Comparator<Line> WAVELENGTH_COMPARATOR
public static final Comparator<Line> WIDTH_COMPARATOR
public static final Comparator<Line> STRENGTH_COMPARATOR
public static final Comparator<Line> HEIGHT_COMPARATOR
Constructor Detail |
---|
public Line(Star aSource, double aWavelength, double aWavelengthErr, double aSigma, double aSigmaErr, double aHeight, double aHeightErr, double anEquivalentWitdth, double anEquivalentWitdthErr, double aContinuum, double anIndex, double aSignificance)
public Line(Star aSource, double aWavelength)
Method Detail |
---|
public Star getSource()
public double getWavelength()
public double getStrength()
public static List<Line> getLines(Star aSource, FitsTable table)
public static void showLines(FitsTable dm)
public int compareTo(Line aLine)
compareTo
in interface Comparable<Line>
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |