INNER CODE UNIT · Python
astroNN
jobovy/gaia_tools · gaia_tools/load/__init__.py:202
def astroNN(**kwargs):
"""
NAME:
astroNN
PURPOSE:
read the astroNN file (Leung & Bovy 2019a)
INPUT:
dr= data reduction to load the catalog for (automatically set based on APOGEE_REDUX if not given explicitly)
OUTPUT:
astroNN data
HISTORY:
2018-10-20 - Written - Bovy (UofT)
"""
if not _APOGEE_LOADED:
_warn_apogee_fallback()
dr= kwargs.get('dr',14)
filePath= path.astroNNPath(dr=dr)
if not os.path.exists(filePath):