INNER CODE UNIT · Python

lamost

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

def lamost(dr=2,cat='all'):
    """
    NAME:
       lamost
    PURPOSE:
       Load the LAMOST data
    INPUT:
       dr= (2) data release
       cat= ('all') 'all', 'A', 'M', 'star' (see LAMOST docs)
    OUTPUT:
       data table
    HISTORY:
       2016-10-13 - Written - Bovy (UofT)
    """
    filePath= path.lamostPath(dr=dr,cat=cat)
    if not os.path.exists(filePath):
        download.lamost(dr=dr,cat=cat)
    data= fitsread(filePath,1)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…