PSD Calculating Scripts for RBSP