Class UCDParser


  • public class UCDParser
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      com.badlogic.gdx.utils.Array<UCD> COL  
      boolean hascol  
      boolean hasid  
      boolean hasmag  
      boolean hasname  
      boolean haspm  
      boolean haspos  
      com.badlogic.gdx.utils.Array<UCD> ID  
      com.badlogic.gdx.utils.Array<UCD> MAG  
      com.badlogic.gdx.utils.Array<UCD> NAME  
      com.badlogic.gdx.utils.Array<UCD> PMDEC  
      com.badlogic.gdx.utils.Array<UCD> PMRA  
      com.badlogic.gdx.utils.Array<UCD> POS1  
      com.badlogic.gdx.utils.Array<UCD> POS2  
      com.badlogic.gdx.utils.Array<UCD> POS3  
      com.badlogic.gdx.utils.Array<UCD> RADVEL  
      java.util.Map<gaia.cu9.ari.gaiaorbit.util.ucd.UCD.UCDType,​java.util.Set<UCD>> ucdmap  
    • Constructor Summary

      Constructors 
      Constructor Description
      UCDParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Position.PositionType getPositionType​(UCD pos1, UCD pos2, UCD pos3)  
      void parse​(uk.ac.starlink.table.StarTable table)
      Parses the given table and puts the UCD info into the ucdmap.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ucdmap

        public java.util.Map<gaia.cu9.ari.gaiaorbit.util.ucd.UCD.UCDType,​java.util.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
    • Constructor Detail

      • UCDParser

        public UCDParser()
    • Method Detail

      • 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