net.aerith.misao.catalog.star
Class TassStar

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.DefaultStar
                                |
                                +--net.aerith.misao.catalog.star.TassStar

public class TassStar
extends DefaultStar

The TassStar represents a star data in the TASS Variables.


Field Summary
protected  boolean prefix_tass
          True if the name prefix is "TASS".
 
Fields inherited from class net.aerith.misao.catalog.star.DefaultStar
coor_accuracy, list, name
 
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
TassStar()
          Constructs an empty TassStar.
TassStar(java.lang.String name, java.lang.String coor_string, java.lang.String mag, java.lang.String range, java.lang.String max, java.lang.String min, java.lang.String mag_system, java.lang.String type, java.lang.String period, java.lang.String epoch)
          Constructs an TassStar with data read from the catalog file.
 
Method Summary
 java.lang.String getCatalogAcronym()
          Gets the acronym of the catalog.
protected  int getCatalogCategoryNumber()
          Gets the catalog category.
 java.lang.String getCatalogCode()
          Gets the code of the catalog.
 java.lang.String getCatalogName()
          Gets the name of the catalog.
 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 setName(java.lang.String name)
          Sets the name of this star.
 
Methods inherited from class net.aerith.misao.catalog.star.DefaultStar
getCatalogCategory, getCoorAccuracy, getDefaultProperty, getHierarchicalFolders, getKeyAndValues, getNamePrefix, setCoorAccuracy, setData, setKeyAndValue
 
Methods inherited from class net.aerith.misao.util.star.CatalogStar
getAvailableMagnitudeSystems, getBMagnitude, getBVDifference, 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

prefix_tass

protected boolean prefix_tass
True if the name prefix is "TASS".
Constructor Detail

TassStar

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

TassStar

public TassStar(java.lang.String name,
                java.lang.String coor_string,
                java.lang.String mag,
                java.lang.String range,
                java.lang.String max,
                java.lang.String min,
                java.lang.String mag_system,
                java.lang.String type,
                java.lang.String period,
                java.lang.String epoch)
Constructs an TassStar with data read from the catalog file.
Parameters:
name - the star name.
coor_string - the R.A. and Decl.
mag - the magnitude.
range - the magnitude range.
max - the brightest magnitude.
min - the faintest magnitude.
mag_system - the magnitude system.
type - the type.
period - the period.
epoch - the epoch.
Method Detail

getName

public java.lang.String getName()
Gets the name of this star.
Overrides:
getName in class DefaultStar
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). In principle, this method must be overrided in subclasses. This method returns the name itself. The name cannot have any space characters.
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 DefaultStar
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.

getCatalogAcronym

public java.lang.String getCatalogAcronym()
Gets the acronym of the catalog.
Overrides:
getCatalogAcronym in class CatalogStar
Returns:
the acronym 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.

getCatalogCategoryNumber

protected int getCatalogCategoryNumber()
Gets the catalog category. It must be overrided in the subclasses.
Overrides:
getCatalogCategoryNumber in class DefaultStar
Returns:
the catalog category.

getStarFolder

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

getPositionErrorInArcsec

public double getPositionErrorInArcsec()
Gets the mean error of position in arcsec.
Overrides:
getPositionErrorInArcsec in class DefaultStar
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 DefaultStar
Returns:
the maximum error of position in arcsec.