Using the waveforms from a digital electronics system, an offline analysis technique on pulse shape discrimination (PSD) has been developed to improve the n-γ separation in a bar-shaped NE-213 scintillator that couples to a photomultiplier tube (PMT) at each end. The new improved method, called the "valued-assigned PSD" (VPSD), quantifies the separation between neutrons and gamma rays. Position dependence of PSD can be taken into account and automated using VPSD method. The resulting n-γ identification is much improved when compared to the traditional technique that uses the geometric mean (GM) of light outputs from both PMTs.