net.aerith.misao.catalog.star
Class GcvsStar

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.DefaultVariableStar
                                |
                                +--net.aerith.misao.catalog.star.GcvsStar

public class GcvsStar
extends DefaultVariableStar

The GcvsStar represents a star data in the General Catalog of Variable Stars.


Field Summary
protected  byte constellation
          The number of constellation.
protected  byte coor_accuracy
          The accuracy of R.A.
protected  byte[] star_number
          The star number (R, S, ...).
 
Fields inherited from class net.aerith.misao.catalog.star.DefaultVariableStar
epoch, mag_max, mag_max_and_min, mag_min, mag_system, period, spectrum, type
 
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
GcvsStar()
          Constructs an empty GcvsStar.
GcvsStar(java.lang.String constellation_name, java.lang.String star_number, Coor coor, byte coor_accuracy, java.lang.String type, java.lang.String spectrum, java.lang.String epoch, java.lang.String period)
          Constructs a GcvsStar with data read from the catalog file.
 
Method Summary
 java.lang.String getCatalogCategory()
          Gets the category of the catalog.
 java.lang.String getCatalogCode()
          Gets the code 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 getMaximumPositionErrorInArcsec()
          Gets the maximum error of position in arcsec.
 java.lang.String getName()
          Gets the name of this star.
 double getPositionErrorInArcsec()
          Gets the mean error of position in arcsec.
 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 setCoorAccuracy(byte accuracy)
          Sets the accuracy of R.A.
 void setName(java.lang.String name)
          Sets the name of this star.
 
Methods inherited from class net.aerith.misao.catalog.star.DefaultVariableStar
getKeyAndValues, setEpoch, setKeyAndValue, setMagnitudeByMaxAndMin, setMagnitudeByRange, setMagSystem, setPeriod, setSpectrum, setType
 
Methods inherited from class net.aerith.misao.util.star.CatalogStar
getAvailableMagnitudeSystems, getBMagnitude, getBVDifference, getCatalogAcronym, getCatalogFolderCode, getCatalogNamesWithMagnitudeSystem, getCatalogNameWithMagnitudeSystem, getCoorString, getCoorStringWithoutUnit, getDate, getHelpMessage, getIcMagnitude, getKeyAndValuesForPhotometry, getMagnitude, getMagnitude, getMagnitudeString, getMagnitudeSystem, getPhotometryHelpMessage, getRcMagnitude, getUMagnitude, getVMagnitude, isDescriptionEdittable, reduceOutput, supportsAstrometry, supportsMagnitude, supportsPhotometry
 
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

constellation

protected byte constellation
The number of constellation.

star_number

protected byte[] star_number
The star number (R, S, ...).

coor_accuracy

protected byte coor_accuracy
The accuracy of R.A. and Decl.
Constructor Detail

GcvsStar

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

GcvsStar

public GcvsStar(java.lang.String constellation_name,
                java.lang.String star_number,
                Coor coor,
                byte coor_accuracy,
                java.lang.String type,
                java.lang.String spectrum,
                java.lang.String epoch,
                java.lang.String period)
Constructs a GcvsStar with data read from the catalog file.
Parameters:
constellation_name - the constellation name.
star_number - the star number.
coor - the R.A. and Decl.
coor_accuracy - the accuracy of R.A. and Decl.
type - the type.
spectrum - the spectrum.
epoch - the epoch in JD.
period - the period in day.
Method Detail

getName

public java.lang.String getName()
Gets the name of this star. This method returns such a string as R And.
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 ANDR.
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.

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.

getPositionErrorInArcsec

public double getPositionErrorInArcsec()
Gets the mean error of position in arcsec.
Overrides:
getPositionErrorInArcsec in class CatalogStar
Returns:
the mean error of position in arcsec.

getMaximumPositionErrorInArcsec

public double getMaximumPositionErrorInArcsec()
Gets the maximum error of position in arcsec. It is the search area size to identify with other stars.
Overrides:
getMaximumPositionErrorInArcsec in class CatalogStar
Returns:
the maximum error of position in arcsec.

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.

setCoorAccuracy

public void setCoorAccuracy(byte accuracy)
Sets the accuracy of R.A. and Decl.
Overrides:
setCoorAccuracy in class CatalogStar
Parameters:
accuracy - the accuracy of R.A. and Decl.

getDefaultProperty

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