LASP 1.0
Library for Acoustic Signal Processing
|
Public Member Functions | |
__init__ (self, Measurement mnormal, Measurement mswitched, float s, float d1, float d2, float fl=None, float fu=None, periodic_method=False, D_imptube=50e-3, thermoviscous=True, **kwargs) | |
Initialize two-microphone impedance tube methods. | |
cut_to_limits (self, ar) | |
getFreq (self) | |
Array of frequencies, cut to limits of validity. | |
G_AB (self, meas) | |
k (self, freq) | |
Wave number, or thermoviscous wave number. | |
R (self, meas) | |
alpha (self, meas) | |
Acoustic absorption coefficient. | |
z (self, meas) | |
Acoustic impedance at the position of the sample, in front of the sample. | |
zs (self, meas) | |
Sample impedance jump, assuming a cavity behind the sample with thickness d2. | |
Public Attributes | |
mnormal | |
mswitched | |
mat | |
s | |
d1 | |
d2 | |
fl | |
fu | |
thermoviscous | |
D_imptube | |
periodic_method | |
channels | |
N | |
nfft | |
C1 | |
freq | |
il | |
ul | |
K | |
Definition at line 17 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.__init__ | ( | self, | |
Measurement | mnormal, | ||
Measurement | mswitched, | ||
float | s, | ||
float | d1, | ||
float | d2, | ||
float | fl = None , |
||
float | fu = None , |
||
periodic_method = False , |
|||
D_imptube = 50e-3 , |
|||
thermoviscous = True , |
|||
** | kwargs | ||
) |
Initialize two-microphone impedance tube methods.
Args: mnormal: Measurement in normal configuration mswitched: Measurement in normal configuration s: Microphone distance fl: Lower evaluation frequency fu: Lower evaluation frequency
kwargs: tuple with extra arguments, of which: N: Period length of periodic excitation obligatory chan0: Measurement channel index of mic 0 chan1: Measurement channel index of mic 1
Definition at line 18 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.alpha | ( | self, | |
meas | |||
) |
Acoustic absorption coefficient.
Definition at line 147 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.cut_to_limits | ( | self, | |
ar | |||
) |
Definition at line 96 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.G_AB | ( | self, | |
meas | |||
) |
Definition at line 106 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.getFreq | ( | self | ) |
Array of frequencies, cut to limits of validity.
Definition at line 99 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.k | ( | self, | |
freq | |||
) |
Wave number, or thermoviscous wave number.
Definition at line 120 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.R | ( | self, | |
meas | |||
) |
Definition at line 136 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.z | ( | self, | |
meas | |||
) |
Acoustic impedance at the position of the sample, in front of the sample.
Definition at line 154 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.zs | ( | self, | |
meas | |||
) |
Sample impedance jump, assuming a cavity behind the sample with thickness d2.
Definition at line 161 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.C1 |
Definition at line 83 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.channels |
Definition at line 71 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.d1 |
Definition at line 52 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.d2 |
Definition at line 53 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.D_imptube |
Definition at line 68 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.fl |
Definition at line 55 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.freq |
Definition at line 84 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.fu |
Definition at line 61 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.il |
Definition at line 86 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.K |
Definition at line 94 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.mat |
Definition at line 50 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.mnormal |
Definition at line 47 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.mswitched |
Definition at line 48 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.N |
Definition at line 74 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.nfft |
Definition at line 78 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.periodic_method |
Definition at line 70 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.s |
Definition at line 51 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.thermoviscous |
Definition at line 67 of file lasp_imptube.py.
lasp.lasp_imptube.TwoMicImpedanceTube.ul |
Definition at line 87 of file lasp_imptube.py.