|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.Quasar
public class Quasar
A data container to hold the quasar instances from the Hewitt and Burbidge catalog 1993ApJS...87..451H
Field Summary | |
---|---|
static List<Line> |
allLines
|
String |
altid
|
static int |
count
|
String |
dec
|
boolean |
hasEmissionLines
|
String |
mag
|
String |
name
|
String |
ra
|
String |
refs
|
String |
zem
|
protected double |
zemValue
|
static DecimalFormat |
zFormatter
|
Constructor Summary | |
---|---|
Quasar()
|
Method Summary | |
---|---|
protected void |
addEmissionLine(String aRow)
Precondition: must have read zem first |
void |
addFirstRow(String aFirstRow)
|
void |
addMoreRows(String anotherRow)
|
void |
addSecondRow(String aSecondRow)
|
List<Line> |
getAbsorptionLines()
Get a list of Line objects representing absorption lines |
List<Line> |
getEmissionLines()
Get a list of Line objects representing emission lines |
double |
getZem()
|
protected double |
shift(double wavelength)
Apply the cosmological redshift of this quasar to convert rest frame wavelength to the original observed frame wavedlength |
String |
toString()
Format similar to Veron's one line per quasar table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static DecimalFormat zFormatter
public static int count
public static List<Line> allLines
public String name
public String altid
public String ra
public String dec
public String mag
public String zem
public boolean hasEmissionLines
protected double zemValue
public String refs
Constructor Detail |
---|
public Quasar()
Method Detail |
---|
public void addFirstRow(String aFirstRow)
public void addSecondRow(String aSecondRow)
public void addMoreRows(String anotherRow)
public double getZem()
protected void addEmissionLine(String aRow)
protected double shift(double wavelength)
public String toString()
toString
in class Object
public List<Line> getEmissionLines()
Star
getEmissionLines
in interface Star
public List<Line> getAbsorptionLines()
Star
getAbsorptionLines
in interface Star
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |