File Summary:
--------------------------------------------------------------------------------
 FileName        Explanations
-----------------------------------------------------------------
ReadMe          This file
mgiant.dat      M giants catalog identified from the LAMOST DR5
mgiant.fits     Fits version of mgiant.dat
mdwarf.dat      M dwarfs catalog identified from the LAMOST DR5
mdwarf.fits     Fits version of mdwarf.dat
--------------------------------------------------------------------------------

Byte-by-byte Description of file: mgiant.dat and mdwarf.dat
---------------------------------------------------------------------------------------------------------------------
 Bytes  Format  Units    Label       Explanations
---------------------------------------------------------------------------------------------------------------------
  1- 19  A19    ---    DESIGNATION   object designation from the LAMOST DR5
 21- 31  F11.6  deg    RA            object right ascension in LAMOST DR5 (J2000)
 33- 43  F11.6  deg    DEC           object declination in LAMOST DR5 (J2000)
 45- 49  F5.3   ---    CaH2          spectral index of LAMOST spectrum
 51- 55  F5.3   ---    CaH3          spectral index of LAMOST spectrum
 57- 61  F5.3   ---    TiO5          spectral index of LAMOST spectrum
 63- 67  F5.1   ---    SNR           singal to noise ratio of i filter in LAMOST spectrum
 69- 76  A8     ---    SpTy          spectral subtype classified by the template-fit algorithm
 78- 83  F6.3   mag    Gmag0         dereddened G band magnitude from Gaia DR2
 85- 90  F6.3   mag    Gbp0          dereddened BP band magnitude from Gaia DR2
 92- 97  F6.3   mag    Grp0          dereddened RP band magnitude from Gaia DR2
 99-104  F6.3   mag    J0            dereddened J band magnitude from 2MASS
106-111  F6.3   mag    H0            dereddened H band magnitude from 2MASS
113-118  F6.3   mag    Ks0           dereddened Ks band magnitude from 2MASS
120-125  F6.3   mag    W10           dereddened W1 band magnitude from WISE
127-132  F6.3   mag    W20           dereddened W2 band magnitude from WISE
134-139  F6.2   mag    EBV           reddening from the 3D dust map
141-146  F6.0   pc     Dist          distance derived by the parallax in Gaia DR2
148-153  F6.0   km/s   RV            radial velocity measured from LAMOST spectrum
155-160  F6.1   ---    [M/H]         estimated photometric metallicity of M giants 
162-167  F6.0   pc     X             Galactocentric coordinate points to the direction opposite to that of the Sun
169-174  F6.0   pc     Y             Galactocentric coordinate points to the direction of Galactic rotation
176-181  F6.0   pc     Z             Galactocentric coordinate points 
183-188  F6.0   km/s   U             Galactic space velocity in X axis
190-195  F6.0   km/s   V             Galactic space velocity in Y axis
197-202  F6.0   km/s   W             Galactic space velocity in Z axis
205-206  A2     ---    SFLAG         label of subsamples (1)
---------------------------------------------------------------------------------------------------------------------
Note (1): label of subsamples as follows:
  m = Comfirmed M type stars
  n = Non-M type stars
  c = Carbon stars 
  w = White dwarf binaries
  u = Unconfirmed M type stars
---------------------------------------------------------------------------------------------------------------------
