|
|||||||||
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.HicStar
The HicStar
represents a star data in the Hipparcos
Input Catalogue.
Field Summary | |
static byte |
ACCURACY_1000TH
The number of accuracy, which represents 0.001 mag. |
static byte |
ACCURACY_100TH
The number of accuracy, which represents 0.01 mag. |
static byte |
ACCURACY_10TH
The number of accuracy, which represents 0.1 mag. |
protected float |
b_v
The B-V magnitude. |
protected byte |
bv_accuracy
The accuracy of B-V magnitude. |
protected byte |
hp_accuracy
The accuracy of Hp magnitude. |
protected int |
number
The star number. |
protected java.lang.Integer |
parallax
The parallax in milli-arcsec. |
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 byte |
v_accuracy
The accuracy of V magnitude. |
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 | |
HicStar()
Constructs an empty HicStar . |
|
HicStar(int number,
Coor coor,
double hp_mag,
byte hp_accuracy)
Constructs a HicStar with data read from the
catalog file. |
Method Summary | |
java.lang.String[] |
getAvailableMagnitudeSystems()
Gets the list of magnitude systems supported by this catalog. |
double |
getBMagnitude()
Gets the B magnitude. |
double |
getBVDifference()
Gets the difference between the V and B magnitude. |
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.lang.String |
getHelpMessage(java.lang.String name)
Gets the html help message of the specified name with magnitude system for simple magnitude comparison. |
java.util.Vector |
getHierarchicalFolders()
Gets the list of the hierarchical folders. |
double |
getIcMagnitude()
Gets the Ic magnitude. |
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 |
getPhotometryHelpMessage()
Gets the html help message for regular photometry. |
double |
getRcMagnitude()
Gets the Rc magnitude. |
java.lang.String |
getStarFolder()
Gets the folder string of the star. |
double |
getVMagnitude()
Gets the V magnitude. |
java.lang.String |
getVsnetName()
Gets the name of this star in a format for the VSNET (Variable Star Network). |
void |
setBVDifference(double b_v,
byte accuracy)
Sets the difference between the V and B magnitude. |
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 |
setParallax(int parallax)
Sets the parallax in milli-arcsec. |
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,
byte accuracy)
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. |
boolean |
supportsPhotometry()
Returns true if the catalog contains magnitude data enough for photometry. |
Methods inherited from class net.aerith.misao.util.star.CatalogStar |
getCatalogNamesWithMagnitudeSystem,
getCatalogNameWithMagnitudeSystem,
getCoorString,
getCoorStringWithoutUnit,
getDate,
getMagnitude,
getMagnitudeSystem,
getMaximumPositionErrorInArcsec,
getPositionErrorInArcsec,
getUMagnitude,
isDescriptionEdittable,
reduceOutput,
setCoorAccuracy |
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 v_mag
protected float b_v
protected byte hp_accuracy
protected byte v_accuracy
protected byte bv_accuracy
protected java.lang.String spectrum
protected java.lang.Float prop_ra
protected java.lang.Float prop_decl
protected java.lang.Integer parallax
public static final byte ACCURACY_10TH
public static final byte ACCURACY_100TH
public static final byte ACCURACY_1000TH
Constructor Detail |
public HicStar()
HicStar
. It is used in
StarClass#newInstance
to review the XML data.public HicStar(int number, Coor coor, double hp_mag, byte hp_accuracy)
HicStar
with data read from the
catalog file.number
- the number.coor
- the R.A. and Decl.hp_mag
- the Hp magnitude.hp_accuracy
- the accuracy of Hp magnitude.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 supportsPhotometry()
public boolean supportsAstrometry()
public double getVMagnitude() throws UnsupportedMagnitudeSystemException
public double getBMagnitude() throws UnsupportedMagnitudeSystemException
public double getRcMagnitude() throws UnsupportedMagnitudeSystemException
public double getIcMagnitude() throws UnsupportedMagnitudeSystemException
public double getBVDifference() throws UnsupportedMagnitudeSystemException
public void setVMagnitude(double v_mag, byte accuracy)
v_mag
- the V magnitude.accuracy
- the accuracy of V magnitude.public void setBVDifference(double b_v, byte accuracy)
b_v
- the difference between the V and B magnitude.accuracy
- the accuracy of V magnitude.public void setSpectrum(java.lang.String spectrum)
spectrum
- the spectrum.public void setProperMotionInRA(double prop)
prop
- the proper motion in R.A. ("/yr).public void setProperMotionInDecl(double prop)
prop
- the proper motion in Decl. ("/yr).public void setParallax(int parallax)
parallax
- the parallax in milli-arcsec.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 java.lang.String getPhotometryHelpMessage()
public java.lang.String getHelpMessage(java.lang.String name)
name
- the catalog name with 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 |