Scripts to perform bias studies on spectra