import matplotlib.pyplot as plt

trj = traja.generate()
trj.traja.plot_periodogram()