An optimal discrete window for the calculation of power spectra | Synapse