Measure stellar density profile for te LAMOST selected stellar populations
Selection_plates.csv contains the S^(-1) for all DR3 plates
LM_density.py contains the functions to calculate the stellar density
haloRGB.py: a sample code to demonstrate how to calculate the density for the halo-like RGB stars (Xu et al.)
LMDR3_haloRGB2.dat: the final catalog of the halo-like RGB stars, same as Table 4 in Liu et al.
diskRGB.py: a sample code to demonstrate how to calculate the density for the disk-like RGB stars (Wang et al.)
LMDR3_diskRGB2.dat: the final catalog of the disk-like RGB stars, same as Table 3 in Liu et al.