|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.Position | +--net.aerith.misao.util.star.StarPosition | +--net.aerith.misao.util.star.Star | +--net.aerith.misao.util.star.CatalogStar | +--net.aerith.misao.catalog.star.SaoStar
The SaoStar
represents a star data in the SAO Star
Catalog.
Field Summary | |
protected int |
number
The star number. |
protected float |
p_mag
The p magnitude. |
protected java.lang.Float |
prop_decl
The proper motion in Decl. |
protected java.lang.Float |
prop_ra
The proper motion in R.A. |
protected java.lang.String |
spectrum
The spectrum. |
protected float |
v_mag
The V magnitude. |
Fields inherited from class net.aerith.misao.util.star.CatalogStar |
detailed_output |
Fields inherited from class net.aerith.misao.util.star.Star |
color,
container_pair,
coor |
Fields inherited from class net.aerith.misao.util.star.StarPosition |
mag |
Fields inherited from class net.aerith.misao.util.Position |
x,
y |
Constructor Summary | |
SaoStar()
Constructs an empty SaoStar . |
|
SaoStar(int number,
Coor coor)
Constructs a SaoStar with data read from the
catalog file. |
Method Summary | |
java.lang.String[] |
getAvailableMagnitudeSystems()
Gets the list of magnitude systems supported by this catalog. |
java.lang.String |
getCatalogAcronym()
Gets the acronym of the catalog. |
java.lang.String |
getCatalogCategory()
Gets the category of the catalog. |
java.lang.String |
getCatalogCode()
Gets the code of the catalog. |
java.lang.String |
getCatalogFolderCode()
Gets the folder string of the catalog. |
java.lang.String |
getCatalogName()
Gets the name of the catalog. |
byte |
getCoorAccuracy()
Gets the accuracy of R.A. |
PlotProperty |
getDefaultProperty()
Gets the default property to plot stars. |
java.util.Vector |
getHierarchicalFolders()
Gets the list of the hierarchical folders. |
KeyAndValue[] |
getKeyAndValues()
Gets an array of keys and values to output. |
KeyAndValue[] |
getKeyAndValuesForPhotometry()
Gets an array of keys and values related to the photometry. |
double |
getMagnitude(java.lang.String system)
Gets the magnitude of the specified system. |
java.lang.String |
getMagnitudeString(java.lang.String system)
Gets the magnitude string of the specified system to output. |
java.lang.String |
getName()
Gets the name of this star. |
java.lang.String |
getStarFolder()
Gets the folder string of the star. |
java.lang.String |
getVsnetName()
Gets the name of this star in a format for the VSNET (Variable Star Network). |
void |
setKeyAndValue(KeyAndValue key_and_value)
Sets the value of the specified key. |
void |
setName(java.lang.String name)
Sets the name of this star. |
void |
setPMagnitude(double p_mag)
Sets the p magnitude. |
void |
setProperMotionInDecl(double prop)
Sets the proper motion in Decl. |
void |
setProperMotionInRA(double prop)
Sets the proper motion in R.A. |
void |
setSpectrum(java.lang.String spectrum)
Sets the spectrum. |
void |
setVMagnitude(double v_mag)
Sets the V magnitude. |
boolean |
supportsAstrometry()
Returns true if the catalog contains accurate R.A. |
boolean |
supportsMagnitude()
Returns true if the catalog contains magnitude data. |
Methods inherited from class net.aerith.misao.util.star.Star |
equals,
getColor,
getCoor,
getDecl,
getItemDelimiter,
getKeyAndValueDelimiter,
getOutputString,
getOutputStringsWithXY,
getOutputStringWithoutName,
getOutputStringWithXY,
getPair,
getPositionString,
getPxfString,
getPxfStringsWithXY,
getPxfStringWithXY,
getRA,
mapCoordinatesToXY,
mapCoordinatesToXY,
mapXYToCoordinates,
mapXYToCoordinates,
setColor,
setCoor,
setPair |
Methods inherited from class net.aerith.misao.util.star.StarPosition |
getMag,
getOutputStrings,
paramString,
setMag,
toString |
Methods inherited from class net.aerith.misao.util.Position |
add,
getDistanceFrom,
getPositionAngleTo,
getX,
getY,
rescale,
setPosition,
setX,
setY |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected int number
protected float p_mag
protected float v_mag
protected java.lang.String spectrum
protected java.lang.Float prop_ra
protected java.lang.Float prop_decl
Constructor Detail |
public SaoStar()
SaoStar
. It is used in
StarClass#newInstance
to review the XML data.public SaoStar(int number, Coor coor)
SaoStar
with data read from the
catalog file.number
- the number.coor
- the R.A. and Decl.Method Detail |
public java.lang.String getName()
public java.lang.String getVsnetName()
public void setName(java.lang.String name)
name
- the name to set.public java.lang.String getCatalogName()
public java.lang.String getCatalogAcronym()
public java.lang.String getCatalogCode()
public java.lang.String getCatalogFolderCode()
public java.lang.String getCatalogCategory()
public java.util.Vector getHierarchicalFolders()
public java.lang.String getStarFolder()
public byte getCoorAccuracy()
public boolean supportsMagnitude()
public boolean supportsAstrometry()
public void setPMagnitude(double p_mag)
p_mag
- the p magnitude.public void setVMagnitude(double v_mag)
v_mag
- the V magnitude.public void setSpectrum(java.lang.String spectrum)
spectrum
- the spectrum.public void setProperMotionInRA(double prop)
prop
- the proper motion in R.A. (s/yr).public void setProperMotionInDecl(double prop)
prop
- the proper motion in Decl. ("/yr).public java.lang.String[] getAvailableMagnitudeSystems()
public double getMagnitude(java.lang.String system) throws UnsupportedMagnitudeSystemException
system
- the magnitude system.public java.lang.String getMagnitudeString(java.lang.String system) throws UnsupportedMagnitudeSystemException
system
- the magnitude system.public PlotProperty getDefaultProperty()
public KeyAndValue[] getKeyAndValues()
public void setKeyAndValue(KeyAndValue key_and_value)
key_and_value
- the key and value to set.public KeyAndValue[] getKeyAndValuesForPhotometry()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |