Class UCDParser

java.lang.Object
gaiasky.util.ucd.UCDParser

public class UCDParser extends Object
  • Field Details

    • idColNames

      public static String[] idColNames
    • nameColNames

      public static String[] nameColNames
    • raColNames

      public static String[] raColNames
    • xColNames

      public static String[] xColNames
    • deColNames

      public static String[] deColNames
    • yColNames

      public static String[] yColNames
    • distColNames

      public static String[] distColNames
    • zColNames

      public static String[] zColNames
    • parallaxColNames

      public static String[] parallaxColNames
    • magColNames

      public static String[] magColNames
    • colorColNames

      public static String[] colorColNames
    • tEffColNames

      public static String[] tEffColNames
    • pmRaColNames

      public static String[] pmRaColNames
    • pmDecColNames

      public static String[] pmDecColNames
    • radVelColNames

      public static String[] radVelColNames
    • radiusColNames

      public static String[] radiusColNames
    • sizeColNames

      public static String[] sizeColNames
    • nStarsColNames

      public static String[] nStarsColNames
    • variMagsColNames

      public static String[] variMagsColNames
    • variTimesColNames

      public static String[] variTimesColNames
    • periodColNames

      public static String[] periodColNames
    • ucdmap

      public Map<UCD.UCDType,com.badlogic.gdx.utils.Array<UCD>> ucdmap
    • hasId

      public boolean hasId
    • ID

      public com.badlogic.gdx.utils.Array<UCD> ID
    • hasName

      public boolean hasName
    • NAME

      public com.badlogic.gdx.utils.Array<UCD> NAME
    • hasPos

      public boolean hasPos
    • POS1

      public com.badlogic.gdx.utils.Array<UCD> POS1
    • POS2

      public com.badlogic.gdx.utils.Array<UCD> POS2
    • POS3

      public com.badlogic.gdx.utils.Array<UCD> POS3
    • hasPm

      public boolean hasPm
    • PMRA

      public com.badlogic.gdx.utils.Array<UCD> PMRA
    • PMDEC

      public com.badlogic.gdx.utils.Array<UCD> PMDEC
    • RADVEL

      public com.badlogic.gdx.utils.Array<UCD> RADVEL
    • hasMag

      public boolean hasMag
    • MAG

      public com.badlogic.gdx.utils.Array<UCD> MAG
    • hasColor

      public boolean hasColor
    • COL

      public com.badlogic.gdx.utils.Array<UCD> COL
    • hasSize

      public boolean hasSize
    • SIZE

      public com.badlogic.gdx.utils.Array<UCD> SIZE
    • hasTEff

      public boolean hasTEff
    • TEFF

      public com.badlogic.gdx.utils.Array<UCD> TEFF
    • hasVariability

      public boolean hasVariability
    • hasPeriod

      public boolean hasPeriod
    • VARI_TIMES

      public com.badlogic.gdx.utils.Array<UCD> VARI_TIMES
    • VARI_MAGS

      public com.badlogic.gdx.utils.Array<UCD> VARI_MAGS
    • VARI_PERIOD

      public com.badlogic.gdx.utils.Array<UCD> VARI_PERIOD
    • extra

      public com.badlogic.gdx.utils.Array<UCD> extra
  • Constructor Details

    • UCDParser

      public UCDParser()
  • Method Details

    • isName

      public static boolean isName(String colName)
    • isId

      public static boolean isId(String colName)
    • isRa

      public static boolean isRa(String colName)
    • isX

      public static boolean isX(String colName)
    • isDec

      public static boolean isDec(String colName)
    • isY

      public static boolean isY(String colName)
    • isDist

      public static boolean isDist(String colName)
    • isZ

      public static boolean isZ(String colName)
    • isPllx

      public static boolean isPllx(String colName)
    • isMag

      public static boolean isMag(String colName)
    • isColor

      public static boolean isColor(String colName)
    • isTeff

      public static boolean isTeff(String colName)
    • isPmra

      public static boolean isPmra(String colName)
    • isPmde

      public static boolean isPmde(String colName)
    • isRadvel

      public static boolean isRadvel(String colName)
    • isSize

      public static boolean isSize(String colName)
    • isRadius

      public static boolean isRadius(String colName)
    • isNstars

      public static boolean isNstars(String colName)
    • isGVariMags

      public static boolean isGVariMags(String colName)
    • isGVariTimes

      public static boolean isGVariTimes(String colName)
    • isPeriod

      public static boolean isPeriod(String colName)
    • parse

      public void parse(uk.ac.starlink.table.StarTable table)
      Parses the given table and puts the UCD info into the ucdmap. The map and all the indices are overwritten.
      Parameters:
      table - The StarTable to parse
    • has

      public boolean has(UCD ucd)
    • has

      public boolean has(UCD ucd, com.badlogic.gdx.utils.Array<UCD> a)
    • getPositionType

      public Position.PositionType getPositionType(UCD pos1, UCD pos2, UCD pos3)
    • getByColumName

      public UCD getByColumName(String columName)