quickly write pt spectra