Jump to content

File:Acoustics filter highpass.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 576 × 432 pixels, file size: 66 KB)

Summary

Description
English: Highpass acoustic filter.
Date
Source Own work
Author Nicoguaro
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

plt.rcParams['mathtext.fontset'] = 'cm'

high_pass_trans = lambda S, k, L, a: 1/(1 + ((np.pi*a**2)/(2*S*k*L))**2)
high_pass_cutoff = lambda S, c, L, a: c*a**2/(2*S*L)

c = 343.4
L = 0.06
S = 0.003
a = 0.015
fc = high_pass_cutoff(S, c, L, a)
freq = np.logspace(0, 4, 101)
k = 2 * np.pi * freq/c
T = high_pass_trans(S, k, L, a)
plt.semilogx(freq, T)
plt.text(140, 0.5,  "Cut-off frequency: {:g} Hz".format(fc))
plt.grid(which="both", alpha=0.4)
plt.xlabel("Frequency (Hz)")
plt.ylabel("$T_\pi$")
plt.title("High-pass filter for $S=30$ cm², $a=1.5$ cm")
plt.savefig("Acoustics filter highpass.svg")

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

17 August 2018

image/svg+xml

8aafb6bada1aa2bf5299f331e519317598b1660e

67,272 byte

432 pixel

576 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:31, 17 August 2018Thumbnail for version as of 22:31, 17 August 2018576 × 432 (66 KB)NicoguaroUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata