pyva.systems.infiniteLayers.ResistiveLayer
- class pyva.systems.infiniteLayers.ResistiveLayer(thickness, impedance)
Bases:
AcousticLayer
The ResistiveLayer class deals with lumped acoustic infinite layers.
In most cases this is a resistive sheet with measured resistivity
- thickness
thickness of the layer
- Type:
float
- impedance
transfer impedance function with omega as argument.
- Type:
function (of omega)
- __init__(thickness, impedance)
Class contructor Resistivelayer.
- Parameters:
thickness (float) – thickness of the layer
impedance (function (of omega)) – transfer impedance function with omega as argument.
- Return type:
None.
Methods
__init__
(thickness, impedance)Class contructor Resistivelayer.
get_xdata
(omega, kx)Determine the appropriate xdata from omega and kx.
plot
(omega, **kwargs)Plots the transfer impedance for the related part
transfer_impedance
(omega[, kx, ID])Transferimpedance of perforateLayer
Attributes
Determine if layer is of type equivalent fluid
visc_air
- static get_xdata(omega, kx)
Determine the appropriate xdata from omega and kx.
Infinite Layer theory often involves integration over wavenumber. Thus, the kx is the integration variable.
If omega is scalar xdata will be wavenumber in x (kx) if kx is scalar xdata will be angular frequency if kx and omega have same dimension it is assumed that kx belongs to a constant angle and is given by kx = omega/c0*sin(theta) and xdata will be angular frequency
- Parameters:
omega (float or ndarray) – angular frequency
kx (float or ndarray) – wavenumber
- Returns:
wavenumber or omega as DataAxis object
- Return type:
- property isequivalentfluid
Determine if layer is of type equivalent fluid
Defauls parameter is True
- Returns:
True.
- Return type:
bool
- plot(omega, **kwargs)
Plots the transfer impedance for the related part
- Parameters:
omega (float) – angular frequency.
fig (int, optional) – figure ID. The default is 1.
**kwargs (dict) – Arbitrary keyword parameter list passed to Signal.plot.
- Return type:
None.
- transfer_impedance(omega, kx=0, ID=[1, 2])
Transferimpedance of perforateLayer
The transferimpedance is caluclated based on the lumped_acoustic model, because it is independent from the kx
- Parameters:
omega (float or ndarray) – scalar angular frequency
kx (float or ndarray, optional) – In-plane wavenumber. The default is 0.
ID (list of int, optional) – Left and right when overwritten, None takes object ID. The default is None.
- Returns:
[2 x 2] array of transferimpedance
- Return type: