Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FFT information and ENBW to spectral figures #124

Open
duncanmmacleod opened this issue Oct 13, 2016 · 0 comments
Open

Add FFT information and ENBW to spectral figures #124

duncanmmacleod opened this issue Oct 13, 2016 · 0 comments

Comments

@duncanmmacleod
Copy link
Member

Converting from ASD (/rtHz) into amplitude spectrum units requires knowledge of the equivalent noise bandwidth (ENB{W}). It makes sense to add the FFTlength, overlap, window, and ENBW to spectral figures, or at least make it easier to discover from the HTML. ENBW can be calculated from the window and sampling rate as:

def enbw(window, sampling):
    a = window.sum()
    b = (window ** 2).sum()
    return sampling * b / a**2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant