spkit
.sine_spectrum¶
- spkit.sine_spectrum(ipfreq, ipmag, ipphase, N, fs)¶
Generate a spectrum from a series of sine values
Generate a spectrum from a series of sine values - using Blackman Harris window
Generate a spectrum by placing main lobe(s) of blackman harris window on given
locations of frequencies with corresponding magnitude and phases
- Parameters:
- ipfreqfrequencies of sinasodals - 1d-array of shape (m,)
- ipmagmagnitudes of sinasodals - same size as ipfreq
- ipphasepahses of sinasodals - same size as ipfreq
- Nsize of analysis window to generate complex spectrum
- fssampling frequency
- Returns:
- Y: Complex spectrum generated for given sines
See also
spkit
#TODO
Notes
#TODO
References
wikipedia -
Examples
>>> import numpy as np >>> import spkit as sp >>> #TODO