Class UCDParser


public class UCDParser extends Object
Parses the ucds of a star table and builds some metadata on the relevant quantities for Gaia Sky (position, proper motion, magnitudes, colors, etc.)
  • 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
    • pllxcolnames

      public static String[] pllxcolnames
    • 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
    • nstarscolnames

      public static String[] nstarscolnames
    • varimagscolnames

      public static String[] varimagscolnames
    • varitimescolnames

      public static String[] varitimescolnames
    • periodcolnames

      public static String[] periodcolnames
    • ucdmap

      public Map<gaiasky.util.ucd.UCD.UCDType,Set<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
    • hascol

      public boolean hascol
    • COL

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

      public boolean hasteff
    • TEFF

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

      public boolean hasvari
    • hasperiod

      public boolean hasperiod

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

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

      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)
    • 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( table)
      Parses the given table and puts the UCD info into the ucdmap. The map and all the indices are overwritten.
      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)