================================================================================ Title: Robust Optical Richness Estimation with Reduced Scatter Authors: Rykoff E.S., Koester B.P., Rozo E., Annis J., Evrard A.E., Hansen S.M., Hao J., Johnston D.E., McKay T.A., Wechsler R.H. ================================================================================ Code names: lambda_richness.pro Language: IDL Code tested under the following compilers/operating systems: Linux, OS X; IDL v6.0; v7.1 Description of input data: SDSS g-r color, i-band magnitude, and distance from cluster center for all galaxies in the region of a galaxy cluster in the redshift range 0.1