net.aerith.misao.catalog.star
Class LandoltStar

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.LandoltStar

public class LandoltStar
extends CatalogStar

The LandoltStar represents a star data in the Landolt UBVRI Photometric Standard Stars.


Field Summary
protected  float b_v
          The B-V magnitude.
protected  float bv_err
          The error of B-V magnitude.
protected  java.lang.String name
          The name.
protected  float r_i
          The R-I magnitude.
protected  float ri_err
          The error of R-I magnitude.
protected  float u_b
          The U-B magnitude.
protected  float ub_err
          The error of U-B magnitude.
protected  float v_err
          The error of V magnitude.
protected  float v_i
          The V-I magnitude.
protected  float v_r
          The V-R magnitude.
protected  float vi_err
          The error of V-I magnitude.
protected  float vr_err
          The error of V-R 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
LandoltStar()
          Constructs an empty LandoltStar.
LandoltStar(java.lang.String name, Coor coor, double v_mag, double b_v, double u_b, double v_r, double r_i, double v_i, double v_err, double bv_err, double ub_err, double vr_err, double ri_err, double vi_err)
          Constructs a LandoltStar 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 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.
 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.
 double getRcMagnitude()
          Gets the Rc magnitude.
 java.lang.String getStarFolder()
          Gets the folder string of the star.
 double getUMagnitude()
          Gets the U magnitude.
 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 setKeyAndValue(KeyAndValue key_and_value)
          Sets the value of the specified key.
 void setName(java.lang.String name)
          Sets the name of this star.
 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
getCatalogAcronym, getCatalogNamesWithMagnitudeSystem, getCatalogNameWithMagnitudeSystem, getCoorString, getCoorStringWithoutUnit, getDate, getHelpMessage, getMagnitude, getMagnitudeSystem, getMaximumPositionErrorInArcsec, getPhotometryHelpMessage, getPositionErrorInArcsec, isDescriptionEdittable, reduceOutput, setCoorAccuracy, supportsAstrometry
 
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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The name.

b_v

protected float b_v
The B-V magnitude.

u_b

protected float u_b
The U-B magnitude.

v_r

protected float v_r
The V-R magnitude.

r_i

protected float r_i
The R-I magnitude.

v_i

protected float v_i
The V-I magnitude.

v_err

protected float v_err
The error of V magnitude.

bv_err

protected float bv_err
The error of B-V magnitude.

ub_err

protected float ub_err
The error of U-B magnitude.

vr_err

protected float vr_err
The error of V-R magnitude.

ri_err

protected float ri_err
The error of R-I magnitude.

vi_err

protected float vi_err
The error of V-I magnitude.
Constructor Detail

LandoltStar

public LandoltStar()
Constructs an empty LandoltStar. It is used in StarClass#newInstance to review the XML data.

LandoltStar

public LandoltStar(java.lang.String name,
                   Coor coor,
                   double v_mag,
                   double b_v,
                   double u_b,
                   double v_r,
                   double r_i,
                   double v_i,
                   double v_err,
                   double bv_err,
                   double ub_err,
                   double vr_err,
                   double ri_err,
                   double vi_err)
Constructs a LandoltStar with data read from the catalog file.
Parameters:
name - the name.
coor - the R.A. and Decl.
v_mag - the V magnitude.
b_v - the B-V magnitude.
u_b - the U-B magnitude.
v_r - the V-R magnitude.
r_i - the R-I magnitude.
v_i - the V-I magnitude.
v_err - the error of V magnitude.
bv_err - the error of B-V magnitude.
ub_err - the error of U-B magnitude.
vr_err - the error of V-R magnitude.
ri_err - the error of R-I magnitude.
vi_err - the error of V-I magnitude.
Method Detail

getName

public java.lang.String getName()
Gets the name of this star. This method returns such a string as BD -11 162.
Overrides:
getName in class Star
Returns:
the name of this star.

getVsnetName

public java.lang.String getVsnetName()
Gets the name of this star in a format for the VSNET (Variable Star Network). This method returns such a string as BD-11.162.
Overrides:
getVsnetName in class Star
Returns:
the name of this star.

setName

public void setName(java.lang.String name)
Sets the name of this star.
Overrides:
setName in class CatalogStar
Parameters:
name - the name to set.

getCatalogName

public java.lang.String getCatalogName()
Gets the name of the catalog. It must be unique among all subclasses.
Overrides:
getCatalogName in class CatalogStar
Returns:
the name of the catalog.

getCatalogCode

public java.lang.String getCatalogCode()
Gets the code of the catalog. It must be unique among all subclasses.
Overrides:
getCatalogCode in class CatalogStar
Returns:
the code of the catalog.

getCatalogFolderCode

public java.lang.String getCatalogFolderCode()
Gets the folder string of the catalog. It must be unique among all subclasses.
Overrides:
getCatalogFolderCode in class CatalogStar
Returns:
the folder string of the catalog.

getCatalogCategory

public java.lang.String getCatalogCategory()
Gets the category of the catalog.
Overrides:
getCatalogCategory in class CatalogStar
Returns:
the category of the catalog.

getHierarchicalFolders

public java.util.Vector getHierarchicalFolders()
Gets the list of the hierarchical folders.
Overrides:
getHierarchicalFolders in class CatalogStar
Returns:
the list of the hierarchical folders.

getStarFolder

public java.lang.String getStarFolder()
Gets the folder string of the star.
Overrides:
getStarFolder in class CatalogStar
Returns:
the folder string of the star.

getCoorAccuracy

public byte getCoorAccuracy()
Gets the accuracy of R.A. and Decl.
Overrides:
getCoorAccuracy in class CatalogStar
Returns:
the accuracy of R.A. and Decl.

supportsMagnitude

public boolean supportsMagnitude()
Returns true if the catalog contains magnitude data.
Overrides:
supportsMagnitude in class CatalogStar
Returns:
true if the catalog contains magnitude data.

supportsPhotometry

public boolean supportsPhotometry()
Returns true if the catalog contains magnitude data enough for photometry.
Overrides:
supportsPhotometry in class CatalogStar
Returns:
true if the catalog contains magnitude data enough for photometry.

getVMagnitude

public double getVMagnitude()
                     throws UnsupportedMagnitudeSystemException
Gets the V magnitude.
Overrides:
getVMagnitude in class CatalogStar
Returns:
the V magnitude.
Throws:
UnsupportedMagnitudeSystemException - if no V mag data is recorded in this catalog.

getUMagnitude

public double getUMagnitude()
                     throws UnsupportedMagnitudeSystemException
Gets the U magnitude.
Overrides:
getUMagnitude in class CatalogStar
Returns:
the U magnitude.
Throws:
UnsupportedMagnitudeSystemException - if no U mag data is recorded in this catalog.

getBMagnitude

public double getBMagnitude()
                     throws UnsupportedMagnitudeSystemException
Gets the B magnitude.
Overrides:
getBMagnitude in class CatalogStar
Returns:
the B magnitude.
Throws:
UnsupportedMagnitudeSystemException - if no B mag data is recorded in this catalog.

getRcMagnitude

public double getRcMagnitude()
                      throws UnsupportedMagnitudeSystemException
Gets the Rc magnitude.
Overrides:
getRcMagnitude in class CatalogStar
Returns:
the Rc magnitude.
Throws:
UnsupportedMagnitudeSystemException - if no Rc mag data is recorded in this catalog.

getIcMagnitude

public double getIcMagnitude()
                      throws UnsupportedMagnitudeSystemException
Gets the Ic magnitude.
Overrides:
getIcMagnitude in class CatalogStar
Returns:
the Ic magnitude.
Throws:
UnsupportedMagnitudeSystemException - if no Rc mag data is recorded in this catalog.

getBVDifference

public double getBVDifference()
                       throws UnsupportedMagnitudeSystemException
Gets the difference between the V and B magnitude.
Overrides:
getBVDifference in class CatalogStar
Returns:
the difference between the V and B magnitude.
Throws:
UnsupportedMagnitudeSystemException - if no V mag or B mag data is recorded in this catalog.

getAvailableMagnitudeSystems

public java.lang.String[] getAvailableMagnitudeSystems()
Gets the list of magnitude systems supported by this catalog.
Overrides:
getAvailableMagnitudeSystems in class CatalogStar
Returns:
the list of magnitude systems supported by this catalog.

getMagnitude

public double getMagnitude(java.lang.String system)
                    throws UnsupportedMagnitudeSystemException
Gets the magnitude of the specified system.
Overrides:
getMagnitude in class CatalogStar
Parameters:
system - the magnitude system.
Returns:
the magnitude of the specified system.
Throws:
UnsupportedMagnitudeSystemException - if the specified magnitude system is not supported.

getMagnitudeString

public java.lang.String getMagnitudeString(java.lang.String system)
                                    throws UnsupportedMagnitudeSystemException
Gets the magnitude string of the specified system to output.
Overrides:
getMagnitudeString in class CatalogStar
Parameters:
system - the magnitude system.
Returns:
the magnitude string of the specified system.
Throws:
UnsupportedMagnitudeSystemException - if the specified magnitude system is not supported.

getDefaultProperty

public PlotProperty getDefaultProperty()
Gets the default property to plot stars.
Overrides:
getDefaultProperty in class CatalogStar
Returns:
the default property to plot stars.

getKeyAndValues

public KeyAndValue[] getKeyAndValues()
Gets an array of keys and values to output.
Overrides:
getKeyAndValues in class Star
Returns:
an array of keys and values to output.

setKeyAndValue

public void setKeyAndValue(KeyAndValue key_and_value)
Sets the value of the specified key.
Overrides:
setKeyAndValue in class Star
Parameters:
key_and_value - the key and value to set.

getKeyAndValuesForPhotometry

public KeyAndValue[] getKeyAndValuesForPhotometry()
Gets an array of keys and values related to the photometry.
Overrides:
getKeyAndValuesForPhotometry in class CatalogStar
Returns:
an array of keys and values related to the photometry.