INNER CODE UNIT · Python

twomass

jobovy/gaia_tools · gaia_tools/load/__init__.py:22

def twomass(dr='tgas'):
    """
    NAME:
       twomass
    PURPOSE:
       Load the 2MASS data matched to TGAS data
    INPUT:
       dr= ('tgas') data release
    OUTPUT:
       data table
    HISTORY:
       2017-01-17 - Written - Bovy (UofT/CCA)
    """
    if not dr.lower() == 'tgas':
        raise ValueError('Only the 2MASS data matched to TGAS is available currently')
    filePath= path.twomassPath(dr=dr)
    if not os.path.exists(filePath):
        download.twomass(dr=dr)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…