A simple periodogram library